(* Title: HOL/HOLCF/IOA/Compositionality.thy Author: Olaf Müller *)
section‹Compositionality of I/O automata› theory Compositionality imports CompoTraces begin
lemma compatibility_consequence3: "eA ⟶ A ==> eB ∧¬ eA ⟶¬ A ==> (eA ∨ eB) ⟶ A = eA" by auto
lemma Filter_actAisFilter_extA: "compatible A B ==> Forall (λa. a ∈ ext A ∨ a ∈ ext B) tr ==> Filter (λa. a ∈ act A) ⋅ tr = Filter (λa. a ∈ ext A) ⋅ tr" apply (rule ForallPFilterQR) text‹i.e.: ‹(∀x. P x ⟶ (Q x = R x)) ==> Forall P tr ==> Filter Q ⋅ tr = Filter R⋅ tr›\› prefer 2 apply assumption apply (rule compatibility_consequence3) apply (simp_all add: ext_is_act ext1_ext2_is_not_act1) done
text‹ The next two theorems are only necessary, as there is no theorem ‹ext (A ∥ B) = ext (B ∥ A)› ›
lemma compatibility_consequence4: "eA ⟶ A ==> eB ∧¬ eA ⟶¬ A ==> (eB ∨ eA) ⟶ A = eA" by auto
lemma Filter_actAisFilter_extA2: "compatible A B ==> Forall (λa. a ∈ ext B ∨ a ∈ ext A) tr ==> Filter (λa. a ∈ act A) ⋅ tr = Filter (λa. a ∈ ext A) ⋅ tr" apply (rule ForallPFilterQR) prefer 2 apply (assumption) apply (rule compatibility_consequence4) apply (simp_all add: ext_is_act ext1_ext2_is_not_act1) done
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.