instance prod :: (group_add, group_add) group_add by standard (simp_all add: prod_eq_iff)
instance prod :: (ab_group_add, ab_group_add) ab_group_add by standard (simp_all add: prod_eq_iff)
lemma fst_sum: "fst (\x\A. f x) = (\x\A. fst (f x))" proof (cases "finite A") case True thenshow ?thesis by induct simp_all next case False thenshow ?thesis by simp qed
lemma snd_sum: "snd (\x\A. f x) = (\x\A. snd (f x))" proof (cases "finite A") case True thenshow ?thesis by induct simp_all next case False thenshow ?thesis by simp qed
lemma sum_prod: "(\x\A. (f x, g x)) = (\x\A. f x, \x\A. g x)" proof (cases "finite A") case True thenshow ?thesis by induct (simp_all add: zero_prod_def) next case False thenshow ?thesis by (simp add: zero_prod_def) qed
end
¤ Dauer der Verarbeitung: 0.14 Sekunden
(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.