equal
deleted
inserted
replaced
277 neutral_int_def: "\<one> = (0\<Colon>int)" |
277 neutral_int_def: "\<one> = (0\<Colon>int)" |
278 |
278 |
279 instance proof |
279 instance proof |
280 fix n :: nat |
280 fix n :: nat |
281 show "\<one> \<otimes> n = n" |
281 show "\<one> \<otimes> n = n" |
282 unfolding neutral_nat_def mult_nat_def by simp |
282 unfolding neutral_nat_def by simp |
283 next |
283 next |
284 fix k :: int |
284 fix k :: int |
285 show "\<one> \<otimes> k = k" |
285 show "\<one> \<otimes> k = k" |
286 unfolding neutral_int_def mult_int_def by simp |
286 unfolding neutral_int_def mult_int_def by simp |
287 qed |
287 qed |