1911
|
1 |
theory SingleLet
|
2024
|
2 |
imports "../NewParser"
|
1596
|
3 |
begin
|
|
4 |
|
|
5 |
atom_decl name
|
|
6 |
|
2288
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
7 |
ML {* print_depth 50 *}
|
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
8 |
declare [[STEPS = 19]]
|
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
9 |
|
1911
|
10 |
nominal_datatype trm =
|
|
11 |
Var "name"
|
|
12 |
| App "trm" "trm"
|
2024
|
13 |
| Lam x::"name" t::"trm" bind_set x in t
|
|
14 |
| Let a::"assg" t::"trm" bind_set "bn a" in t
|
1911
|
15 |
and assg =
|
|
16 |
As "name" "trm"
|
1596
|
17 |
binder
|
1911
|
18 |
bn::"assg \<Rightarrow> atom set"
|
1596
|
19 |
where
|
1911
|
20 |
"bn (As x t) = {atom x}"
|
|
21 |
|
2288
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
22 |
thm fv_trm_raw.simps[no_vars] fv_assg_raw.simps[no_vars] fv_bn_raw.simps[no_vars]
|
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
23 |
|
2107
5686d83db1f9
ingnored parameters in equivariance; added a proper interface to be called from ML
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
24 |
ML {* Inductive.the_inductive *}
|
1911
|
25 |
thm trm_assg.fv
|
|
26 |
thm trm_assg.supp
|
2024
|
27 |
thm trm_assg.eq_iff
|
1911
|
28 |
thm trm_assg.bn
|
|
29 |
thm trm_assg.perm
|
|
30 |
thm trm_assg.induct
|
|
31 |
thm trm_assg.inducts
|
|
32 |
thm trm_assg.distinct
|
|
33 |
ML {* Sign.of_sort @{theory} (@{typ trm}, @{sort fs}) *}
|
2288
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
34 |
|
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
35 |
(* TEMPORARY
|
2024
|
36 |
thm trm_assg.fv[simplified trm_assg.supp(1-2)]
|
2288
3b83960f9544
new fv/fv_bn function (supp breaks now); exported raw perms and raw funs into separate ML-files
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
37 |
*)
|
2064
2725853f43b9
solved the problem with equivariance by first eta-normalising the goal
Christian Urban <urbanc@in.tum.de>
diff
changeset
|
38 |
|
1596
|
39 |
|
2146
|
40 |
|
1596
|
41 |
end
|
|
42 |
|
|
43 |
|
|
44 |
|