equal
deleted
inserted
replaced
31 "isabelle jedit -m MODE". |
31 "isabelle jedit -m MODE". |
32 |
32 |
33 |
33 |
34 *** HOL *** |
34 *** HOL *** |
35 |
35 |
36 * "declare [[code abort: …]]" replaces "code_abort …". |
36 * "declare [[code abort: ...]]" replaces "code_abort ...". |
37 INCOMPATIBILITY. |
37 INCOMPATIBILITY. |
38 |
38 |
39 * "declare [[code drop: …]]" drops all code equations associated |
39 * "declare [[code drop: ...]]" drops all code equations associated |
40 with the given constants. |
40 with the given constants. |
41 |
41 |
42 * Abolished slightly odd global lattice interpretation for min/max. |
42 * Abolished slightly odd global lattice interpretation for min/max. |
43 |
43 |
44 Fact consolidations: |
44 Fact consolidations: |
119 * Canonical representation for minus one is "- 1". |
119 * Canonical representation for minus one is "- 1". |
120 * Canonical representation for other negative numbers is "- (numeral _)". |
120 * Canonical representation for other negative numbers is "- (numeral _)". |
121 * When devising rule sets for number calculation, consider the |
121 * When devising rule sets for number calculation, consider the |
122 following canonical cases: 0, 1, numeral _, - 1, - numeral _. |
122 following canonical cases: 0, 1, numeral _, - 1, - numeral _. |
123 * HOLogic.dest_number also recognizes numerals in non-canonical forms |
123 * HOLogic.dest_number also recognizes numerals in non-canonical forms |
124 like "numeral One", "- numeral One", "- 0" and even "- … - _". |
124 like "numeral One", "- numeral One", "- 0" and even "- ... - _". |
125 * Syntax for negative numerals is mere input syntax. |
125 * Syntax for negative numerals is mere input syntax. |
126 INCOMPATBILITY. |
126 INCOMPATBILITY. |
127 |
127 |
128 * Elimination of fact duplicates: |
128 * Elimination of fact duplicates: |
129 equals_zero_I ~> minus_unique |
129 equals_zero_I ~> minus_unique |
153 |
153 |
154 a) Arbitrary failing proof not involving "diff_def": |
154 a) Arbitrary failing proof not involving "diff_def": |
155 Consider simplification with algebra_simps or field_simps. |
155 Consider simplification with algebra_simps or field_simps. |
156 |
156 |
157 b) Lifting rules from addition to subtraction: |
157 b) Lifting rules from addition to subtraction: |
158 Try with "using <rule for addition> of [… "- _" …]" by simp". |
158 Try with "using <rule for addition> of [... "- _" ...]" by simp". |
159 |
159 |
160 c) Simplification with "diff_def": just drop "diff_def". |
160 c) Simplification with "diff_def": just drop "diff_def". |
161 Consider simplification with algebra_simps or field_simps; |
161 Consider simplification with algebra_simps or field_simps; |
162 or the brute way with |
162 or the brute way with |
163 "simp add: diff_conv_add_uminus del: add_uminus_conv_diff". |
163 "simp add: diff_conv_add_uminus del: add_uminus_conv_diff". |