equal
deleted
inserted
replaced
126 show "a * b = b * a" |
126 show "a * b = b * a" |
127 by partiality_descending auto |
127 by partiality_descending auto |
128 show "1 * a = a" |
128 show "1 * a = a" |
129 by partiality_descending auto |
129 by partiality_descending auto |
130 show "a + b + c = a + (b + c)" |
130 show "a + b + c = a + (b + c)" |
131 by partiality_descending (auto simp add: mult_commute right_distrib) |
131 by partiality_descending (auto simp add: mult_commute distrib_left) |
132 show "a + b = b + a" |
132 show "a + b = b + a" |
133 by partiality_descending auto |
133 by partiality_descending auto |
134 show "0 + a = a" |
134 show "0 + a = a" |
135 by partiality_descending auto |
135 by partiality_descending auto |
136 show "- a + a = 0" |
136 show "- a + a = 0" |
137 by partiality_descending auto |
137 by partiality_descending auto |
138 show "a - b = a + - b" |
138 show "a - b = a + - b" |
139 by (simp add: minus_rat_def) |
139 by (simp add: minus_rat_def) |
140 show "(a + b) * c = a * c + b * c" |
140 show "(a + b) * c = a * c + b * c" |
141 by partiality_descending (auto simp add: mult_commute right_distrib) |
141 by partiality_descending (auto simp add: mult_commute distrib_left) |
142 show "(0 :: rat) \<noteq> (1 :: rat)" |
142 show "(0 :: rat) \<noteq> (1 :: rat)" |
143 by partiality_descending auto |
143 by partiality_descending auto |
144 qed |
144 qed |
145 |
145 |
146 end |
146 end |