Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Normal Modal): Strength of Logics Part.1 #23

Merged
merged 15 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
rebase fix
  • Loading branch information
SnO2WMaN committed Mar 21, 2024
commit e7a454fcb628e6b94047e15d1e22e328ab7987d2
5 changes: 2 additions & 3 deletions Logic/Modal/Normal/Deduction.lean
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ notation:45 Γ " ⊢ᴹ[" Λ "]! " p => Deducible Λ Γ p
abbrev Undeducible := ¬(Γ ⊢ᴹ[Λ]! p)
notation:45 Γ " ⊬ᴹ[" Λ "]! " p => Undeducible Λ Γ p

abbrev Theory.Consistent := Hilbert.Consistent (@Deduction α Λ) Γ

abbrev Theory.Inconsistent := Hilbert.Inconsistent (@Deduction α Λ) Γ
abbrev Theory.Consistent := Deduction.Consistent (@Deduction α Λ) Γ
abbrev Theory.Inconsistent := Deduction.Inconsistent (@Deduction α Λ) Γ

namespace Deduction

Expand Down
12 changes: 0 additions & 12 deletions Logic/Modal/Normal/Semantics.lean
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,6 @@ notation w "⊮ᴹ[" M "] " Γ => Theory.Unsatisfies M w Γ

variable [DecidableEq β]

variable [DecidableEq β]

lemma Theory.satisfies_conj {Δ : Context β} {Γ : Theory β} (hs : ↑Δ ⊆ Γ) {M : Model α β} {w : α} : (w ⊩ᴹ[M] Γ) → (w ⊩ᴹ[M] Δ.conj) := by
intro hΓ;
induction Δ using Finset.induction_on with
| empty => simp [Finset.conj];
| @insert p Δ _ ih =>
-- have := Finset.toList_insert h;
-- simp [Finset.conj] at this;
suffices w ⊩ᴹ[M] (Δ.conj ⋏ p) by simpa [←Context.insert_conj] using this;
simp_all [Finset.coe_insert, Set.insert_subset_iff];

@[simp]
def Theory.Models (M : Model α β) (Γ : Theory β) := ∀ p ∈ Γ, ⊧ᴹ[M] p
notation "⊧ᴹ[" M "] " Γ => Theory.Models M Γ
Expand Down
Loading