Effective interpol a tion for gu a rded logi c s Micha el B enedikt 1 - - PowerPoint PPT Presentation

effective interpol a tion for gu a rded logi c s
SMART_READER_LITE
LIVE PREVIEW

Effective interpol a tion for gu a rded logi c s Micha el B enedikt 1 - - PowerPoint PPT Presentation

Effective interpol a tion for gu a rded logi c s Micha el B enedikt 1 , Ba lder ten Ca te 2 , M i c h a el Va nden B oom 1 1 U ni v ersit y of Ox ford 2 L ogi cB lo x a nd UC Sa nt a C r uz L og IC S emin a r a t I mperi a l C ollege L ondon D e c


slide-1
SLIDE 1

Effective interpolation for guarded logics

Michael Benedikt1, Balder ten Cate2, Michael Vanden Boom1

1University of Oxford 2LogicBlox and UC Santa Cruz

LogIC Seminar at Imperial College London December 2014

1 / 20

slide-2
SLIDE 2

Some decidable fragments of first-order logic

FO

ML ML finite model property ✓ tree-like model property ✓ Craig interpolation ✓

2 / 20

slide-3
SLIDE 3

Some decidable fragments of first-order logic

FO

ML FO2 constrain number of variables ML FO2 finite model property ✓ ✓ tree-like model property ✓ ✗ Craig interpolation ✓ ✗

2 / 20

slide-4
SLIDE 4

Some decidable fragments of first-order logic

FO

ML FO2 GF constrain number of variables constrain quantification

[Andr´ eka, van Benthem, N´ emeti ’95-’98]

∃x (G(xy) ∧ ψ(xy)) ∀x (G(xy) → ψ(xy))

ML FO2 GF finite model property ✓ ✓ ✓ tree-like model property ✓ ✗ ✓ Craig interpolation ✓ ✗ ✗

2 / 20

slide-5
SLIDE 5

Some decidable fragments of first-order logic

FO

ML FO2 GF UNF constrain number of variables constrain quantification

[Andr´ eka, van Benthem, N´ emeti ’95-’98]

∃x (G(xy) ∧ ψ(xy)) ∀x (G(xy) → ψ(xy))

constrain negation

∃x (ψ(xy)) ¬ψ(x)

[ten Cate, Segoufin ’11]

ML FO2 GF UNF finite model property ✓ ✓ ✓ ✓ tree-like model property ✓ ✗ ✓ ✓ Craig interpolation ✓ ✗ ✗ ✓

2 / 20

slide-6
SLIDE 6

Some decidable fragments of first-order logic

FO

ML FO2 GF UNF GNF constrain number of variables constrain quantification

[Andr´ eka, van Benthem, N´ emeti ’95-’98]

∃x (G(xy) ∧ ψ(xy)) ∀x (G(xy) → ψ(xy))

constrain negation

∃x (ψ(xy)) G(xy) ∧ ¬ψ(xy)

[ten Cate, Segoufin ’11] [B´ ar´ any, ten Cate, Segoufin ’11]

ML FO2 GF UNF GNF finite model property ✓ ✓ ✓ ✓ ✓ tree-like model property ✓ ✗ ✓ ✓ ✓ Craig interpolation ✓ ✗ ✗ ✓ ✓

2 / 20

slide-7
SLIDE 7

Interpolation

φ ⊧ ψ

3 / 20

slide-8
SLIDE 8

Interpolation

φ ⊧ χ ⊧ ψ

  • nly uses

relations in both φ and ψ

interpolant

3 / 20

slide-9
SLIDE 9

Interpolation example

∃xyz(Txyz ∧ Rxy ∧ Ryz ∧ Rzx) ⊧ ∃xy(Rxy ∧ ((Sx ∧ Sy) ∨ (¬Sx ∧ ¬Sy))) “there is a T-guarded 3-cycle using R”

4 / 20

slide-10
SLIDE 10

Interpolation example

∃xyz(Txyz ∧ Rxy ∧ Ryz ∧ Rzx) ⊧ ∃xy(Rxy ∧ ((Sx ∧ Sy) ∨ (¬Sx ∧ ¬Sy))) “there is a T-guarded 3-cycle using R”

a b c

4 / 20

slide-11
SLIDE 11

Interpolation example

∃xyz(Txyz ∧ Rxy ∧ Ryz ∧ Rzx) ⊧ ∃xy(Rxy ∧ ((Sx ∧ Sy) ∨ (¬Sx ∧ ¬Sy))) “there is a T-guarded 3-cycle using R”

a b c

4 / 20

slide-12
SLIDE 12

Interpolation example

∃xyz(Txyz ∧ Rxy ∧ Ryz ∧ Rzx) ⊧ ∃xy(Rxy ∧ ((Sx ∧ Sy) ∨ (¬Sx ∧ ¬Sy))) “there is a T-guarded 3-cycle using R”

a b c interpolant χ ∶= ∃xyz(Rxy ∧ Ryz ∧ Rzx)

“there is a 3-cycle using R”

4 / 20

slide-13
SLIDE 13

Interpolation example

∃xyz(Txyz ∧ Rxy ∧ Ryz ∧ Rzx) ⊧ ∃xy(Rxy ∧ ((Sx ∧ Sy) ∨ (¬Sx ∧ ¬Sy))) “there is a T-guarded 3-cycle using R”

a b c GNF interpolant χ ∶= ∃xyz(Rxy ∧ Ryz ∧ Rzx)

“there is a 3-cycle using R”

4 / 20

slide-14
SLIDE 14

Interpolation

φ ⊧ χ ⊧ ψ

  • nly uses

relations in both φ and ψ

interpolant

Theorem (B´ ar´ any+Benedikt+ten Cate ’13) Given GNF formulas φ and ψ such that φ ⊧ ψ, there is a GNF interpolant χ (but model theoretic proof implies no bound on size of χ).

5 / 20

slide-15
SLIDE 15

Interpolation

φ ⊧ χ ⊧ ψ

  • nly uses

relations in both φ and ψ

interpolant

Theorem (B´ ar´ any+Benedikt+ten Cate ’13) Given GNF formulas φ and ψ such that φ ⊧ ψ, there is a GNF interpolant χ (but model theoretic proof implies no bound on size of χ). Even when input is in GF, no idea how to compute interpolants (or other rewritings related to interpolation).

5 / 20

slide-16
SLIDE 16

Interpolation

φ ⊧ χ ⊧ ψ

  • nly uses

relations in both φ and ψ

interpolant

Theorem (B´ ar´ any+Benedikt+ten Cate ’13) Given GNF formulas φ and ψ such that φ ⊧ ψ, there is a GNF interpolant χ (but model theoretic proof implies no bound on size of χ). Theorem (Benedikt+ten Cate+VB. ’14) Given GNF formulas φ and ψ such that φ ⊧ ψ, we can construct a GNF interpolant χ of doubly exponential DAG-size (in size of input).

5 / 20

slide-17
SLIDE 17

Mosaics

A mosaic τ(a) for φ is a collection of subformulas of φ

  • ver some guarded set a of parameters.

τ1(ab)

Raa ¬Sa ∃z(Rbz ∧ Sz) Sb Rba ⋯

τ2(bc)

Sb ¬Rbb Rbc ∧ Sc Rcb Sc ⋯

τ3(d)

Sd ¬Sd ∃yz(Ryz ∧ Sz) ∀z(Rdz) Rdd ∨ Sd ⋯

6 / 20

slide-18
SLIDE 18

Mosaics

A mosaic τ(a) for φ is a collection of subformulas of φ

  • ver some guarded set a of parameters.

τ1(ab)

Raa ¬Sa ∃z(Rbz ∧ Sz) Sb Rba ⋯

τ2(bc)

Sb ¬Rbb Rbc ∧ Sc Rcb Sc ⋯

τ3(d)

Internally inconsistent

(e.g. S d & ¬S d)

6 / 20

slide-19
SLIDE 19

Mosaics

A mosaic τ(a) for φ is a collection of subformulas of φ

  • ver some guarded set a of parameters.

τ1(ab) a b τ2(bc) b c τ3(d)

Internally inconsistent

(e.g. S d & ¬S d)

Internally consistent mosaics are windows into a (guarded) piece of a structure.

6 / 20

slide-20
SLIDE 20

Linking mosaics

Mosaics can be linked together to fulfill an existential requirement if they agree on all formulas that use only shared parameters. τ1 a b

∃z(R bz ∧ Sz)

7 / 20

slide-21
SLIDE 21

Linking mosaics

Mosaics can be linked together to fulfill an existential requirement if they agree on all formulas that use only shared parameters. τ1 a b

∃z(R bz ∧ Sz)

τ2 b c

7 / 20

slide-22
SLIDE 22

Linking mosaics

Mosaics can be linked together to fulfill an existential requirement if they agree on all formulas that use only shared parameters. τ1 a b

∃z(R bz ∧ Sz)

τ2 b c We say a set S of mosaics is saturated if every existential requirement in a mosaic τ ∈ S is fulfilled in τ or in some linked τ′ ∈ S.

7 / 20

slide-23
SLIDE 23

Mosaics

Fix some set P of size 2 ⋅ width(φ) and let Mφ be the set of mosaics for φ

  • ver parameters P. The size of Mφ is doubly exponential in the size of φ.

Theorem φ is satisfiable iff there is a saturated set S of internally consistent mosaics from Mφ that contains some τ with φ ∈ τ.

8 / 20

slide-24
SLIDE 24

Mosaics

Fix some set P of size 2 ⋅ width(φ) and let Mφ be the set of mosaics for φ

  • ver parameters P. The size of Mφ is doubly exponential in the size of φ.

Theorem φ is satisfiable iff there is a saturated set S of internally consistent mosaics from Mφ that contains some τ with φ ∈ τ.

τ4 τ3 τ2 τ1

S = , , , } {

τ3

8 / 20

slide-25
SLIDE 25

Mosaics

Fix some set P of size 2 ⋅ width(φ) and let Mφ be the set of mosaics for φ

  • ver parameters P. The size of Mφ is doubly exponential in the size of φ.

Theorem φ is satisfiable iff there is a saturated set S of internally consistent mosaics from Mφ that contains some τ with φ ∈ τ.

τ4 τ3 τ2 τ1

S = , , , } {

τ3 τ4

8 / 20

slide-26
SLIDE 26

Mosaics

Fix some set P of size 2 ⋅ width(φ) and let Mφ be the set of mosaics for φ

  • ver parameters P. The size of Mφ is doubly exponential in the size of φ.

Theorem φ is satisfiable iff there is a saturated set S of internally consistent mosaics from Mφ that contains some τ with φ ∈ τ.

τ4 τ3 τ2 τ1

S = , , , } {

τ3 τ4 τ1

8 / 20

slide-27
SLIDE 27

Mosaics

Fix some set P of size 2 ⋅ width(φ) and let Mφ be the set of mosaics for φ

  • ver parameters P. The size of Mφ is doubly exponential in the size of φ.

Theorem φ is satisfiable iff there is a saturated set S of internally consistent mosaics from Mφ that contains some τ with φ ∈ τ.

τ4 τ3 τ2 τ1

S = , , , } {

τ3 τ4 τ1 τ2

8 / 20

slide-28
SLIDE 28

Mosaic elimination algorithm for satisfiability testing

τ1 τ2 τ3 τ5 τ4 τ6 τ7

9 / 20

slide-29
SLIDE 29

Mosaic elimination algorithm for satisfiability testing

Stage 1. Eliminate mosaics with internal inconsistencies. τ1 τ2 τ3 τ5 τ4 τ6 τ7

9 / 20

slide-30
SLIDE 30

Mosaic elimination algorithm for satisfiability testing

Stage 1. Eliminate mosaics with internal inconsistencies. Stage i + 1. Eliminate mosaics with existential requirements that can only be fulfilled using mosaics eliminated in earlier stages. τ1 τ2 τ3 τ5 τ4 τ6 τ7

9 / 20

slide-31
SLIDE 31

Mosaic elimination algorithm for satisfiability testing

Stage 1. Eliminate mosaics with internal inconsistencies. Stage i + 1. Eliminate mosaics with existential requirements that can only be fulfilled using mosaics eliminated in earlier stages. Continue until fixpoint M ′ reached. The set M ′ is a saturated set of internally consistent mosaics. τ1 τ2 τ3 τ5 τ4 τ6 τ7

Theorem φ is satisfiable iff there is some mosaic τ ∈ M ′ with φ ∈ τ.

9 / 20

slide-32
SLIDE 32

Mosaics for interpolation

Assume φL ⊧ φR. Idea: Construct interpolant from proof that φL ∧ ¬φR is unsatisfiable.

10 / 20

slide-33
SLIDE 33

Mosaics for interpolation

Assume φL ⊧ φR. Idea: Construct interpolant from proof that φL ∧ ¬φR is unsatisfiable. Consider mosaics for φL ∧ ¬φR. Annotate each mosaic and each formula with a provenance L or R. L ∶ τ1(ab)

L ∶ Raa R ∶ ¬Sa R ∶ ∃z(Rbz ∧ Sz) R ∶ ¬Rbb L ∶ Sb R ∶ Rba . . .

R ∶ τ2(bc)

L ∶ Sb R ∶ ¬Rbb R ∶ Rbc ∧ Sc R ∶ Rbc L ∶ Rcb R ∶ ∃z(Rbz ∧ Sz) R ∶ Sc . . .

L ∶ τ3(d)

L ∶ Sd R ∶ ¬Sd R ∶ Rdd ∧ Sd R ∶ ∃yz(Ryz ∧ Sz) L ∶ ∀z(Rdz) L ∶ Rdd ∨ Sd . . .

Linking must respect the provenance annotations.

10 / 20

slide-34
SLIDE 34

Mosaics for interpolation

Assume φL ⊧ φR. Test satisfiability of φL ∧ ¬φR using mosaic elimination. τ1 τ2 τ3 τ5 τ4 τ6 τ7

MφL∧¬φR

11 / 20

slide-35
SLIDE 35

Mosaics for interpolation

Assume φL ⊧ φR. Test satisfiability of φL ∧ ¬φR using mosaic elimination. Assign a mosaic interpolant θτ to each eliminated mosaic τ such that τL ⊧ θτ and θτ ⊧ ¬τR. Mosaic interpolants θτ describe why the mosaic τ was eliminated. τ1 τ2 τ3 τ5 τ4 τ6 τ7

MφL∧¬φR

θ5 θ7

11 / 20

slide-36
SLIDE 36

Mosaics for interpolation

Assume φL ⊧ φR. Test satisfiability of φL ∧ ¬φR using mosaic elimination. Assign a mosaic interpolant θτ to each eliminated mosaic τ such that τL ⊧ θτ and θτ ⊧ ¬τR. Mosaic interpolants θτ describe why the mosaic τ was eliminated. τ1 τ2 τ3 τ5 τ4 τ6 τ7

MφL∧¬φR

θ5 θ7

11 / 20

slide-37
SLIDE 37

Mosaics for interpolation

Assume φL ⊧ φR. Test satisfiability of φL ∧ ¬φR using mosaic elimination. Assign a mosaic interpolant θτ to each eliminated mosaic τ such that τL ⊧ θτ and θτ ⊧ ¬τR. Mosaic interpolants θτ describe why the mosaic τ was eliminated. τ1 τ2 τ3 τ5 τ4 τ6 τ7

MφL∧¬φR

θ5 θ6 θ7

11 / 20

slide-38
SLIDE 38

Mosaics for interpolation

Assume φL ⊧ φR. Test satisfiability of φL ∧ ¬φR using mosaic elimination. Assign a mosaic interpolant θτ to each eliminated mosaic τ such that τL ⊧ θτ and θτ ⊧ ¬τR. Mosaic interpolants θτ describe why the mosaic τ was eliminated. τ1 τ2 τ3 τ5 τ4 τ6 τ7

MφL∧¬φR

θ5 θ6 θ7 Theorem An interpolant χ for φL ⊧ φR of at most doubly exponential DAG-size can be constructed from the mosaic interpolants.

11 / 20

slide-39
SLIDE 39

Shape of interpolants

Mosaic interpolants θτ satisfy τL ⊧ θτ and θτ ⊧ ¬τR. They describe why the mosaic τ was eliminated. Stage 1: L ∶ Rab L ∶ ¬Rab ⇒ θτ ∶= ⊥ Internal R ∶ Rab R ∶ ¬Rab ⇒ θτ ∶= ⊤ inconsistency L ∶ Rab R ∶ ¬Rab ⇒ θτ ∶= Rab R ∶ Rab L ∶ ¬Rab ⇒ θτ ∶= ¬Rab

12 / 20

slide-40
SLIDE 40

Shape of interpolants

Mosaic interpolants θτ satisfy τL ⊧ θτ and θτ ⊧ ¬τR. They describe why the mosaic τ was eliminated. Stage 1: L ∶ Rab L ∶ ¬Rab ⇒ θτ ∶= ⊥ Internal R ∶ Rab R ∶ ¬Rab ⇒ θτ ∶= ⊤ inconsistency L ∶ Rab R ∶ ¬Rab ⇒ θτ ∶= Rab R ∶ Rab L ∶ ¬Rab ⇒ θτ ∶= ¬Rab Stage i + 1: Unfulfilled L ∶ ∃z [G(bz) ∧ ψ(bz)] ⇒ θτ ∶= ⋁

τ′(bc)

∃z [ ⋀

τ′′⊇τ′

θτ′′(bz)] “there is a mosaic τ′ that can be linked to τ to fulfil the requirement, but no matter what R-formulas are added, the resulting mosaic τ′′ has already been eliminated”

12 / 20

slide-41
SLIDE 41

Mosaics for interpolation

Challenge: ensure interpolant χ is in GNF

13 / 20

slide-42
SLIDE 42

Mosaics for interpolation

Challenge: ensure interpolant χ is in GNF Solution: place further restrictions on the formulas in the mosaics

13 / 20

slide-43
SLIDE 43

Mosaics for interpolation

Challenge: ensure interpolant χ is in GNF Solution: place further restrictions on the formulas in the mosaics Idea: in an L-mosaic, only allow R-formulas that are guarded by some L-atom in the common signature. L ∶ τ

full info about L-formulas partial info about R-formulas

R ∶ τ′

full info about R-formulas partial info about L-formulas

This makes it harder to prove completeness of mosaic method, but makes it easier to prove properties about the mosaic interpolants.

13 / 20

slide-44
SLIDE 44

Stronger interpolation theorems for GNF

Lyndon interpolation: χ respects polarity of relations A relation R occurs positively (respectively, negatively) in χ iff R occurs positively (respectively, negatively) in both φL and φR. Relativized interpolation: χ respects quantification pattern If the quantification in φL and φR is relativized to a distinguished set of unary predicates U, then χ is U-relativized. i.e. quantification is of the form ∃x (Ux ∧ ψ(xy)) for U ∈ U

14 / 20

slide-45
SLIDE 45

Bonus: effective preservation theorems

φ is preserved under extensions if A ⊧ φ and A ⊆ B implies B ⊧ φ. φ is in existential GNF if no quantifier is in the scope of a negation. Corollary (Analog of Lo´ s-Tarski) If φ is preserved under extensions and in GNF, then we can construct an equivalent existential GNF formula φ′ of doubly exponential DAG-size.

15 / 20

slide-46
SLIDE 46

Some decidable fragments of FO

FO

ML FO2 GF UNF GNF ML FO2 GF UNF GNF finite model property ✓ ✓ ✓ ✓ ✓ tree-like model property ✓ ✗ ✓ ✓ ✓ Craig interpolation ✓ ✗ ✗ ✓ ✓

16 / 20

slide-47
SLIDE 47

Some decidable fragments of FO+LFP

FO + LFP

Lµ GFP GNFP UNFP Lµ GFP UNFP GNFP finite model property ✓ ✗ ✗ ✗ tree-like model property ✓ ✓ ✓ ✓ Craig interpolation ✓ ? ? ?

17 / 20

slide-48
SLIDE 48

Some decidable fragments of FO+LFP

FO + LFP

Lµ GFP GNFP UNFP Lµ GFP UNFP GNFP finite model property ✓ ✗ ✗ ✗ tree-like model property ✓ ✓ ✓ ✓ Craig interpolation ✓ ✗ ? ✗

17 / 20

slide-49
SLIDE 49

Some decidable fragments of FO+LFP

FO + LFP

Lµ GFP GNFP UNFP Lµ GFP UNFP GNFP finite model property ✓ ✗ ✗ ✗ tree-like model property ✓ ✓ ✓ ✓ Craig interpolation ✓ ✗ ✓ ✗

17 / 20

slide-50
SLIDE 50

Uniform interpolation

The modal mu-calculus (Lµ) has uniform interpolation [D’Agostino+Hollenberg ’00]... Uniform interpolation: χ depends only on antecedent and the signature of the consequent Given φL and a sub-signature σ, there is an interpolant χ over σ such that for all φR with φL ⊧ φR and common signature σ, φL ⊧ χ and χ ⊧ φR

18 / 20

slide-51
SLIDE 51

Uniform interpolation for UNFPk

Let UNFPk denote the k-variable fragment of UNFP (when written in a normal form...) Theorem (Benedikt+ten Cate+VB. unpublished) UNFPk has effective uniform interpolation. UNFP has Craig interpolation.

19 / 20

slide-52
SLIDE 52

Uniform interpolation for UNFPk

Let UNFPk denote the k-variable fragment of UNFP (when written in a normal form...) Theorem (Benedikt+ten Cate+VB. unpublished) UNFPk has effective uniform interpolation. UNFP has Craig interpolation.

Relational structures Coded structures (tree decompositions of width k)

UNFPk φ Lµ ̂ φ

19 / 20

slide-53
SLIDE 53

Uniform interpolation for UNFPk

Let UNFPk denote the k-variable fragment of UNFP (when written in a normal form...) Theorem (Benedikt+ten Cate+VB. unpublished) UNFPk has effective uniform interpolation. UNFP has Craig interpolation.

Relational structures Coded structures (tree decompositions of width k)

UNFPk φ Lµ ̂ φ Lµ ̂ χ

  • ver subsignature

encoding

[D’Agostino+Hollenberg’00]

19 / 20

slide-54
SLIDE 54

Uniform interpolation for UNFPk

Let UNFPk denote the k-variable fragment of UNFP (when written in a normal form...) Theorem (Benedikt+ten Cate+VB. unpublished) UNFPk has effective uniform interpolation. UNFP has Craig interpolation.

Relational structures Coded structures (tree decompositions of width k)

UNFPk φ Lµ ̂ φ Lµ ̂ χ

  • ver subsignature

encoding

UNFPk χ

  • ver subsignature

[D’Agostino+Hollenberg’00]

19 / 20

slide-55
SLIDE 55

Summary

Guarded logics have attractive computational and model-theoretic properties, including interpolation.

ML GF UNF GNF Craig interpolation ✓ ✗ ✓ ✓ adapted mosaic method from ML

[Benedikt,ten Cate,VB.’14]

20 / 20

slide-56
SLIDE 56

Summary

Guarded logics have attractive computational and model-theoretic properties, including interpolation.

ML GF UNF GNF Lµ GFP UNFP GNFP Craig interpolation ✓ ✗ ✓ ✓ ✓ ✗

✓ ✗

adapted mosaic method from ML

[Benedikt,ten Cate,VB.’14]

20 / 20

slide-57
SLIDE 57

Summary

Guarded logics have attractive computational and model-theoretic properties, including interpolation.

ML GF UNF GNF Lµ GFP UNFP GNFP Craig interpolation ✓ ✗ ✓ ✓ ✓ ✗

✓ ✗

adapted mosaic method from ML

[Benedikt,ten Cate,VB.’14]

used uniform interpolation for Lµ

[Benedikt,ten Cate,VB. unpublished]

20 / 20

slide-58
SLIDE 58

Effective preservation theorems

φ is monotone if A ⊧ φ implies that A′ ⊧ φ for any A′ obtained from A by adding tuples to the interpretation of some relation. φ is positive if every relation appears within the scope of an even number

  • f negations.

Corollary (Monotone = Positive) If φ is monotone and in GNF, then we can construct an equivalent positive GNF formula φ′ of doubly exponential DAG-size.

slide-59
SLIDE 59

Effective preservation theorems

φ is monotone if A ⊧ φ implies that A′ ⊧ φ for any A′ obtained from A by adding tuples to the interpretation of some relation. φ is positive if every relation appears within the scope of an even number

  • f negations.

Corollary (Monotone = Positive) If φ is monotone and in GNF, then we can construct an equivalent positive GNF formula φ′ of doubly exponential DAG-size. Let φi be the result of replacing every relation R with a copy Ri. The Lyndon interpolant χ for ⋀

R

¬∃y (R1y ∧ ¬R2y) ∧ φ1 ⊧ φ2 can only use relations of the form R2, and these must all be positive. Replacing every R2 with R in χ yields positive φ′ equivalent to φ.

slide-60
SLIDE 60

Lo´ s-Tarski preservation theorem

φ is preserved under extensions if A ⊧ φ and A ⊆ B implies B ⊧ φ. φ is in existential GNF if no quantifier is in the scope of a negation. Corollary (Analog of Lo´ s-Tarski) If φ is preserved under extensions and in GNF, then we can construct an equivalent existential GNF formula φ′ of doubly exponential DAG-size.

slide-61
SLIDE 61

Lo´ s-Tarski preservation theorem

φ is preserved under extensions if A ⊧ φ and A ⊆ B implies B ⊧ φ. φ is in existential GNF if no quantifier is in the scope of a negation. Corollary (Analog of Lo´ s-Tarski) If φ is preserved under extensions and in GNF, then we can construct an equivalent existential GNF formula φ′ of doubly exponential DAG-size. Let U ∶= {U1, U2} be a set of fresh unary predicates. Let φi be the result of relativizing every quantification to Ui. The relativized Lyndon interpolant χ for ¬∃y (U1y ∧ ¬U2y) ∧ φ1 ⊧ φ2 is an existential GNF formula. Replacing every U2z in χ with ⊤ yields the desired existential GNF φ′.