Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
dtraytel committed Sep 27, 2024
1 parent 087af5b commit 24212c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions thys/Pi_Calculus/Pi_Transition_Early.thy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ inductive trans :: "trm \<Rightarrow> cmt \<Rightarrow> bool" where
| ScopeBound: "\<lbrakk> trans P (Bout a x P') ; y \<notin> {a, x} ; x \<notin> FFVars P \<union> {a} \<rbrakk> \<Longrightarrow> trans (Res y P) (Bout a x (Res y P'))"
| ParLeft: "\<lbrakk> trans P (Cmt \<alpha> P') ; bns \<alpha> \<inter> (FFVars P \<union> FFVars Q) = {} \<rbrakk> \<Longrightarrow> trans (P \<parallel> Q) (Cmt \<alpha> (P' \<parallel> Q))"

(*
lemma "B = bvars \<alpha>' \<Longrightarrow> P = Paa \<parallel> Qaa \<Longrightarrow> Q = Cmt \<alpha>' (P'a \<parallel> Qaa) \<Longrightarrow> R Paa (Cmt \<alpha>' P'a) \<Longrightarrow>
bvars \<alpha>' \<inter> (FFVars Paa \<union> FFVars Qaa) = {} \<Longrightarrow>
\<exists>Pa \<alpha> P' Qa.
xa ` B = bvars \<alpha> \<and>
P = Pa \<parallel> Qa \<and>
Q = Cmt \<alpha> (P' \<parallel> Qa) \<and>
R Pa (Cmt \<alpha> P') \<and> bvars \<alpha> \<inter> FFVars Pa = {} \<and> bvars \<alpha> \<inter> FFVars Qa = {}"
apply (cases \<alpha>'; hypsubst_thin; unfold Cmt.simps bns.simps)
*)

binder_inductive trans
subgoal for R B \<sigma> x1 x2
apply simp
Expand Down

0 comments on commit 24212c7

Please sign in to comment.