Encoding Zenon Modulo in Dedukti
Olivier Hermant
CRI, MINES ParisTech and Inria
May 26, 2014 2nd KWARC-Deducteam workshop, Bremen
- O. Hermant (Mines & Inria)
Zenon in Dedukti May 26, 2014 1 / 24
Encoding Zenon Modulo in Dedukti Olivier Hermant CRI, MINES - - PowerPoint PPT Presentation
Encoding Zenon Modulo in Dedukti Olivier Hermant CRI, MINES ParisTech and Inria May 26, 2014 2nd KWARC-Deducteam workshop, Bremen O. Hermant (Mines & Inria) Zenon in Dedukti May 26, 2014 1 / 24 Double-Negation Translations
Zenon in Dedukti May 26, 2014 1 / 24
◮ a shallow way to encode classical logic into intuitionistic ◮ Zenon modulo’s backend for Dedukti ◮ existing translations: Kolmogorov’s (1925), Gentzen-Gödel’s (1933),
◮ turns more formulæ into themselves; ◮ shifts a classical proof into an intuitionistic proof of the same formula. ◮ in this talk first-order logic (no modulo) ◮ readily extensible
Zenon in Dedukti May 26, 2014 2 / 24
Zenon in Dedukti May 26, 2014 3 / 24
Zenon in Dedukti May 26, 2014 4 / 24
◮ structural rules are not shown (contraction, weakening) ◮ left-rules seem very similar in both cases ◮ so, lhs formulæ can be translated by themselves ◮ this accounts for polarizing the translations
◮ An occurrence of A in B is positive if: ⋆ B = A ⋆ B = C ⋆ D [⋆ = ∧, ∨] and the occurrence of A is in C or in D and
⋆ B = C ⇒ D and the occurrence of A is in C (resp. in D) and negative
⋆ B = Qx C [Q = ∀, ∃] and the occurrence of A is in C and is positive ◮ Dually for negative occurrences.
Zenon in Dedukti May 26, 2014 5 / 24
◮ ¬A = A; ◮ B = ¬B otherwise.
Zenon in Dedukti May 26, 2014 6 / 24
Zenon in Dedukti May 26, 2014 7 / 24
Zenon in Dedukti May 26, 2014 8 / 24
Zenon in Dedukti May 26, 2014 9 / 24
Zenon in Dedukti May 26, 2014 10 / 24
Zenon in Dedukti May 26, 2014 10 / 24
Zenon in Dedukti May 26, 2014 10 / 24
Zenon in Dedukti May 26, 2014 10 / 24
1
2
Zenon in Dedukti May 26, 2014 11 / 24
Zenon in Dedukti May 26, 2014 12 / 24
Zenon in Dedukti May 26, 2014 13 / 24
◮ less negations imposes more discipline. Example:
◮ when An introduces negations (∃, ∨, ¬ and atomic cases) ?? can be
◮ otherwise An remains of the rhs in the LJ proof.
Zenon in Dedukti May 26, 2014 14 / 24
◮ less negations imposes more discipline. Example:
◮ when An introduces negations (∃, ∨, ¬ and atomic cases) ?? can be
◮ otherwise An remains of the rhs in the LJ proof. ◮ the next rule in π1 and π2 must be on A (resp. B). How ?
Zenon in Dedukti May 26, 2014 14 / 24
◮ less negations imposes more discipline. Example:
◮ when An introduces negations (∃, ∨, ¬ and atomic cases) ?? can be
◮ otherwise An remains of the rhs in the LJ proof. ◮ the next rule in π1 and π2 must be on A (resp. B). How ? ◮ use Kleene’s inversion lemma ◮ or ... this is exactly what focusing is about !
Zenon in Dedukti May 26, 2014 14 / 24
◮ Γ and ∆ ◮ A, the (possibly empty) stoup formula
◮ when the stoup is not empty, the next rule must apply on its formula, ◮ under some conditions, it is possible to move/remove a formula
Zenon in Dedukti May 26, 2014 15 / 24
Zenon in Dedukti May 26, 2014 16 / 24
◮ in release, A is either atomic or of the form ∃xB, B ∨ C or ¬B; ◮ in focus, the converse holds: A must not be atomic, nor of the form
◮ the synchronous (outside the stoup) right-rules are ∃R, ¬R, ∨R and
Zenon in Dedukti May 26, 2014 17 / 24
◮ release is translated by the ¬R rule ◮ focus is translated by the ¬L rule
Zenon in Dedukti May 26, 2014 18 / 24
◮ release is translated by the ¬R rule ◮ focus is translated by the ¬L rule ◮ ∆n removes the trailing negation on ∃n (¬∀¬), ∨n (¬ ∧ ¬), ¬n (¬)
◮ what a surprise: focus is forbidden on them, so rule on the lhs:
Zenon in Dedukti May 26, 2014 18 / 24
◮ restarts double-negation everytime we pass a universal quantifier.
Zenon in Dedukti May 26, 2014 19 / 24
◮ work of Frédéric Gilbert (2013), who noticed: 1
2
3
Zenon in Dedukti May 26, 2014 20 / 24
◮ How does it work ?
Zenon in Dedukti May 26, 2014 21 / 24
◮ How does it work ?
◮ How to prove that ? Refine focusing into phases.
Zenon in Dedukti May 26, 2014 22 / 24
Zenon in Dedukti May 26, 2014 23 / 24
◮ 58% of Zenon’s modulo proofs are secretly constructive ◮ polarizing the translation of rewrite rules in Deduction modulo: ⋆ problem with cut elimination: a rule is usable in the lhs and rhs ⋆ back to a non-polarized one ⋆ further work: use polarized Deduction modulo ◮ further work: polarize Krivine’s translation
◮ Focusing is a perfect tool to remove double-negations; ◮ antinegation .
Zenon in Dedukti May 26, 2014 24 / 24