API for inference systems #
class Cslib.Logic.InferenceSystem.IsIntuitionistic (S : Type u_1) (α : Type u_2) [Bot α] [HasImp α] [InferenceSystem S α] :
Sort (max (u_2 + 1) u_3)
Intuitionistic inference systems derive the principle of explosion.
- derivationBotImp (a : α) : derivation S (HasImp.imp ⊥ a)
A chosen derivation of
⊥ → a.
Instances
theorem Cslib.Logic.InferenceSystem.derivableIn_bot_imp {S : Type u_1} {α : Type u_2} [Bot α] [HasImp α] [InferenceSystem S α] [IsIntuitionistic S α] (a : α) :
DerivableIn S (HasImp.imp ⊥ a)
class Cslib.Logic.InferenceSystem.IsClassical (S : Type u_1) (α : Type u_2) [HasNot α] [HasImp α] [InferenceSystem S α] :
Sort (max (u_2 + 1) u_3)
Classical inference systems derive double-negation elimination.
- derivationDNE (a : α) : derivation S (HasImp.imp (HasNot.not (HasNot.not a)) a)
A chosen derivation of
¬¬a → a.
Instances
theorem Cslib.Logic.InferenceSystem.derivableIn_dne {S : Type u_1} {α : Type u_2} [HasNot α] [HasImp α] [InferenceSystem S α] [IsClassical S α] (a : α) :
DerivableIn S (HasImp.imp (HasNot.not (HasNot.not a)) a)