Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Neighborhood/Logic/Logic/EB45.lean
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,27 @@ lemma not_provable_axiomP : (Axioms.P : Formula α) ∉ (@LogicEB45 α) := by
intro hcon
exact frame_1_3.not_valid_axiomP (LogicEB45.sound frame_1_3 hcon)

theorem ssubset_LogicE45 : @LogicE45 ℕ ⊂ LogicEB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicE45.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEB4 : @LogicEB4 ℕ ⊂ LogicEB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEB4.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEB5 : @LogicEB5 ℕ ⊂ LogicEB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEB5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

end LogicEB45

end
14 changes: 14 additions & 0 deletions Neighborhood/Logic/Logic/EB5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ lemma not_provable_axiomFour (a : α) : ∃ A, Axioms.Four A ∉ (@LogicEB5 α)
by_contra! hcon
exact frame_2_79.not_valid_axiomFour (LogicEB5.sound frame_2_79 (hcon #a))

theorem ssubset_LogicE5 : @LogicE5 ℕ ⊂ LogicEB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicE5.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEB : @LogicEB ℕ ⊂ LogicEB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEB.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

end LogicEB5

end
28 changes: 28 additions & 0 deletions Neighborhood/Logic/Logic/ECB45.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@ lemma not_provable_axiomP : (Axioms.P : Formula α) ∉ (@LogicECB45 α) := by
intro hcon
exact frame_1_3.not_valid_axiomP (LogicECB45.sound frame_1_3 hcon)

theorem ssubset_LogicEB45 : @LogicEB45 ℕ ⊂ LogicECB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEB45.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEC45 : @LogicEC45 ℕ ⊂ LogicECB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEC45.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECB4 : @LogicECB4 ℕ ⊂ LogicECB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECB4.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECB5 : @LogicECB5 ℕ ⊂ LogicECB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECB5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

end LogicECB45

end
21 changes: 21 additions & 0 deletions Neighborhood/Logic/Logic/ECB5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,27 @@ lemma not_provable_axiomFour (a : α) : ∃ A, Axioms.Four A ∉ (@LogicECB5 α)
by_contra! hcon
exact frame_2_79.not_valid_axiomFour (LogicECB5.sound frame_2_79 (hcon #a))

theorem ssubset_LogicEB5 : @LogicEB5 ℕ ⊂ LogicECB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEB5.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEC5 : @LogicEC5 ℕ ⊂ LogicECB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEC5.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECB : @LogicECB ℕ ⊂ LogicECB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECB.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

end LogicECB5

end
28 changes: 28 additions & 0 deletions Neighborhood/Logic/Logic/ECD45.lean
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,34 @@ lemma not_provable_axiomP : (Axioms.P : Formula α) ∉ (@LogicECD45 α) := by
intro hcon
exact frame_2_90.not_valid_axiomP (LogicECD45.sound frame_2_90 hcon)

theorem ssubset_LogicEC45 : @LogicEC45 ℕ ⊂ LogicECD45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicEC45.not_provable_axiomD (0 : ℕ)
exact ⟨Axioms.D A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECD4 : @LogicECD4 ℕ ⊂ LogicECD45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECD4.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECD5 : @LogicECD5 ℕ ⊂ LogicECD45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECD5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicED45 : @LogicED45 ℕ ⊂ LogicECD45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicED45.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECD45

end
16 changes: 16 additions & 0 deletions Neighborhood/Logic/Logic/ECDB4.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module

public import Neighborhood.Logic.Logic.ECD4
public import Neighborhood.Logic.Logic.ECDB
public import Neighborhood.Logic.Logic.ECT5

@[expose] public section
Expand All @@ -12,6 +14,20 @@ namespace LogicECDB4
theorem eq_LogicECT5 : (@LogicECDB4 α) = LogicECT5 := by
hilbert_eq_axioms

theorem ssubset_LogicECD4 : @LogicECD4 ℕ ⊂ LogicECDB4 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECD4.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECDB : @LogicECDB ℕ ⊂ LogicECDB4 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECDB.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

end LogicECDB4

end
28 changes: 28 additions & 0 deletions Neighborhood/Logic/Logic/ECDB5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,34 @@ lemma not_provable_axiomM [DecidableEq α] (a b : α) (hab : a ≠ b) :
by_contra! hcon
exact frame_3_9472136.not_valid_axiomM hab (LogicECDB5.sound frame_3_9472136 (hcon #a #b))

theorem ssubset_LogicECB5 : @LogicECB5 ℕ ⊂ LogicECDB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECB5.not_provable_axiomD (0 : ℕ)
exact ⟨Axioms.D A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECD5 : @LogicECD5 ℕ ⊂ LogicECDB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECD5.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECDB : @LogicECDB ℕ ⊂ LogicECDB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECDB.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEDB5 : @LogicEDB5 ℕ ⊂ LogicECDB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEDB5.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECDB5

end
13 changes: 13 additions & 0 deletions Neighborhood/Logic/Logic/ECN45.lean
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ theorem ssubset_LogicECN5 : @LogicECN5 ℕ ⊂ LogicECN45 := by
· obtain ⟨A, hA⟩ := LogicECN5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, (ProvableHilbert.axm (by grind)), hA⟩

theorem ssubset_LogicEC45 : @LogicEC45 ℕ ⊂ LogicECN45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· exact ⟨Axioms.N, ProvableHilbert.axm (by grind), LogicEC45.not_provable_axiomN⟩

theorem ssubset_LogicEN45 : @LogicEN45 ℕ ⊂ LogicECN45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEN45.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECN45

end
16 changes: 16 additions & 0 deletions Neighborhood/Logic/Logic/ECNB45.lean
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module

public import Neighborhood.Logic.Logic.ECB45
public import Neighborhood.Logic.Logic.ECN45
public import Neighborhood.Logic.Logic.ECNB5

@[expose] public section

Expand All @@ -12,6 +14,20 @@ namespace LogicECNB45
theorem eq_LogicECB45 : (@LogicECNB45 α) = LogicECB45 := by
hilbert_eq_axioms

theorem ssubset_LogicECN45 : @LogicECN45 ℕ ⊂ LogicECNB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECN45.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECNB5 : @LogicECNB5 ℕ ⊂ LogicECNB45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECNB5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

end LogicECNB45

end
27 changes: 27 additions & 0 deletions Neighborhood/Logic/Logic/ECNB5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,33 @@ lemma not_provable_axiomFour (a : α) : ∃ A, Axioms.Four A ∉ (@LogicECNB5 α
by_contra! hcon
exact frame_2_186.not_valid_axiomFour (LogicECNB5.sound frame_2_186 (hcon #a))

theorem ssubset_LogicECB5 : @LogicECB5 ℕ ⊂ LogicECNB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· exact ⟨Axioms.N, ProvableHilbert.axm (by grind), LogicECB5.not_provable_axiomN⟩

theorem ssubset_LogicECN5 : @LogicECN5 ℕ ⊂ LogicECNB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECN5.not_provable_axiomB (0 : ℕ)
exact ⟨Axioms.B A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECNB : @LogicECNB ℕ ⊂ LogicECNB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECNB.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicENB5 : @LogicENB5 ℕ ⊂ LogicECNB5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicENB5.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECNB5

end
7 changes: 7 additions & 0 deletions Neighborhood/Logic/Logic/ECND4.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module

public import Neighborhood.Logic.Logic.ECND
public import Neighborhood.Logic.Logic.ECN4
public import Neighborhood.Logic.Logic.ECD4
public import Neighborhood.Logic.Logic.END4
public import Neighborhood.Semantics.Example.Frame2_138
public import Neighborhood.Semantics.Example.Frame2_170
Expand Down Expand Up @@ -60,6 +61,12 @@ theorem ssubset_LogicEND4 : @LogicEND4 ℕ ⊂ LogicECND4 := by
· obtain ⟨A, B, hA⟩ := LogicEND4.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, (ProvableHilbert.axm (by grind)), hA⟩

theorem ssubset_LogicECD4 : @LogicECD4 ℕ ⊂ LogicECND4 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· exact ⟨Axioms.N, ProvableHilbert.axm (by grind), LogicECD4.not_provable_axiomN⟩

end LogicECND4

end
34 changes: 34 additions & 0 deletions Neighborhood/Logic/Logic/ECND45.lean
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,40 @@ lemma not_provable_axiomB (a : α) : ∃ A, Axioms.B A ∉ (@LogicECND45 α) :=
by_contra! hcon
exact frame_2_170.not_valid_axiomB (LogicECND45.sound frame_2_170 (hcon #a))

theorem ssubset_LogicECD45 : @LogicECD45 ℕ ⊂ LogicECND45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· exact ⟨Axioms.N, ProvableHilbert.axm (by grind), LogicECD45.not_provable_axiomN⟩

theorem ssubset_LogicECN45 : @LogicECN45 ℕ ⊂ LogicECND45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECN45.not_provable_axiomD (0 : ℕ)
exact ⟨Axioms.D A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECND4 : @LogicECND4 ℕ ⊂ LogicECND45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECND4.not_provable_axiomFive (0 : ℕ)
exact ⟨Axioms.Five A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicECND5 : @LogicECND5 ℕ ⊂ LogicECND45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, hA⟩ := LogicECND5.not_provable_axiomFour (0 : ℕ)
exact ⟨Axioms.Four A, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEND45 : @LogicEND45 ℕ ⊂ LogicECND45 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEND45.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECND45

end
16 changes: 16 additions & 0 deletions Neighborhood/Logic/Logic/ECND5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module

public import Neighborhood.Logic.Logic.ECND
public import Neighborhood.Logic.Logic.ECN5
public import Neighborhood.Logic.Logic.ECD5
public import Neighborhood.Logic.Logic.END5
public import Neighborhood.Semantics.Example.Frame2_170
public import Neighborhood.Semantics.Example.Frame3_8553090
public import Neighborhood.Semantics.Example.Frame3_10529440
Expand Down Expand Up @@ -52,6 +54,20 @@ theorem ssubset_LogicECN5 : @LogicECN5 ℕ ⊂ LogicECND5 := by
· obtain ⟨A, hA⟩ := LogicECN5.not_provable_axiomD (0 : ℕ)
exact ⟨Axioms.D A, (ProvableHilbert.axm (by grind)), hA⟩

theorem ssubset_LogicECD5 : @LogicECD5 ℕ ⊂ LogicECND5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· have hA := @LogicECD5.not_provable_axiomN ℕ
exact ⟨Axioms.N, ProvableHilbert.axm (by grind), hA⟩

theorem ssubset_LogicEND5 : @LogicEND5 ℕ ⊂ LogicECND5 := by
apply Set.ssubset_iff_exists.mpr
constructor
· hilbert_subset_axioms
· obtain ⟨A, B, hA⟩ := LogicEND5.not_provable_axiomC (0 : ℕ) 1 (by simp)
exact ⟨Axioms.C A B, ProvableHilbert.axm (by grind), hA⟩

end LogicECND5

end
Loading