equal
deleted
inserted
replaced
98 simpset() addsimps [p2_p3_lemma1 RS sym])); |
98 simpset() addsimps [p2_p3_lemma1 RS sym])); |
99 qed "p2_p3"; |
99 qed "p2_p3"; |
100 |
100 |
101 (* Compositional Proof *) |
101 (* Compositional Proof *) |
102 |
102 |
103 Goal "(ALL i. i < I --> s (c i) = #0) --> sum I s = #0"; |
103 Goal "(ALL i. i < I --> s (c i) = Numeral0) --> sum I s = Numeral0"; |
104 by (induct_tac "I" 1); |
104 by (induct_tac "I" 1); |
105 by Auto_tac; |
105 by Auto_tac; |
106 qed "sum_0'"; |
106 qed "sum_0'"; |
107 val sum0_lemma = (sum_0' RS mp) RS sym; |
107 val sum0_lemma = (sum_0' RS mp) RS sym; |
108 |
108 |