(* Title: ZF/UNITY/Monotonicity.thy Author: Sidi O Ehmety, Cambridge University Computer Laboratory Copyright 2002 University of Cambridge
Monotonicity of an operator (meta-function) with respect to arbitrary set relations.
*)
section\<open>Monotonicity of an Operator WRT a Relation\<close>
theory Monotonicity imports GenPrefix MultisetSum begin
definition
mono1 :: "[i, i, i, i, i\i] \ o" where "mono1(A, r, B, s, f) \
(\<forall>x \<in> A. \<forall>y \<in> A. \<langle>x,y\<rangle> \<in> r \<longrightarrow> <f(x), f(y)> \<in> s) \<and> (\<forall>x \<in> A. f(x) \<in> B)"
(* monotonicity of a 2-place meta-function f *)
definition
mono2 :: "[i, i, i, i, i, i, [i,i]\i] \ o" where "mono2(A, r, B, s, C, t, f) \
(\<forall>x \<in> A. \<forall>y \<in> A. \<forall>u \<in> B. \<forall>v \<in> B. \<langle>x,y\<rangle> \<in> r \<and> \<langle>u,v\<rangle> \<in> s \<longrightarrow> <f(x,u), f(y,v)> \<in> t) \<and>
(\<forall>x \<in> A. \<forall>y \<in> B. f(x,y) \<in> C)"
(* Internalized relations on sets and multisets *)
definition
SetLe :: "i \i" where "SetLe(A) \ {\x,y\ \ Pow(A)*Pow(A). x \ y}"
definition
MultLe :: "[i,i] \i" where "MultLe(A, r) \ multirel(A, r - id(A)) \ id(Mult(A))"
lemma mono1D: "\mono1(A, r, B, s, f); \x, y\ \ r; x \ A; y \ A\ \ \ s" by (unfold mono1_def, auto)
lemma mono2D: "\mono2(A, r, B, s, C, t, f); \<langle>x, y\<rangle> \<in> r; \<langle>u,v\<rangle> \<in> s; x \<in> A; y \<in> A; u \<in> B; v \<in> B\<rbrakk> \<Longrightarrow> <f(x, u), f(y,v)> \<in> t" by (unfold mono2_def, auto)
lemma mono_succ [iff]: "mono1(nat, Le, nat, Le, succ)" by (unfold mono1_def Le_def, auto)
end
¤ 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.11Bemerkung:
(vorverarbeitet)
¤
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.