schematic_goal Suc_cong: "p : x = y ==> ?p : Suc(x) = Suc(y)" apply (erule subst) apply (rule refl) done
schematic_goal Plus_cong: "[| p : a = x; q: b = y |] ==> ?p : a + b = x + y" apply (erule subst, erule subst, rule refl) done
lemmas nat_congs = Suc_cong Plus_cong
ML ‹
val add_ss =
FOLP_ss addcongs @{thms nat_congs}
|> fold (addrew context) @{thms add_0 add_Suc} ›
schematic_goal add_assoc: "?p : (k+m)+n = k+(m+n)" apply (rule_tac n = k in induct) apply (tactic ‹SIMP_TAC context add_ss 1›) apply (tactic ‹ASM_SIMP_TAC context add_ss 1›) done
schematic_goal add_0_right: "?p : m+0 = m" apply (rule_tac n = m in induct) apply (tactic ‹SIMP_TAC context add_ss 1›) apply (tactic ‹ASM_SIMP_TAC context add_ss 1›) done
schematic_goal add_Suc_right: "?p : m+Suc(n) = Suc(m+n)" apply (rule_tac n = m in induct) apply (tactic ‹ALLGOALS (ASM_SIMP_TAC context add_ss)›) done
(*mk_typed_congs appears not to work with FOLP's version of subst*)
end
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.