Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions utp_pred.thy
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ subsection \<open> Lattice syntax \<close>

text \<open> In accordance with \cite{hoare1998}, we turn the lattice operators upside down \<close>

bundle utp_lattice_syntax
bundle UTP_lattice_syntax
begin

notation
Expand All @@ -128,7 +128,25 @@ syntax

end

unbundle utp_lattice_syntax
bundle no_UTP_lattice_syntax
begin

no_notation
bot ("\<top>") and
top ("\<bottom>") and
inf (infixl "\<squnion>" 70) and
sup (infixl "\<sqinter>" 65) and
Inf ("\<Squnion> _" [900] 900) and
Sup ("\<Sqinter> _" [900] 900)

no_syntax
"_INF1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_./ _)" [0, 10] 10)
"_INF" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10)
"_SUP1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_./ _)" [0, 10] 10)
"_SUP" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10)
end

unbundle UTP_lattice_syntax

subsection \<open> Substitution Laws \<close>

Expand Down