Skip to content

Commit

Permalink
Additional substitution extension law
Browse files Browse the repository at this point in the history
  • Loading branch information
simondfoster committed Jan 17, 2025
1 parent 30a15eb commit 747730b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Extension.thy
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ lemma apply_subst_ext [alpha]:
"vwb_lens x \<Longrightarrow> (\<sigma> \<dagger> e) \<up> x = (\<sigma> \<up>\<^sub>s x) \<dagger> (e \<up> x)"
by (expr_auto)

lemma subst_aext_compose [alpha]: "(\<sigma> \<up>\<^sub>s x) \<up>\<^sub>s y = \<sigma> \<up>\<^sub>s y:x"
by (expr_simp)

lemma subst_aext_comp [usubst]:
"vwb_lens a \<Longrightarrow> (\<sigma> \<up>\<^sub>s a) \<circ>\<^sub>s (\<rho> \<up>\<^sub>s a) = (\<sigma> \<circ>\<^sub>s \<rho>) \<up>\<^sub>s a"
by expr_auto
Expand Down

0 comments on commit 747730b

Please sign in to comment.