(* Title: HOL/Library/Old_Recdef.thy Author: Konrad Slind and Markus Wenzel, TU Muenchen
*)
section \<open>TFL: recursive function definitions\<close>
theory Old_Recdef imports Main
keywords "recdef" :: thy_defn and "permissive""congs""hints" begin
subsection \<open>Lemmas for TFL\<close>
lemma tfl_wf_induct: "\R. wf R \
(\<forall>P. (\<forall>x. (\<forall>y. (y,x)\<in>R \<longrightarrow> P y) \<longrightarrow> P x) \<longrightarrow> (\<forall>x. P x))" apply clarify apply (rule_tac r = R and P = P and a = x in wf_induct, assumption, blast) done
lemma tfl_cut_def: "cut f r x \ (\y. if (y,x) \ r then f y else undefined)" unfolding cut_def .
lemma tfl_cut_apply: "\f R. (x,a)\R \ (cut f R a)(x) = f(x)" apply clarify apply (rule cut_apply, assumption) done
lemma tfl_wfrec: "\M R f. (f=wfrec R M) \ wf R \ (\x. f x = M (cut f R x) x)" apply clarify apply (erule wfrec) done
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 ist noch experimentell.