Skip to content

Commit 67a8b28

Browse files
SnO2WMaNclaude
andcommitted
fix(LinearLogic): state Girard embedding at proposition level per review
Use π‹πŠΒΉ/𝐋𝐋₀ over Proposition instead of (βˆ… : Theory L)/𝐋𝐋 over Sentence. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1wqPfbHabyo2rsKAtJm9g
1 parent 700ec26 commit 67a8b28

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

β€ŽFoundation/LinearLogic/FirstOrder/ClassicalEmbedding.leanβ€Ž

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ end Derivation
125125

126126
namespace Proof
127127

128-
theorem forget {Ο† : Sentence L} : 𝐋𝐋 ⊒ Ο† β†’ (βˆ… : Theory L) ⊒ Ο†.forget := fun h ↦ by
129-
have : 𝐋𝐋₀ ⊒ (Ο† : Proposition L) := h
130-
exact Theory.Proof.empty_provable_iff_eprovable.mpr ⟨by simpa using Derivation.forget this.get⟩
128+
theorem forget {Ο† : Proposition L} : 𝐋𝐋₀ ⊒ Ο† β†’ π‹πŠΒΉ ⊒ Ο†.forget := fun h ↦
129+
⟨by simpa using Derivation.forget h.get⟩
131130

132131
end Proof
133132

@@ -447,14 +446,13 @@ namespace Proof
447446

448447
variable [L.DecidableEq]
449448

450-
theorem girard {Ο† : Sentence L} : (βˆ… : Theory L) ⊒ Ο† β†’ 𝐋𝐋 ⊒ Ο†.Girard := fun h ↦ ⟨by
451-
have : π‹πŠΒΉ ⊒ (Ο† : Proposition L) := by simpa using Theory.Proof.empty_provable_iff_eprovable.mp h
452-
simpa using Derivation.toLL this.get⟩
449+
theorem girard {Ο† : Proposition L} : π‹πŠΒΉ ⊒ Ο† β†’ 𝐋𝐋₀ ⊒ Ο†.Girard := fun h ↦
450+
⟨by simpa using Derivation.toLL h.get⟩
453451

454-
theorem girard_faithful {Ο† : Sentence L} : 𝐋𝐋 ⊒ Ο†.Girard ↔ (βˆ… : Theory L) ⊒ Ο† :=
452+
theorem girard_faithful {Ο† : Proposition L} : 𝐋𝐋₀ ⊒ Ο†.Girard ↔ π‹πŠΒΉ ⊒ Ο† :=
455453
⟨fun h ↦ by simpa using LinearLogic.Proof.forget h, girard⟩
456454

457-
instance : Entailment.FaithfullyEmbeddable (βˆ… : Theory L) (𝐋𝐋 : LinearLogic.Symbol L) where
455+
instance : Entailment.FaithfullyEmbeddable (π‹πŠΒΉ : LK L) (𝐋𝐋₀ : LinearLogic.SymbolFV L) where
458456
prop := ⟨Semiformula.Girard, fun _ ↦ girard_faithful⟩
459457

460458
end Proof

0 commit comments

Comments
Β (0)