definition
fun_app :: "('a ==> 'b) ==> 'a ==> 'b" (infixr‹$›10) where "f $ x ≡ f x"
declare fun_app_def [iff]
lemma fun_app_cong[fundef_cong]: "[ f x = f' x' ]==> (f $ x) = (f' $ x')" by simp
lemma fun_app_apply_cong[fundef_cong]: "f x y = f' x' y' ==> (f $ x) y = (f' $ x') y'" by simp
lemma if_apply_cong[fundef_cong]: "[ P = P'; x = x'; P' ==> f x' = f' x'; ¬ P' ==> g x' = g' x' ] ==> (if P then f else g) x = (if P' then f' else g') x'" by simp
lemma tranclD2: "(x, y) ∈ R+==>∃z. (x, z) ∈ R*∧ (z, y) ∈ R" by (erule tranclE) auto
lemma linorder_min_same1 [simp]: "(min y x = y) = (y ≤ (x::'a::linorder))" by (auto simp: min_def linorder_not_less)
lemma linorder_min_same2 [simp]: "(min x y = y) = (y ≤ (x::'a::linorder))" by (auto simp: min_def linorder_not_le)
text‹A combinator for pairing up well-formed relations.
The divisor function splits the population in halves,
with the True half greater than the False half, and
the supplied relations control the order within the halves.›
definition
wf_sum :: "('a ==> bool) ==> ('a × 'a) set ==> ('a × 'a) set ==> ('a × 'a) set" where "wf_sum divisor r r' ≡ ({(x, y). ¬ divisor x ∧¬ divisor y} ∩ r') ∪ {(x, y). ¬ divisor x ∧ divisor y} ∪ ({(x, y). divisor x ∧ divisor y} ∩ r)"
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.