doc-src/IsarAdvanced/Classes/Thy/Classes.thy
changeset 26967 27f60aaa5a7b
parent 25871 45753d56d935
child 27065 f68aa7b5a0f3
equal deleted inserted replaced
26966:071f40487734 26967:27f60aaa5a7b
   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