lemma psym_lens_compl [simp]: "psym_lens a ==> psym_lens (-L a)" apply (simp add: slens_compl_def) apply (rule psym_lens.intro) apply (simp_all) using lens_indep_sym psym_lens.indep_region_coregion apply blast using lens_indep_sym pbij_plus_commute psym_lens_def apply blast done
subsection‹ Symmetric Lenses ›
locale sym_lens = fixes S :: "<'a, 'b> ⟺ 's" (structure) assumes
vwb_region: "vwb_lens V"and
vwb_coregion: "vwb_lens C"and
indep_region_coregion: "V⋈C"and
bij_region_coregion: "bij_lens (V +LC)" begin
sublocale psym_lens proof (rule psym_lens.intro) show"mwb_lens V" by (simp add: vwb_region) show"mwb_lens C" by (simp add: vwb_coregion) show"V⋈C" using indep_region_coregion by blast show"pbij_lens (V +LC)" by (simp add: bij_region_coregion) qed
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.