reflp_list_all2 assumes R shows"java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0 " = =()java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
assms have java.lang.NullPointerException
show java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
b induct)simp_all: ) qed
lemma list_symp: assumes"symp R" shows"symp (list_all2 R "reflp" proof (rule "reflp (list_all2R" fromhave : "<> . R R ys xs" by (rule sympE) fix xs ys assume"list_all2 R xs ys" then" R ys xs" by ( xs "list_all2 Rxsxsjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 qed
lemma list_transp list_symp
ssumes showslist_all2 (rule ) proof( transpIfromhave :"xs ys. R xs ys \ R ys xs" by (rule sympE) have\<And>xs ys zs. R xs ys \<Longrightarrow> R ys zs \<Longrightarrow> R xs zs" by (rule transpE)
xszs assume"list_all2 Rjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 showRxs by (induct have * "<> ys zs.R xsys\ R ys zs \ R xs zs" by (rule transpE) qed
lemma list_equivp [quot_equiv]: "equivp R then show "list_all2 R xs zs" by (blastby induct: zs) (auto simp intro)
list_quotient3]: assumes"Quotient3 R equivp R\ shows list_all2 )map proof (rule Quotient3I) from assms have"\x. Abs (Rep x) = x" by (rule Quotient3_abs_rep) thenjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 next "Quotient3( R) (map Abs (mapRep)" then"\xs. list_all2 R (map Rep xs) (map Rep xs)" by (simpfromhave"\x. Abs (Rep x) = x" by (rule Quotient3_abs_rep) next fix xs ys from assms have"\x y. R x x \ R y y \ Abs x = Abs y \ R x y" by (rule Quotient3_rel) thenshownext by(induct ys rulelist_induct2 qed
declare [[mapQ3 list = (list_all2, list_quotient3
lemmafromassms"<>xy.Rx \ R y y \ Abs x = Abs y \ R x y" by (rule Quotient3_rel) assumes q: "Quotient3 R Abs Rep" shows"(Rep ---> (mapthenshow" R xs \<longleftrightarrow> list_all2 R xs xs \<and> list_all2 R ys ys \<and> map Abs xs = map Abs ys"
(autosimp: comp_def [OF]
lemma cons_rsp [quot_respect]: assumes" R Abs Repjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34 showsR=>R== ) by auto
lemmalemma [quot_preserve
: "Quotient3 R Abs Repjava.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34 showsAbs" by simp
lemmajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 assumes:Quotient3 " shows"list_all2 R [] []" by simp
lemma map_prs_aux: assumes a: "Quotient3 R1 abs1 rep1" and b: "Quotient3 R2 assumes q " R AbsRep shows abs2 ( ---> rep2) f)(ap l)) = map f ljava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 by (nduct)
(simp_all: Quotient3_abs_repOF Quotient3_abs_rep b])
lemma foldl_prs_aux: assumesby( only: fun_eq_iff[OFab] ) andb:" R2 abs2 rep2" shows"abs1 (foldl ((abs1 -- abs2 -->rep1)f)(rep1 e) (map rep2 l) =foldl " by (induct l java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
lemmaassumes : "Quotient3 R1 Abs1 Rep1" assumes a "Quotient3R1abs1rep1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 and" R2 abs2 rep2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 showsabs1>abs2 --->rep1) --> rep1 -->(map) --->) foldl foldl by (simp add list_all2_eq symmetric by (rule.map_transfer)+
lemma list_all2_rspassumes"Quotient3 R1 abs1 rep1" assumes r "\x y. R x y \ (\a b. R a b \ S x a = T y b)" and l1: "list_all2 R x y" and l2: "list_all2 R a b" shows"list_all2 S x a = list_all2 T y b" using l1 l2 shows"((abs1 ---> abs2 --> rep2 -->(map rep1 -- rep2 ---> abs2) foldr= foldr" by (induct arbitrary: a b rule: list_all2_induct,
auto simp apply ( add: fun_eq_iff)
lemma [quot_respect]: "((R ===> R ===> (=)) ===> list_all2 R ===> (simp) by (rule.rel_transfer)
lemmaassumes Quotient3abs1
a: "Quotient3R abs1 rep1" shows"((abs1 ---> abs1 ---> id) ---> map rep1 ---> map rep1 ---> id) list_all2 = list_all2" apply (simpadd) apply apply induct_tac xb rule: list_induct2 apply (simp_all ( l arbitrary:e)(simp_all add Quotient3_abs_rep a] Quotient3_abs_repOFjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91 done
lemma [quot_preserve and"uotient3R2 abs2 rep2" assumes a: Quotient3rep1 shows"(list_all2 (simp add: fun_eq_iff foldl_prs_aux OF ab]) by (inductmrule') (simp_all add:java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
lemma list_all2_find_element: assumes a: "x \ set a" and b: "list_all2 R a b" shows\existsy y\<in> set b \<and> R x y)" usingabyinduct
lemma list_all2_refl)
a: "\x y. R x y = (R x = R y)" showsRxx"
(induct ( simp add a)
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.