Documentation

Cslib.Logics.Propositional.NaturalDeduction.Theory

Results on propositional theories #

In this file we prove the expected results that IPL Atom is an intuitionistic theory, and CPL Atom is a classical theory. We provide derived rules for common intuitionistic and classical proof patterns.

def Cslib.Logic.PL.Theory.IsIntuitionistic.contra {Atom : Type u} [DecidableEq Atom] [Bot Atom] {T : Theory Atom} [IsIntuitionistic Atom T] {Γ : Ctx Atom} (A B : Proposition Atom) ( : A Γ) (hΓ' : A.neg Γ) :

Prove any proposition from contradictory hypotheses.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def Cslib.Logic.PL.Theory.IsClassical.byContra {Atom : Type u} [DecidableEq Atom] [Bot Atom] {T : Theory Atom} [IsClassical Atom T] {Γ : Ctx Atom} {A : Proposition Atom} (D : InferenceSystem.derivation T (insert A.neg Γ, )) :

    Proof by contradiction as a derived rule.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[implicit_reducible]
      instance Cslib.Logic.PL.Theory.instIsIntuitionisticOfIsClassical {Atom : Type u} [DecidableEq Atom] [Bot Atom] {T : Theory Atom} [IsClassical Atom T] :
      Equations
      • One or more equations did not get rendered due to their size.
      def Cslib.Logic.PL.Theory.IsClassical.lem {Atom : Type u} [DecidableEq Atom] [Bot Atom] {T : Theory Atom} [IsClassical Atom T] (A : Proposition Atom) :

      Law of excluded middle in a classical theory.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Cslib.Logic.PL.Theory.IsClassical.pierce {Atom : Type u} [DecidableEq Atom] [Bot Atom] {T : Theory Atom} [IsClassical Atom T] (A B : Proposition Atom) :

        Pierce's law in a classical theory.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Cslib.Logic.PL.Theory.LEM (Atom : Type u) [Bot Atom] :
          Theory Atom

          The axiom system consisting of instances of LEM.

          Equations
          Instances For
            theorem Cslib.Logic.PL.Theory.lem_mem_lem {Atom : Type u} [Bot Atom] (A : Proposition Atom) :
            A.or A.neg LEM Atom

            The axiom system consisting of instances of Pierce's law.

            Equations
            Instances For
              theorem Cslib.Logic.PL.Theory.pierce_mem_pierce {Atom : Type u} (A B : Proposition Atom) :
              ((A.impl B).impl A).impl A Pierce Atom
              @[implicit_reducible]
              instance Cslib.Logic.PL.Theory.instIsClassicalLEM {Atom : Type u} [DecidableEq Atom] [Bot Atom] :
              IsClassical Atom ↑(LEM Atom IPL Atom)
              Equations
              • One or more equations did not get rendered due to their size.
              @[implicit_reducible]
              instance Cslib.Logic.PL.Theory.instIsClassicalPierce {Atom : Type u} [DecidableEq Atom] [Bot Atom] :
              IsClassical Atom ↑(Pierce Atom IPL Atom)
              Equations
              • One or more equations did not get rendered due to their size.