Skip to content

Commit 49e6cab

Browse files
committed
basic
1 parent b443d6d commit 49e6cab

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

Foundation/FirstOrder/Basic.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module
22

33
public import Foundation.FirstOrder.Basic.Syntax.Formula
44
public import Foundation.FirstOrder.Basic.Syntax.Rew
5-
public import Foundation.FirstOrder.Basic.Syntax.Schema
65
public import Foundation.FirstOrder.Basic.Semantics.Semantics
76
public import Foundation.FirstOrder.Basic.Semantics.Elementary
87
public import Foundation.FirstOrder.Basic.Operator

Foundation/FirstOrder/Basic/Eq.lean

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ lemma elementaryEquiv : QuotEq L M ≡ₑ[L] M := ⟨models_iff⟩
234234
variable {L M}
235235

236236
set_option backward.isDefEq.respectTransparency false in
237-
lemma rel_eq (a b : QuotEq L M) : (@Semiformula.Operator.Eq.eq L _).val (M := QuotEq L M) ![a, b] ↔ a = b := by
237+
lemma rel_eq (a b : QuotEq L M) : op(=)[L].val (M := QuotEq L M) ![a, b] ↔ a = b := by
238238
induction' a using Quotient.ind with a
239239
induction' b using Quotient.ind with b
240240
rw [of_eq_of]; simp [eqv, Semiformula.Operator.val];
@@ -308,24 +308,24 @@ noncomputable instance [Operator.One L] : One (ModelOfSatEq sat) := ⟨(@Operato
308308
instance [Operator.One L] : Structure.One L (ModelOfSatEq sat) := ⟨rfl⟩
309309

310310
noncomputable instance [Operator.Add L] : Add (ModelOfSatEq sat) :=
311-
fun x y => (@Operator.Add.add L _).val ![x, y]⟩
311+
fun x y (@Operator.Add.add L _).val ![x, y]⟩
312312

313-
instance [Operator.Add L] : Structure.Add L (ModelOfSatEq sat) := ⟨fun _ _ => rfl⟩
313+
instance [Operator.Add L] : Structure.Add L (ModelOfSatEq sat) := ⟨fun _ _ rfl⟩
314314

315315
noncomputable instance [Operator.Mul L] : Mul (ModelOfSatEq sat) :=
316-
fun x y => (@Operator.Mul.mul L _).val ![x, y]⟩
316+
fun x y (@Operator.Mul.mul L _).val ![x, y]⟩
317317

318-
instance [Operator.Mul L] : Structure.Mul L (ModelOfSatEq sat) := ⟨fun _ _ => rfl⟩
318+
instance [Operator.Mul L] : Structure.Mul L (ModelOfSatEq sat) := ⟨fun _ _ rfl⟩
319319

320320
instance [Operator.LT L] : LT (ModelOfSatEq sat) :=
321-
fun x y => (@Operator.LT.lt L _).val ![x, y]⟩
321+
fun x y (@Operator.LT.lt L _).val ![x, y]⟩
322322

323-
instance [Operator.LT L] : Structure.LT L (ModelOfSatEq sat) := ⟨fun _ _ => iff_of_eq rfl⟩
323+
instance [Operator.LT L] : Structure.LT L (ModelOfSatEq sat) := ⟨fun _ _ iff_of_eq rfl⟩
324324

325325
instance [Operator.Mem L] : Membership (ModelOfSatEq sat) (ModelOfSatEq sat) :=
326-
fun x y => (@Operator.Mem.mem L _).val ![y, x]⟩
326+
fun x y (@Operator.Mem.mem L _).val ![y, x]⟩
327327

328-
instance [Operator.Mem L] : Structure.Mem L (ModelOfSatEq sat) := ⟨fun _ _ => iff_of_eq rfl⟩
328+
instance [Operator.Mem L] : Structure.Mem L (ModelOfSatEq sat) := ⟨fun _ _ iff_of_eq rfl⟩
329329

330330
end ModelOfSatEq
331331

0 commit comments

Comments
 (0)