@@ -87,15 +87,15 @@ theorem map_add_one [AddMonoidWithOne G] [Add H] [AddConstMapClass F G H 1 b]
8787@ [scoped simp]
8888theorem map_add_ofNat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
8989 (f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
90- f (x + ofNat(n)) = f x + (OfNat. ofNat n : ℕ) • b :=
90+ f (x + ofNat(n)) = f x + (ofNat(n) : ℕ) • b :=
9191 map_add_nat' f x n
9292
9393theorem map_add_nat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
9494 (f : F) (x : G) (n : ℕ) : f (x + n) = f x + n := by simp
9595
9696theorem map_add_ofNat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
9797 (f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
98- f (x + OfNat. ofNat n) = f x + OfNat. ofNat n := map_add_nat f x n
98+ f (x + ofNat(n)) = f x + ofNat(n) := map_add_nat f x n
9999
100100@ [scoped simp]
101101theorem map_const [AddZeroClass G] [Add H] [AddConstMapClass F G H a b] (f : F) :
@@ -118,15 +118,15 @@ theorem map_nat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
118118
119119theorem map_ofNat' [AddMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
120120 (f : F) (n : ℕ) [n.AtLeastTwo] :
121- f (OfNat. ofNat n) = f 0 + (OfNat. ofNat n : ℕ) • b :=
121+ f (ofNat(n)) = f 0 + (ofNat(n) : ℕ) • b :=
122122 map_nat' f n
123123
124124theorem map_nat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
125125 (f : F) (n : ℕ) : f n = f 0 + n := by simp
126126
127127theorem map_ofNat [AddMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
128128 (f : F) (n : ℕ) [n.AtLeastTwo] :
129- f (OfNat. ofNat n) = f 0 + OfNat. ofNat n := map_nat f n
129+ f ofNat( n) = f 0 + ofNat(n) := map_nat f n
130130
131131@ [scoped simp]
132132theorem map_const_add [AddCommSemigroup G] [Add H] [AddConstMapClass F G H a b]
@@ -148,15 +148,15 @@ theorem map_nat_add' [AddCommMonoidWithOne G] [AddMonoid H] [AddConstMapClass F
148148
149149theorem map_ofNat_add' [AddCommMonoidWithOne G] [AddMonoid H] [AddConstMapClass F G H 1 b]
150150 (f : F) (n : ℕ) [n.AtLeastTwo] (x : G) :
151- f (OfNat. ofNat n + x) = f x + OfNat. ofNat n • b :=
151+ f (ofNat(n) + x) = f x + ofNat(n) • b :=
152152 map_nat_add' f n x
153153
154154theorem map_nat_add [AddCommMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
155155 (f : F) (n : ℕ) (x : G) : f (↑n + x) = f x + n := by simp
156156
157157theorem map_ofNat_add [AddCommMonoidWithOne G] [AddMonoidWithOne H] [AddConstMapClass F G H 1 1 ]
158158 (f : F) (n : ℕ) [n.AtLeastTwo] (x : G) :
159- f (OfNat. ofNat n + x) = f x + OfNat. ofNat n :=
159+ f (ofNat(n) + x) = f x + ofNat(n) :=
160160 map_nat_add f n x
161161
162162@ [scoped simp]
@@ -181,7 +181,7 @@ theorem map_sub_nat' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1
181181@ [scoped simp]
182182theorem map_sub_ofNat' [AddGroupWithOne G] [AddGroup H] [AddConstMapClass F G H 1 b]
183183 (f : F) (x : G) (n : ℕ) [n.AtLeastTwo] :
184- f (x - ofNat(n)) = f x - OfNat. ofNat n • b :=
184+ f (x - ofNat(n)) = f x - ofNat(n) • b :=
185185 map_sub_nat' f x n
186186
187187@ [scoped simp]
0 commit comments