From 6ea31cc894388c10298d216062172f6ef1b9aa97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20D=C3=ADaz?= Date: Thu, 19 Sep 2019 11:42:09 -0300 Subject: [PATCH] Introduce main theorem --- ...pt_Forwarding_Broadcasting_Equivalence.thy | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Isabelle/Chi_Calculus_Examples/Filtering_On_Receipt_Forwarding_Broadcasting_Equivalence.thy b/Isabelle/Chi_Calculus_Examples/Filtering_On_Receipt_Forwarding_Broadcasting_Equivalence.thy index 2a0d4a9..e0e4be7 100644 --- a/Isabelle/Chi_Calculus_Examples/Filtering_On_Receipt_Forwarding_Broadcasting_Equivalence.thy +++ b/Isabelle/Chi_Calculus_Examples/Filtering_On_Receipt_Forwarding_Broadcasting_Equivalence.thy @@ -820,4 +820,30 @@ qed (*** END Communication.thy ***) +abbreviation diamond where + "diamond r\<^sub>0 s\<^sub>0 r\<^sub>1 s\<^sub>1 r\<^sub>2 s\<^sub>2 r\<^sub>3 s\<^sub>3 \ \ + \ l\<^sub>0\<^sub>1 l\<^sub>0\<^sub>2 l\<^sub>1\<^sub>3 l\<^sub>2\<^sub>3 l\<^sub>3\<^sub>0. ( + \\<^sup>*l\<^sub>0\<^sub>1 \ \\<^sup>*l\<^sub>0\<^sub>2 \ \\<^sup>*l\<^sub>1\<^sub>3 \ \\<^sup>*l\<^sub>2\<^sub>3 \ \\<^sup>*l\<^sub>3\<^sub>0 \ + \ \node 0\ \ ib\<^sub>0 ob\<^sub>0. (s\<^sub>0 \ ob\<^sub>0 \ ob\<^sub>0 \ [l\<^sub>0\<^sub>1, l\<^sub>0\<^sub>2] \ l\<^sub>3\<^sub>0 \ ib\<^sub>0 \ ib\<^sub>0 {\}\ [r\<^sub>0, ob\<^sub>0]) \ + \ \node 1\ \ ib\<^sub>1 ob\<^sub>1. (s\<^sub>1 \ ob\<^sub>1 \ ob\<^sub>1 \ [l\<^sub>1\<^sub>3] \ l\<^sub>0\<^sub>1 \ ib\<^sub>1 \ ib\<^sub>1 {\}\ [r\<^sub>1, ob\<^sub>1]) \ + \ \node 2\ \ ib\<^sub>2 ob\<^sub>2. (s\<^sub>2 \ ob\<^sub>2 \ ob\<^sub>2 \ [l\<^sub>2\<^sub>3] \ l\<^sub>0\<^sub>2 \ ib\<^sub>2 \ ib\<^sub>2 {\}\ [r\<^sub>2, ob\<^sub>2]) \ + \ \node 3\ \ ib\<^sub>3 ob\<^sub>3. (s\<^sub>3 \ ob\<^sub>3 \ ob\<^sub>3 \ [l\<^sub>3\<^sub>0] \ l\<^sub>1\<^sub>3 \ ib\<^sub>3 \ l\<^sub>2\<^sub>3 \ ib\<^sub>3 \ ib\<^sub>3 {\}\ [r\<^sub>3, ob\<^sub>3]) + )" + +abbreviation broadcast where + "broadcast r\<^sub>0 s\<^sub>0 r\<^sub>1 s\<^sub>1 r\<^sub>2 s\<^sub>2 r\<^sub>3 s\<^sub>3 \ \ + \ m. ( + \\<^sup>*m \ + \ \node 0\ s\<^sub>0 \ m \ m {\}\ r\<^sub>0 \ + \ \node 1\ s\<^sub>1 \ m \ m {\}\ r\<^sub>1 \ + \ \node 2\ s\<^sub>2 \ m \ m {\}\ r\<^sub>2 \ + \ \node 3\ s\<^sub>3 \ m \ m {\}\ r\<^sub>3 + )" + +theorem diamond_collapse: " + \\<^sup>?r\<^sub>0 \ \\<^sup>?r\<^sub>1 \ \\<^sup>?r\<^sub>2 \ \\<^sup>?r\<^sub>3 \ diamond r\<^sub>0 s\<^sub>0 r\<^sub>1 s\<^sub>1 r\<^sub>2 s\<^sub>2 r\<^sub>3 s\<^sub>3 \ + \\<^sub>\ + \\<^sup>?r\<^sub>0 \ \\<^sup>?r\<^sub>1 \ \\<^sup>?r\<^sub>2 \ \\<^sup>?r\<^sub>3 \ broadcast r\<^sub>0 s\<^sub>0 r\<^sub>1 s\<^sub>1 r\<^sub>2 s\<^sub>2 r\<^sub>3 s\<^sub>3 \" + sorry + end