author | Cezary Kaliszyk <kaliszyk@in.tum.de> |
Thu, 25 Mar 2010 10:44:14 +0100 | |
changeset 1641 | 0b47b699afe0 |
parent 1640 | cd5a6db05540 |
child 1642 | 06f44d498cef |
permissions | -rw-r--r-- |
1600 | 1 |
theory ExLet |
2 |
imports "Parser" |
|
3 |
begin |
|
4 |
||
5 |
text {* example 3 or example 5 from Terms.thy *} |
|
6 |
||
7 |
atom_decl name |
|
8 |
||
9 |
ML {* val _ = recursive := false *} |
|
10 |
nominal_datatype trm = |
|
11 |
Vr "name" |
|
12 |
| Ap "trm" "trm" |
|
13 |
| Lm x::"name" t::"trm" bind x in t |
|
1602
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
14 |
| Lt a::"lts" t::"trm" bind "bn a" in t |
1600 | 15 |
and lts = |
1602
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
16 |
Lnil |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
17 |
| Lcons "name" "trm" "lts" |
1600 | 18 |
binder |
19 |
bn |
|
20 |
where |
|
1602
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
21 |
"bn Lnil = {}" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
22 |
| "bn (Lcons x t l) = {atom x} \<union> (bn l)" |
1600 | 23 |
|
24 |
thm trm_lts.fv |
|
25 |
thm trm_lts.eq_iff |
|
26 |
thm trm_lts.bn |
|
27 |
thm trm_lts.perm |
|
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
28 |
thm trm_lts.induct[no_vars] |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
29 |
thm trm_lts.inducts[no_vars] |
1600 | 30 |
thm trm_lts.distinct |
31 |
thm trm_lts.fv[simplified trm_lts.supp] |
|
32 |
||
1639
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
33 |
consts |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
34 |
permute_bn :: "perm \<Rightarrow> lts \<Rightarrow> lts" |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
35 |
|
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
36 |
lemma test: |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
37 |
"permute_bn pi (Lnil) = Lnil" |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
38 |
"permute_bn pi (Lcons a t l) = Lcons (pi \<bullet> a) t (permute_bn pi l)" |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
39 |
sorry |
a98d03fb9d53
added experiemental permute_bn
Christian Urban <urbanc@in.tum.de>
parents:
1638
diff
changeset
|
40 |
|
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
41 |
lemma permute_bn_add: |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
42 |
"permute_bn (p + q) a = permute_bn p (permute_bn q a)" |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
43 |
oops |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
44 |
|
1641 | 45 |
lemma Lt_subst: |
46 |
"supp (Abs (bn lts) trm) \<sharp>* q \<Longrightarrow> (Lt lts trm) = Lt (permute_bn q lts) (q \<bullet> trm)" |
|
47 |
sorry |
|
48 |
||
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
49 |
lemma |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
50 |
fixes t::trm |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
51 |
and l::lts |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
52 |
and c::"'a::fs" |
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
53 |
assumes a1: "\<And>name c. P1 c (Vr name)" |
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
54 |
and a2: "\<And>trm1 trm2 c. \<lbrakk>\<And>d. P1 d trm1; \<And>d. P1 d trm2\<rbrakk> \<Longrightarrow> P1 c (Ap trm1 trm2)" |
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
55 |
and a3: "\<And>name trm c. \<lbrakk>atom name \<sharp> c; \<And>d. P1 d trm\<rbrakk> \<Longrightarrow> P1 c (Lm name trm)" |
1641 | 56 |
and a4: "\<And>lts trm c. \<lbrakk>bn lts \<sharp>* c; \<And>d. P2 d lts; \<And>d. P1 d trm\<rbrakk> \<Longrightarrow> P1 c (Lt lts trm)" |
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
57 |
and a5: "\<And>c. P2 c Lnil" |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
58 |
and a6: "\<And>name trm lts c. \<lbrakk>\<And>d. P1 d trm; \<And>d. P2 d lts\<rbrakk> \<Longrightarrow> P2 c (Lcons name trm lts)" |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
59 |
shows "P1 c t" and "P2 c l" |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
60 |
proof - |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
61 |
have "(\<And>(p::perm) (c::'a::fs). P1 c (p \<bullet> t))" and |
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
62 |
"(\<And>(p::perm) (q::perm) (c::'a::fs). P2 c (permute_bn p (q \<bullet> l)))" |
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
63 |
apply(induct rule: trm_lts.inducts) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
64 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
65 |
apply(rule a1) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
66 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
67 |
apply(rule a2) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
68 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
69 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
70 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
71 |
apply(subgoal_tac "\<exists>q. (q \<bullet> (atom (p \<bullet> name))) \<sharp> c \<and> supp (Lm (p \<bullet> name) (p \<bullet> trm)) \<sharp>* q") |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
72 |
apply(erule exE) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
73 |
apply(rule_tac t="Lm (p \<bullet> name) (p \<bullet> trm)" |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
74 |
and s="q\<bullet> Lm (p \<bullet> name) (p \<bullet> trm)" in subst) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
75 |
apply(rule supp_perm_eq) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
76 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
77 |
apply(simp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
78 |
apply(rule a3) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
79 |
apply(simp add: atom_eqvt) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
80 |
apply(subst permute_plus[symmetric]) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
81 |
apply(blast) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
82 |
apply(rule at_set_avoiding2_atom) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
83 |
apply(simp add: finite_supp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
84 |
apply(simp add: finite_supp) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
85 |
apply(simp add: fresh_def) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
86 |
apply(simp add: trm_lts.fv[simplified trm_lts.supp]) |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
87 |
apply(simp) |
1641 | 88 |
apply(subgoal_tac "\<exists>q. (bn (permute_bn q (p \<bullet> lts))) \<sharp>* c \<and> supp (Abs (bn (p \<bullet> lts)) (p \<bullet> trm)) \<sharp>* q") |
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
89 |
apply(erule exE) |
1641 | 90 |
apply(erule conjE) |
91 |
apply(subst Lt_subst) |
|
92 |
apply assumption |
|
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
93 |
apply(rule a4) |
1641 | 94 |
apply assumption |
95 |
apply (simp add: fresh_star_def fresh_def) |
|
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
96 |
apply(rotate_tac 1) |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
97 |
apply(drule_tac x="q + p" in meta_spec) |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
98 |
apply(simp) |
1641 | 99 |
(*apply(rule at_set_avoiding2) |
100 |
apply(simp add: finite_supp) |
|
101 |
apply(simp add: supp_Abs) |
|
102 |
apply(rule finite_Diff) |
|
103 |
apply(simp add: finite_supp) |
|
104 |
apply(simp add: fresh_star_def fresh_def supp_Abs)*) |
|
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
105 |
defer |
1641 | 106 |
apply(simp add: eqvts test) |
1640
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
107 |
apply(rule a5) |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
108 |
apply(simp add: test) |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
109 |
apply(rule a6) |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
110 |
apply simp |
cd5a6db05540
trying to prove the string induction for let.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1639
diff
changeset
|
111 |
apply simp |
1638
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
112 |
oops |
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
113 |
|
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
114 |
|
36798cdbc452
first attempt of strong induction for lets with assignments
Christian Urban <urbanc@in.tum.de>
parents:
1602
diff
changeset
|
115 |
|
1602
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
116 |
lemma lets_bla: |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
117 |
"x \<noteq> z \<Longrightarrow> y \<noteq> z \<Longrightarrow> x \<noteq> y \<Longrightarrow>(Lt (Lcons x (Vr y) Lnil) (Vr x)) \<noteq> (Lt (Lcons x (Vr z) Lnil) (Vr x))" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
118 |
by (simp add: trm_lts.eq_iff) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
119 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
120 |
lemma lets_ok: |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
121 |
"(Lt (Lcons x (Vr y) Lnil) (Vr x)) = (Lt (Lcons y (Vr y) Lnil) (Vr y))" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
122 |
apply (simp add: trm_lts.eq_iff) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
123 |
apply (rule_tac x="(x \<leftrightarrow> y)" in exI) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
124 |
apply (simp_all add: alphas) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
125 |
apply (simp add: fresh_star_def eqvts) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
126 |
done |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
127 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
128 |
lemma lets_ok3: |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
129 |
"x \<noteq> y \<Longrightarrow> |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
130 |
(Lt (Lcons x (Ap (Vr y) (Vr x)) (Lcons y (Vr y) Lnil)) (Ap (Vr x) (Vr y))) \<noteq> |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
131 |
(Lt (Lcons y (Ap (Vr x) (Vr y)) (Lcons x (Vr x) Lnil)) (Ap (Vr x) (Vr y)))" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
132 |
apply (simp add: alphas trm_lts.eq_iff) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
133 |
done |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
134 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
135 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
136 |
lemma lets_not_ok1: |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
137 |
"(Lt (Lcons x (Vr x) (Lcons y (Vr y) Lnil)) (Ap (Vr x) (Vr y))) = |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
138 |
(Lt (Lcons y (Vr x) (Lcons x (Vr y) Lnil)) (Ap (Vr x) (Vr y)))" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
139 |
apply (simp add: alphas trm_lts.eq_iff) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
140 |
apply (rule_tac x="0::perm" in exI) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
141 |
apply (simp add: fresh_star_def eqvts) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
142 |
apply blast |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
143 |
done |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
144 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
145 |
lemma lets_nok: |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
146 |
"x \<noteq> y \<Longrightarrow> x \<noteq> z \<Longrightarrow> z \<noteq> y \<Longrightarrow> |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
147 |
(Lt (Lcons x (Ap (Vr z) (Vr z)) (Lcons y (Vr z) Lnil)) (Ap (Vr x) (Vr y))) \<noteq> |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
148 |
(Lt (Lcons y (Vr z) (Lcons x (Ap (Vr z) (Vr z)) Lnil)) (Ap (Vr x) (Vr y)))" |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
149 |
apply (simp add: alphas trm_lts.eq_iff fresh_star_def) |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
150 |
done |
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
151 |
|
a7e60da429e2
Move Let properties to ExLet
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
1600
diff
changeset
|
152 |
|
1600 | 153 |
end |
154 |
||
155 |
||
156 |