cdcl based abstract state transition system for coherent
play

CDCL-based Abstract State Transition System for Coherent Logic - PowerPoint PPT Presentation

Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Related work Conclusions and further work CDCL-based Abstract State Transition System for Coherent Logic Mladen Nikoli c Predrag Jani ci c Faculty of


  1. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Related work Conclusions and further work CDCL-based Abstract State Transition System for Coherent Logic Mladen Nikoli´ c Predrag Janiˇ ci´ c Faculty of Mathematics University of Belgrade CICM 2012 Bremen, July 09-July 13, 2012. Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  2. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Related work Conclusions and further work Overview Coherent logic (CL) and our motivation The CDCL-based abstract transition system for CL Related work Conclusions and further work Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  3. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work What is Coherent Logic Coherent logic is a fragment of FOL with formulae of form: A 1 ( � x ) ∧ . . . ∧ A n ( � x ) ⇒ ∃ � y 1 B 1 ( � x ,� y 1 ) ∨ . . . ∨ ∃ � y m B m ( � x ,� y m ) A i are atoms, B i are conjunctions of atoms No function symbols of arity greater than 0 No negation Translation from FOL to CL The problem of deciding Γ ⊢ Φ is semi-decidable Intuitionistic logic First used by Skolem, recently popularized by Bezem et al. Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  4. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work Why is CL interesting? A number of theories and theorems can be formulated directly and simply in CL Example: large fraction of Euclidean geometry belongs to CL Example: for any two points there is a point between them Conjectures in abstract algebra, confluence theory, lattice theory, and many more (Bezem et al) Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  5. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work Good features of CL It is expressive It allows direct, readable and machine verifiable proofs a simple, natural proof system (natural deduction style), based on forward ground reasoning a conjecture is kept unchanged and proved directly (refutation, Skolemization and clausal form are not used) existential quantifiers are eliminated by introducing witnesses Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  6. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work CL provers Euclid by Stevan Kordi´ c and Predrag Janiˇ ci´ c (1992) CL prover by Marc Bezem and Coquand (2005) ML prover by Berghofer and Bezem (2006) Geo by Hans de Nivelle (2008) ArgoCLP by Sana Stojanovi´ c, Vesna Pavlovi´ c and Predrag Janiˇ ci´ c (2009) However, they are still not generally efficient Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  7. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work Example: Proof Generated by ArgoCLP Let us prove that p = r by reductio ad absurdum. 1. Assume that p � = r . 2. It holds that the point A is incident to the line q or the point A is not incident to the line q (by axiom of excluded middle). 3. Assume that the point A is incident to the line q . 4. From the facts that p � = q , and the point A is incident to the line p , and the point A is incident to the line q , it holds that the lines p and q intersect (by axiom ax D5). 5. From the facts that the lines p and q intersect, and the lines p and q do not intersect we get a contradiction. Contradiction. 6. Assume that the point A is not incident to the line q . 7. From the facts that the lines p and q do not intersect, it holds that the lines q and p do not intersect (by axiom ax nint l l 21). 8. From the facts that the point A is not incident to the line q , and the point A is incident to the plane α , and the line q is incident to the plane α , and the point A is incident to the line p , and the line p is incident to the plane α , and the lines q and p do not intersect, and the point A is incident to the line r , and the line r is incident to the plane α , and the lines q and r do not intersect, it holds that p = r (by axiom ax E2). 9. From the facts that p = r , and p � = r we get a contradiction. Contradiction. Therefore, it holds that p = r . This proves the conjecture. Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  8. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL What is Coherent Logic Related work On the Other Hand: CDCL Solvers Conclusions and further work On the Other Hand: CDCL Solvers SAT problem and SAT solvers SAT and SMT solvers are at rather mature stage The most efficient ones are CDCL solvers However, support for quantifiers depends on theory solvers (most theory solvers allow only quantifier free formulae) Producing readable and/or formal proofs is often challenging Goal: combine good features of CL and CDCL and build an efficient CDCL prover for CL Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  9. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Abstract State Transition Systems for SAT Related work Abstract State Transition Systems for CL Conclusions and further work Abstract State Transition Systems for SAT Inspiration and starting point: transition systems for SAT First system: Nieuwenhuis, Oliveras, and Tinelli (2006) We build upon: the system by Krsti´ c and Goel (2007) Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  10. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Abstract State Transition Systems for SAT Related work Abstract State Transition Systems for CL Conclusions and further work Krsti´ c and Goel’s System Decide: l ∈ L l , l / ∈ M M := M | l UnitPropag: l ∨ l 1 ∨ . . . ∨ l k ∈ F l 1 , . . . , l k ∈ M l , l / ∈ M M := M l i Conflict: C = no cflct l 1 ∨ . . . ∨ l k ∈ F l 1 , . . . , l k ∈ M C := { l 1 , . . . , l k } Explain: l ∈ C l ∨ l 1 ∨ . . . ∨ l k ∈ F l 1 , . . . , l k ≺ l C := C ∪ { l 1 , . . . , l k } \ { l } Learn: C = { l 1 , . . . , l k } l 1 ∨ . . . ∨ l k / ∈ F F := F ∪ { l 1 ∨ . . . ∨ l k } Backjump: C = { l , l 1 , . . . , l k } l ∨ l 1 ∨ . . . ∨ l k ∈ F level l > m ≥ level l i M := M m l i C := no cflct Forget: C = no cflct c ∈ F F \ c | = c F := F \ c Restart: C = no cflct M := M [0] Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  11. Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Abstract State Transition Systems for SAT Related work Abstract State Transition Systems for CL Conclusions and further work Setup x ( H 0 ( � x ) ⇒ G 0 ( � Signature: Σ; axioms: AX ; conjecture: ∀ � x )) H = H 0 ( � x ) λ , G = G 0 ( � x ) λ State: S (Σ , Γ , M , C 1 , C 2 , ℓ ) Initial state: S 0 (Σ 0 , AX , H , ∅ , ∅ , | Σ 0 | ) Accepting final state: a lemma is derived which implies the conjecture Rejecting final state: no rules are applicable Slightly extended CL language: ∀ � x p 1 ( � v ,� x ) ∧ . . . ∧∀ � x p n ( � v ,� x ) ⇒ ∃ � y q 1 ( � v ,� y ) ∨ . . . ∨∃ � y q m ( � v ,� y ) Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

  12. � � � Coherent Logic and Our Motivation The CDCL-based Abstract Transition System for CL Abstract State Transition Systems for SAT Related work Abstract State Transition Systems for CL Conclusions and further work CL state transition system (forward rules) Decide: l ∈ A (Σ) l ↑ l ↓ � M := M | l Σ := Σ | Intro: l λλ ′ ↑ � for any λ ′ ∃ � y l ∈ M ( ∃ � y l ) λ ∈ A (Σ) M := M � l [ y 1 �→ c ℓ +1 , . . . , y k �→ c ℓ + k ] λ Σ := Σ � c ℓ +1 , . . . , c ℓ + k ℓ := ℓ + k Unit propagate left: P ∪ { l } ⇒ Q ∈ n 1 Γ P ⇒ Q ↓ m m ( P ∪ Q ) ⊆ n 2 M l λ ↑ l λ ↓ � λ M := M � max( n 1 , n 2) l λ Unit propagate right: P ⇒ Q ∪ { l } ∈ n 1 Γ P ⇒ Q ↓ m m ( P ∪ Q ) n 2 ⊆ M l λ ↑ l λ ↓ � λ M := M � max( n 1 , n 2) l λ Branch end: C 2 = { no cflct } P ⇒ Q ∈ Γ P ⇒ Q ↓ C 1 := P C 2 := Q Mladen Nikoli´ c, Predrag Janiˇ ci´ c CDCL-based Abstract State Transition System for CL

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend