Double Negation Translations as Morphisms
Olivier Hermant
CRI, MINES ParisTech
December 1, 2014 UFRN, Natal
- O. Hermant (Mines)
Double Negations December 1, 2014 1 / 24
Double Negation Translations as Morphisms Olivier Hermant CRI, - - PowerPoint PPT Presentation
Double Negation Translations as Morphisms Olivier Hermant CRI, MINES ParisTech December 1, 2014 UFRN, Natal O. Hermant (Mines) Double Negations December 1, 2014 1 / 24 Double-Negation Translations Double-Negation translations: a
Double Negations December 1, 2014 1 / 24
◮ a shallow way to encode classical logic into intuitionistic ◮ Zenon’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.
Double Negations December 1, 2014 2 / 24
◮ A morphism preserves the operations between two structures:
◮ a translation that is a morphism:
Double Negations December 1, 2014 3 / 24
◮ A morphism preserves the operations between two structures:
◮ a more interesting translation that is a morphism:
Double Negations December 1, 2014 3 / 24
◮ A morphism preserves the operations between two structures:
◮ a more interesting translation that is a morphism:
◮ Design a unified logic, where we can reason both classically and
Double Negations December 1, 2014 3 / 24
◮ None of the previous translations is a morphism. ◮ Dowek has shown one, it is very verbose. ◮ We make it lighter.
1
2
3
4
Double Negations December 1, 2014 4 / 24
◮ The principle of excluded-middle. Should
◮ Yes. This is what is called classical logic. ◮ Wait a minute !
Double Negations December 1, 2014 5 / 24
◮ The principle of excluded-middle. Should
◮ No. This is the constructivist school (Brouwer, Heyting, Kolomogorov). ◮ Intuitionistic logic is one of those branches. It features the BHK
Double Negations December 1, 2014 6 / 24
Double Negations December 1, 2014 7 / 24
Double Negations December 1, 2014 8 / 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 ◮ another work [Boudard & H]: ⋆ does not behave well in presence of cuts ⋆ appeals to focusing techniques
Double Negations December 1, 2014 9 / 24
◮ proofs that behave identically in classical/intuitionistic logic:
◮ proof of the excluded-middle:
Double Negations December 1, 2014 10 / 24
◮ proofs that behave identically in classical/intuitionistic logic:
◮ proof of the excluded-middle:
Double Negations December 1, 2014 10 / 24
◮ is not provable. However, its negation is inconsistent.
◮ given a classical proof Γ ⊢ ∆, store ∆ on the lhs, and translate:
Double Negations December 1, 2014 11 / 24
◮ is not provable. However, its negation is inconsistent. ◮ this suggests a scheme for a translation between int. and clas. logic:
◮ given a classical proof Γ ⊢ ∆, store ∆ on the lhs, and translate:
◮ need: ¬¬ everywhere in ∆ (and Γ) ◮ the proof of the “negation of the excluded middle” requires duplication
Double Negations December 1, 2014 11 / 24
◮ ¬A = A; ◮ B = ¬B otherwise.
Double Negations December 1, 2014 12 / 24
Double Negations December 1, 2014 13 / 24
Double Negations December 1, 2014 14 / 24
Double Negations December 1, 2014 14 / 24
Double Negations December 1, 2014 14 / 24
Double Negations December 1, 2014 14 / 24
◮ let:
◮ unfortunately:
◮ this is not a morphism.
Double Negations December 1, 2014 15 / 24
◮ No ! ⋆ in the case of Ko:
⋆ in the case of K :
⋆ exercise: these negations are necessary (hint: consider the
◮ can we be more clever ? ⋆ some intuitionistic right-rules are the same as classical right-rules. For
⋆ Translate them by themselves. Gödel-Getzen translation.
Double Negations December 1, 2014 16 / 24
Double Negations December 1, 2014 17 / 24
◮ No ! ⋆ in the case of Ko:
⋆ in the case of K :
⋆ exercise: show that those negations are necessary (hint: consider the
◮ can we be more clever ? ⋆ some intuitionistic right-rules are the same as classical right-rules. For
⋆ Gödel-Getzen translation: ⋆ is still not a morphism ! ◮ etc. for all the other known translations (Krivine, Kuroda)
Double Negations December 1, 2014 18 / 24
◮ Translation of, say, A ∧ B:
◮ Feature, double-negation:
◮ Analysis, problem appearing in:
◮ Solution: combine them !
Double Negations December 1, 2014 19 / 24
◮ ¬AD = AD (except in the atomic case)
Double Negations December 1, 2014 20 / 24
◮ heavy: for each connective, 6 negations. ((A ∨ B) ⇒ C)D is
◮ most of the time useless, except at the top and at the bottom of the
◮ remember Gödel-Gentzen’s idea. Use De Morgan duals:
◮ let us do the same, and divide by two the number of double negations.
Double Negations December 1, 2014 21 / 24
Double Negations December 1, 2014 22 / 24
◮ this gives rise to a morphism, (.)⊙ together with:
◮ and we can prove the theorem:
Double Negations December 1, 2014 22 / 24
◮ last rule ∨R on some A ∨ B ∈ ∆. Remember:
⋆ A and B are atomic: A⊙ = ¬A and B⊙ = ¬B.
⋆ if neither A and B are atomic, then A⊙ and B⊙ have a trailing ¬, and we
⋆ mixed case: mixed strategy.
Double Negations December 1, 2014 23 / 24
◮ logic with two kinds of connectives: ∨i and ∨c
◮ and we have:
◮ next, lighter morphisms: ⋆ from ¬cA = ¬¬¬A to ¬cA = ¬A ? ⋆ from A ⇒c B = ¬(¬¬A ∨ ¬B to A ⇒c B = ¬(A ∨ ¬B) ? ⋆ we cannot always maintain the invariant Γ, ∆ ⊢. ⋆ Focusing in LK to the rescue.
Double Negations December 1, 2014 24 / 24