We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e78c0 commit bbba96dCopy full SHA for bbba96d
5 files changed
LeanSubst/Lemma/Ren.lean
@@ -0,0 +1,24 @@
1
+
2
+import LeanSubst.Ops
3
4
+namespace LeanSubst
5
6
+universe u1 u2 u3
7
+variable {S : Type u1} {T : Type u2}
8
9
+class RenMapId (S : Type u1) [RenMap S] where
10
+ apply_id {t : S} : t⟨Ren.id⟩ = t
11
12
+class RenMapCompose (S : Type u1) [RenMap S] where
13
+ apply_compose {s : S} {r1 r2 : Ren} : s⟨r1⟩⟨r2⟩ = s⟨r1 ∘ r2⟩
14
15
+@[simp]
16
+theorem Ren.apply_id [RenMap T] [RenMapId T] {t : T} : t⟨id⟩ = t := RenMapId.apply_id
17
18
+@[simp, grind =]
19
+theorem Ren.apply_compose [RenMap T] [RenMapCompose T] {t : T} {r1 r2 : Ren}
20
+ : t⟨r1⟩⟨r2⟩ = t⟨r1 ∘ r2⟩
21
+:= RenMapCompose.apply_compose
22
23
24
+end LeanSubst
0 commit comments