Skip to content

Commit

Permalink
feat(FirstOrder): ProvableWithEq
Browse files Browse the repository at this point in the history
  • Loading branch information
iehality committed Apr 7, 2024
1 parent 4c8fbc9 commit 584dadc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Logic/FirstOrder/Basic/Eq.lean
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ abbrev ConsequenceWithEq (T : Theory L) (σ : Sentence L) : Prop := T⁼ ⊨ σ

infix:55 " ⊨₌ " => ConsequenceWithEq

abbrev ProofWithEq (T : Theory L) (σ : Sentence L) : Type _ := T⁼ ⊢ σ

abbrev ProvableWithEq (T : Theory L) (σ : Sentence L) : Prop := T⁼ ⊢! σ

infix:45 " ⊢₌ " => ProofWithEq

infix:45 " ⊢₌! " => ProvableWithEq

namespace Structure

namespace Eq
Expand Down
2 changes: 2 additions & 0 deletions Logic/FirstOrder/Completeness/Lemmata.lean
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ lemma of_add_left_right [M ⊧ₘ* T + U + V] : M ⊧ₘ* U := @of_add_right _ M

end ModelsTheory

theorem completeness_iff_with_eq {L : Language} [L.Eq] {T : Theory L} {σ : Sentence L} : T ⊨₌ σ ↔ T ⊢₌! σ := completeness_iff

end LO.FirstOrder

0 comments on commit 584dadc

Please sign in to comment.