File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 161161
162162unbundle utp_lattice_syntax
163163
164+ text \<open> The laws for applying functional infimum hamper proof automation. We therefore remove these
165+ laws from the simplifer, and instead add their definitional equations to the predicate laws. \<close>
166+
167+ declare Inf_apply [ simp del ]
168+ declare INF_apply [ simp del ]
169+
170+ declare Sup_apply [ simp del ]
171+ declare SUP_apply [ simp del ]
172+
173+ declare Inf_fun_def [ pred ]
174+ declare Sup_fun_def [ pred ]
175+
164176subsection \<open> Substitution Laws \<close>
165177
166178lemma subst_pred [ usubst ]:
Original file line number Diff line number Diff line change @@ -508,15 +508,15 @@ lemma ustar_rep_eq [rel]: "\<lbrakk>P\<^sup>\<star>\<rbrakk>\<^sub>U = \<lbrakk>
508508proof
509509 have "((a, b) \<in> \<lbrakk>P\<rbrakk>\<^sub>U\<^sup>*) \<Longrightarrow> (a,b) \<in> \<lbrakk>P\<^sup>\<star>\<rbrakk>\<^sub>U" for a b
510510 apply ( induct rule : rtrancl.induct )
511- apply ( simp_all add : pred_rel_def ustar_def )
511+ apply ( simp_all add : pred_rel_def ustar_def Sup_apply )
512512 apply ( metis ( full_types ) power.power.power_0 prod.simps ( 2 ) skip_def )
513513 apply ( metis ( mono_tags , lifting ) case_prodI upred_semiring.power_Suc2 utp_rel.seq_def )
514514 done
515515 then show "\<lbrakk>P\<rbrakk>\<^sub>U\<^sup>* \<subseteq> \<lbrakk>P\<^sup>\<star>\<rbrakk>\<^sub>U"
516516 by auto
517517next
518518 have "((a, b) \<in> \<lbrakk>P\<^sup>\<star>\<rbrakk>\<^sub>U) \<Longrightarrow> (a,b) \<in> \<lbrakk>P\<rbrakk>\<^sub>U\<^sup>*" for a b
519- apply ( simp add : ustar_def pred_rel_def )
519+ apply ( simp add : ustar_def pred_rel_def Sup_apply )
520520 apply ( metis mem_Collect_eq pred_rel_def rtrancl_power upower_interp )
521521 done
522522 then show "\<lbrakk>P\<^sup>\<star>\<rbrakk>\<^sub>U \<subseteq> \<lbrakk>P\<rbrakk>\<^sub>U\<^sup>*"
You can’t perform that action at this time.
0 commit comments