Motivation: Why SGGS? Model representation Inferences Refutational - - PowerPoint PPT Presentation

motivation why sggs model representation inferences
SMART_READER_LITE
LIVE PREVIEW

Motivation: Why SGGS? Model representation Inferences Refutational - - PowerPoint PPT Presentation

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion SGGS Theorem Proving: an Exposition 1 Maria Paola Bonacina Dipartimento di Informatica Universit` a degli Studi di Verona


slide-1
SLIDE 1

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

SGGS Theorem Proving: an Exposition1

Maria Paola Bonacina

Dipartimento di Informatica Universit` a degli Studi di Verona Verona, Italy, EU

4th Workshop on Practical Aspects of Automated Reasoning (PAAR), 23 July 2014 (Subsuming the talk at the Annual Meeting of the IFIP WG 1.6 on Term Rewriting, 13 July 2014) Satellite of the 7th Int. Joint Conf. on Automated Reasoning (IJCAR) 6th Federated Logic Conf. (FLoC), Vienna Summer of Logic (Extended version based also on talks at MPI Saarbr¨ ucken, June 2014, and U. Koblenz-Landau, Sept. 2014) 1Joint work with David A. Plaisted Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-2
SLIDE 2

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-3
SLIDE 3

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Motivation

A first-order theorem-proving method simultaneously ◮ DPLL-style model based ◮ Proof confluent ◮ Semantically guided ◮ Goal sensitive

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-4
SLIDE 4

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

DPLL-style model based

◮ Derivation state includes candidate (partial) model ◮ Inference and search (for model) guide each other (e.g., CDCL in DPLL) ◮ Inference as model transformation

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-5
SLIDE 5

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Proof confluent

◮ Confluence: diamond property: ւ ց ⇒ ց ւ ◮ Proof confluence: Committing to an inference never prevents proof ◮ No backtracking

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-6
SLIDE 6

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Semantically guided

◮ Semantic guidance by a given initial interpretation I ◮ In theory and manual examples: e.g., based on sign ◮ In practice: problems and knowledge bases may come with it ◮ SGGS: semantic guidance and model-based style connected; I as starting point and default

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-7
SLIDE 7

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Goal sensitive

◮ Notion of goal:

◮ H | =? ϕ ◮ H ∪ {¬ϕ} ⊢?⊥ ◮ H ∪ {¬ϕ} ❀ S set of clauses ◮ S = T ⊎ iSOS where H ❀ T, {¬ϕ} ❀ iSOS ◮ S = T ⊎ iSOS, iSOS input set of support

◮ Alternatively: S = T ⊎ iSOS with T consistent, iSOS = S \ T ◮ Generate only clauses connected with iSOS

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-8
SLIDE 8

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Motivation summary

◮ A first-order reasoning method with all these properties?! ◮ Yes!!! SGGS Semantically Guided Goal Sensitive reasoning

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-9
SLIDE 9

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Model Representation

Model representation from PL to FOL: ◮ DPLL: Trail of literals L1, . . . , Ln ◮ SGGS:

◮ Initial interpretation I ◮ Sequence of constrained clauses with selected literals Γ = A1 ✄ C1[L1], . . . , An ✄ Cn[Ln] ◮ That modify I

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-10
SLIDE 10

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example I: unit clauses

◮ I: all negative ◮ Sequence Γ: P(a, x), P(b, y), ¬P(z, z), P(u, v) ◮ Interpretation I[Γ]: I[Γ] | = P(a, t) for all ground terms t I[Γ] | = P(b, t) for all ground terms t I[Γ] | = P(t, t) for t other than a and b I[Γ] | = P(u, v) for all distinct ground terms u and v

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-11
SLIDE 11

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example II: non-unit clauses, selected literals

◮ I: all negative ◮ Sequence Γ: [P(x)], ¬P(f (y))∨[Q(y)], ¬P(f (z)) ∨ ¬Q(g(z))∨[R(f (z), g(z))] ◮ Interpretation I[Γ]: I[Γ] | = P(x) I[Γ] | = Q(y) I[Γ] | = R(f (z), g(z)) I[Γ] | = L for all other positive literals L

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-12
SLIDE 12

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

What does a constrained clause represent?

Its constrained ground instances (cgi’s)

  • r ground instances satisfying the constraints

Example: ◮ x ≡ y ✄ P(x, y) ◮ P(a, b) ∈ Gr(x ≡ y ✄ P(x, y)) ◮ P(b, b) ∈ Gr(x ≡ y ✄ P(x, y))

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-13
SLIDE 13

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Constraints

◮ Atomic constraint: true, x ≡ y, top(t) = f ◮ Constraint: atomic, ¬, , or of constraints ◮ Standard form: of x ≡ y, top(x) = f

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-14
SLIDE 14

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Literal selection

◮ Every literal in sequence is either I-true or I-false ◮ I-true: all cgi’s true in I ◮ I-false: all cgi’s false in I ◮ Literal tells truth value of all its cgi’s ◮ Prefer I-false literals for selection: If clause has I-false literals, one is selected ◮ I-true literal selected only if all literals I-true (I-all-true clause)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-15
SLIDE 15

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

SGGS clause sequence

◮ Initial interpretation I ◮ Sequence Γ = A1 ✄ C1[L1], . . . , An ✄ Cn[Ln]

◮ Every literal is either I-true or I-false ◮ Literal Li in Ci is selected ◮ If Ai ✄ Ci[Li] has I-false literals, one is selected Select I-false literals to modify I

◮ Empty sequence: ε

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-16
SLIDE 16

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Interpretation I[Γ] represented by clause sequence Γ

◮ Partial interpretation Ip(Γ|j) for prefix Γ|j ◮ For each clause Aj ✄ Cj[Lj] take its proper constrained ground instances (pcgi):

◮ Not satisfied by Ip(Γ|j−1) ◮ Satisfiable by adding the pcgi of Lj

◮ I[Γ]: complete Ip(Γ) by consulting I whenever Ip(Γ) does not determine truth value ◮ I[Γ] is I modified to satisfy the pcgi’s of the selected literals

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-17
SLIDE 17

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example

◮ I: all negative ◮ Sequence Γ: [P(x)], top(y) = g✄[Q(y)], z ≡ c✄[Q(g(z))] ◮ Interpretation I[Γ]: I[Γ] | = P(x) I[Γ] | = Q(t) for all ground terms t whose top symbol is not g I[Γ] | = Q(g(t)) for all ground terms t other than c I[Γ] | = L for all other positive literals L

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-18
SLIDE 18

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Induced partial interpretation I

◮ Defined inductively over length of clause sequence ◮ Each constrained clause in sequence may contribute ◮ Prefix of length j, 1 ≤ j ≤ n: Γ|j = A1 ✄ C1[L1], . . . , Aj ✄ Cj[Lj]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-19
SLIDE 19

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Proper constrained ground instances

◮ A ✄ C[L] ◮ Interpretation J ◮ Proper constrained ground instance (pcgi)

  • f A ✄ C[L] wrt J :

constrained ground instance C ′[L′]:

◮ Not satisfied: J ∩ C ′[L′] = ∅ ◮ Satisfiable by adding L′: ¬L′ ∈ J

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-20
SLIDE 20

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Induced partial interpretation II

◮ Initial interpretation I ◮ Sequence Γ = A1 ✄ C1[L1], . . . , An ✄ Cn[Ln] ◮ Induced partial interpretation Ip(Γ|j):

◮ j = 0: empty sequence: empty interpretation ◮ j > 0: Take pcgi’s of Aj ✄ Cj[Lj] wrt Ip(Γ|j−1) ◮ Take instances of Lj in those pcgi’s ◮ Add them to Ip(Γ|j−1) to build Ip(Γ|j)

◮ Each clause adds the pcgi’s of its selected literal

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-21
SLIDE 21

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Induced interpretation

◮ Initial interpretation I ◮ Sequence Γ = A1 ✄ C1[L1], . . . , An ✄ Cn[Ln] ◮ Induced interpretation I[Γ]: to determine whether I[Γ] | = L:

◮ Consult first Ip(Γ): atom of L in Ip(Γ): I[Γ] | = L iff L ∈ Ip(Γ) ◮ Otherwise use I: I[Γ] | = L iff I | = L

◮ I[Γ] is I modified to satisfy the pcgi’s of the Li’s

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-22
SLIDE 22

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

SGGS-Derivation

◮ Input set of clauses S ◮ Initial interpretation I ◮ Derivation Γ0 ⊢ Γ1 ⊢ . . . Γj ⊢ . . . ◮ Γ0 is empty, I[Γ0] is I ◮ Γj generated from Γj−1, S, and I by an SGGS inference rule ◮ Termination: either Γk contains empty clause (refutation)

  • r no rule applies

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-23
SLIDE 23

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Assignment function: intuition

◮ Propositional clauses: L and ¬L are complementary If L is true in the current model, ¬L is not: Boolean Constraint Propagation ◮ First-order constrained clauses: A✄[L] and B✄[M] have complementary cgi’s ◮ Semantic guidance: reasoning relative to I: L is I-true and M is I-false

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-24
SLIDE 24

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Assignment function: definition

◮ Every sequence Γ in derivation equipped with (a set of) assignment functions (one per clause) ◮ Maps I-true literal L not selected in Ai ✄ Ci[Li] to preceding clause Aj ✄ Cj[Lj] (j < i) with I-false selected literal ◮ All cgi’s of Ai✄L appear negated among pcgi’s of Aj✄Lj ◮ Ai ✄ Ci[Li] depends on Aj ✄ Cj[Lj]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-25
SLIDE 25

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Assignment function: model-based BCP ` a la DPLL

◮ Consider an I-all-true clause with selected literal not assigned: L1 ∨ . . . ∨ Lk−1∨[Lk] ◮ By the assignment, L1 . . . Lk−1 are all false in I[Γ] Thus Lk is implied (like an implied literal by BCP in DPLL)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-26
SLIDE 26

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Assignment function: conflict + explanation ` a la CDCL

◮ Consider an I-all-true clause with selected literal assigned: L1 ∨ . . . ∨ Lk−1∨[Lk] ◮ By the assignment, L1 . . . Lk−1[Lk] are all false in I[Γ] Thus we have a conflict (like in DPLL-CDCL) ◮ Explanation: by SGGS-resolution (coming soon)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-27
SLIDE 27

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Main inference mechanisms

  • 1. Instance generation: extend current candidate model
  • 2. Resolution: amend candidate model removing inconsistencies
  • r generate ⊥ if impossible
  • 3. Splitting inferences: amend candidate model pulling out

duplications

◮ Introduce constraints to capture different sets of ground instances

  • 4. Deletion of disposable clauses (model-based redundancy)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-28
SLIDE 28

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

SGGS-Extension

Γ ⊢ Γ′ ◮ Take input clause C and find instance E not satisfied by I[Γ] and such that all its literals are either I-true or I-false ◮ Find a place in Γ where E can be inserted so that the I-true literals can be assigned properly ◮ E satisfied by I[Γ′] ◮ Lifting Theorem: For all ground instance Cµ not satisfied by I[Γ], there is SGGS-extension of Γ into Γ′ so that Cµ satisfied by I[Γ′]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-29
SLIDE 29

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example of SGGS-Extension

◮ S contains {P(a), ¬P(x) ∨ Q(f (y)), ¬P(x) ∨ ¬Q(z)} ◮ I: all negative ◮ Γ: [P(a)], ¬P(a) ∨ [Q(f (y))] ◮ Instance ¬P(a) ∨ ¬Q(f (f (a))) of ¬P(x) ∨ ¬Q(z) false in I[Γ] ◮ SGGS-extension adds the I-all-true clause ¬P(a) ∨ ¬Q(f (w)) which has ¬P(a) ∨ ¬Q(f (f (a))) as ground instance ◮ Γ′: [P(a)], ¬P(a) ∨ [Q(f (y))], ¬P(a) ∨ ¬Q(f (w))

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-30
SLIDE 30

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Resolution

◮ Ground resolution: resolves literals that cannot be simultaneously true in any interpretation ◮ First-order resolution: resolves literals with ground instances that cannot be simultaneously true in any interpretation ◮ SGGS-resolution: Model-based resolution resolution in the current candidate model; amend candidate model removing inconsistencies or generate ⊥ if impossible

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-31
SLIDE 31

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

SGGS-Resolution

◮ Model-based: resolution in the current candidate model ◮ Resolves clauses B ✄ D[M] and A ✄ C[L] in the sequence, not in the input set ◮ Only selected literals are resolved upon ◮ One I-true and one I-false ◮ B ✄ D[M] is I-all-true and precedes A ✄ C[L] ◮ SGGS-resolution uses matching: L = ¬Mϑ and A ⊃ Bϑ ◮ Resolvent A✄[(C \ {L}) ∪ (D \ {M})ϑ] replaces A ✄ C[L]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-32
SLIDE 32

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Inside SGGS-Resolution

Theorem: Under the hypotheses of SGGS-resolution: ◮ A✄L has no pcgi’s ◮ The atoms of the cgi’s of A✄L that A ✄ C[L] would capture are covered by B ✄ D[M] ◮ A ✄ C[L] replaced by resolvent which captures the cgi’s of C \ {L}

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-33
SLIDE 33

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example of SGGS-Resolution

◮ I: all negative ◮ Γ ⊢ Γ′ ◮ Γ: [P(x)], [Q(y)], x ≡ c ✄ ¬P(f (x)) ∨ ¬Q(g(x)) ∨ [R(x)], [¬R(c)], ¬P(f (c)) ∨ ¬Q(g(c)) ∨ [R(c)] ◮ Γ′: [P(x)], [Q(y)], x ≡ c ✄ ¬P(f (x)) ∨ ¬Q(g(x)) ∨ [R(x)], [¬R(c)], ¬P(f (c)) ∨ [¬Q(g(c))]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-34
SLIDE 34

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Assignment function + SGGS-resolution: explanation

◮ Recall that an I-all-true clause with selected literal assigned is a conflict clause: L1 ∨ . . . ∨ Lk−1∨[Lk] ◮ It moves to the left of the clause C to which Lk was assigned (if assigned, a selected I-true literal is assigned rightmost, so that

the move does not affect the other assignments)

◮ Thus, Lk enters I[Γ]: model fixing ◮ Then it SGGS-resolves with following clause replacing it by SGGS-resolvent amending the model further

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-35
SLIDE 35

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Splitting inferences

◮ Amend candidate model pulling out duplications ◮ Replace a clause by its partition ◮ Partition of a clause: a set of clauses that capture the same cgi’s, and have disjoint selected literals ◮ Clause: true ✄P(x, y) (or simply P(x, y)) ◮ Partition: true ✄P(f (z), y), top(x) = f ✄P(x, y)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-36
SLIDE 36

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Partition: example

◮ Clause: true ✄ Q(x, y)∨[P(x, y)] ◮ Partition: true ✄ Q(f (z), y)∨[P(f (z), y)], top(x) = f ✄ Q(x, y)∨[P(x, y)] ◮ Not partition: true ✄ P(f (z), y)∨[Q(f (z), y)], top(x) = f ✄ P(x, y)∨[Q(x, y)]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-37
SLIDE 37

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Splitting inferences

◮ Γ = . . . B ✄ D[M], . . . A ✄ C[L], . . . ◮ L and M intersect ◮ Replace A ✄ C[L] by a splitting of A ✄ C[L] by B ✄ D[M]:

◮ Partition of A ✄ C[L], where all cgi’s of L that are also cgi’s of M are isolated in one clause

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-38
SLIDE 38

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Splitting: examples

◮ Splitting of C = true ✄ P(x, y) by D = true ✄ P(f (w), g(z)): ◮ true ✄ P(f (w), g(z)), top(x) = f ✄ P(x, y), top(y) = g ✄ P(f (x), y) ◮ Not splitting: true ✄ P(f (w), g(z)), top(x) = f ✄ P(x, y), top(y) = g ✄ P(x, y)

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-39
SLIDE 39

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Example of splitting inference

◮ Γ ⊢ Γ′ ◮ Γ: [P(x)], [Q(y)], x ≡ c ✄ ¬P(f (x)) ∨ ¬Q(g(x)) ∨ [R(x)], [¬R(c)], ¬P(f (c)) ∨ [¬Q(g(c))] ◮ Γ′: [P(x)], top(y) = g✄[Q(y)], z ≡ c✄[Q(g(z))], [Q(g(c))], x ≡ c ✄ ¬P(f (x)) ∨ ¬Q(g(x)) ∨ [R(x)], [¬R(c)], ¬P(f (c)) ∨ [¬Q(g(c))]

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-40
SLIDE 40

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Deletion of disposable clauses (model-based redundancy)

◮ pcgi’s: cgi’s of selected literal that can be added to current candidate model ◮ ccgi’s: cgi’s of selected literal that contradict current candidate model:

◮ cgi of clause not satisfied by induced partial interpretation ◮ cgi of selected literal appears negated in induced partial interpretation

◮ A clause with neither is useless for model search, and therefore disposable, because all its cgi’s are true in I[Γ] ◮ When deleted, all clauses depending on it also deleted

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-41
SLIDE 41

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Inference control

◮ Bundled derivations: all inferences are bundled ◮ Bundled inferences: macro-inferences, e.g.: an SGGS-extension followed by a series of SGGS-resolutions until an I-all-true resolvent is generated ◮ Recall that an I-all-true clause gives us either a lemma (implied literal) or a conflict

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-42
SLIDE 42

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Refutational completeness

◮ S: input set of clauses ◮ S unsatisfiable: any fair SGGS-derivation terminates with refutation ◮ S satisfiable: derivation may be infinite; its limiting sequence represents model

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-43
SLIDE 43

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Proof of refutational completeness: building blocks

◮ A convergence ordering >c on clause sequences: ensures that there is no infinite descending chain of sequences of bounded length ◮ A notion of fairness for SGGS-derivations: ensures that the procedure does not get stuck working on longer prefixes when shorter ones can be reduced ◮ A notion of limiting sequence for SGGS-derivations: every prefix stabilizes eventually

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-44
SLIDE 44

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Convergence ordering I

◮ Quasi-orderings ≥i and equivalence relations ≈i on clause sequences of length up to i ◮ Convergence ordering >c: lexicographic combination of >i’s

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-45
SLIDE 45

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Convergence ordering II

Theorem: >i is well-founded on clause sequences of length at least i Theorem: Descending chain Γ1 >c Γ2 >c . . . Γj >c Γj+1 >c . . .

  • f sequences of bounded length (for all j, |Γj| ≤ n) is finite

No infinite descending chain of sequences of bounded length

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-46
SLIDE 46

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Fairness I

◮ Index of inference Γ ⊢ Γ′: the shortest prefix that gets reduced the smallest i such that Γ|i >c Γ′|i ◮ Index(Γ): minimum index of any inference applicable to Γ

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-47
SLIDE 47

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Fairness II

Fair derivation Γ0 ⊢ Γ1 ⊢ . . . Γj ⊢ . . .: ∀i, i > 0, if for infinitely many Γj’s index(Γj) ≤ i for infinitely many Γj’s the applied inference has index ≤ i Derivation does not get stuck working on longer prefixes when shorter ones can be reduced

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-48
SLIDE 48

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Limiting sequence

◮ Derivation Γ0 ⊢ Γ1 ⊢ . . . ⊢ Γj ⊢ . . . admits limit if there exists a Γ (limit) such that for all lengths i, i ≤ |Γ| there is an integer ni such that for all indices j ≥ ni in the derivation if |Γj| ≥ i then Γj|i ≈ Γ|i ◮ Every prefix stabilizes eventually ◮ The longest such sequence Γ∞ is the limiting sequence ◮ Both derivation and Γ∞ may be finite or infinite

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-49
SLIDE 49

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Convergence and decreasingness theorems

◮ Convergence theorem: A derivation that is a non-ascending chain admits limiting sequence ◮ Decreasingness theorem: A bundled derivation forms a non-ascending chain

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-50
SLIDE 50

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Convergence theorem

Theorem: ◮ Derivation Γ0 ⊢ Γ1 ⊢ . . . Γj ⊢ . . . ◮ ∀j ≥ 1, Γj ≥c Γj+1 derivation is non-ascending chain Then: ◮ Derivation admits limit Γ∞ ◮ If Γ∞ is finite, at most finitely many of the ≥c are strict

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-51
SLIDE 51

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Completeness theorem

Theorem: For all initial interpretations I and sets S of first-order clauses, if S is unsatisfiable, any fair bundled SGGS-derivation is a refutation Idea of proof: If not, infinitely many irredundant SGGS-extensions apply; infinite derivation with infinite limiting sequence, that gets reduced in a finite prefix that had already converged: contradiction

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-52
SLIDE 52

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Goal sensitivity I

◮ I | = T and I | = iSOS ◮ Two ground clauses connected: complementary literals ◮ Goal-relevant clauses: closure of the set of ground instances

  • f clauses in iSOS wrt connection and resolution

◮ Γ is goal-relevant if all ground instances of all its clauses are

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-53
SLIDE 53

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Goal sensitivity II

Theorem: SGGS only generates goal-relevant clause sequences Idea of proof: use assignments of I-true literals to I-false ones to connect literals

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-54
SLIDE 54

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Summary

SGGS is simultaneously ◮ First order ◮ DPLL-style model based ◮ Proof confluent ◮ Semantically guided ◮ Refutationally complete ◮ Goal sensitive

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-55
SLIDE 55

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

Future work

◮ SGGS as an abstract transition system ◮ Practical inference control (e.g., partitioning inferences) ◮ Implementation ◮ Non-trivial initial interpretations ◮ SGGS for model building and decision procedures ◮ Extension to equality and theory reasoning Towards a semantically-oriented style of theorem proving which may pay off for hard problems or new domains

Maria Paola Bonacina SGGS Theorem Proving: an Exposition

slide-56
SLIDE 56

Outline Motivation: Why SGGS? Model representation Inferences Refutational Completeness Goal Sensitivity Discussion

References

◮ SGGS theorem proving: an exposition. 4th Workshop on Practical Aspects in Automated Reasoning (PAAR), Vienna, July 2014. ◮ Constraint manipulation in SGGS. 28th Workshop on Unification (UNIF), Vienna, July 2014. ◮ Model representation by SGGS clause sequences. Submitted, 1–24. ◮ Semantically-guided goal-sensitive theorem proving. Technical Report 92/2014, Dipartimento di Informatica, Universit` a degli Studi di Verona, January 2014, revised July 2014, 1–58.

Maria Paola Bonacina SGGS Theorem Proving: an Exposition