File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ Definition is_constructor n ts :=
54
54
end .
55
55
56
56
57
+ Definition mktApp f l :=
58
+ match l with
59
+ | nil => f
60
+ | l => tApp f l
61
+ end .
62
+
57
63
(** ** Big step version of weak cbv beta-zeta-iota-fix-delta reduction.
58
64
59
65
TODO: CoFixpoints *)
@@ -64,8 +70,7 @@ Section Wcbv.
64
70
65
71
Inductive eval : term -> term -> Prop :=
66
72
(** Reductions *)
67
- | eval_box : eval tBox tBox
68
-
73
+ | eval_box l : eval (mktApp tBox l) tBox
69
74
70
75
(** Beta *)
71
76
| eval_beta f na t b a a' l res :
@@ -144,7 +149,7 @@ Section Wcbv.
144
149
145
150
Lemma eval_evals_ind :
146
151
forall P : term -> term -> Prop,
147
- (P tBox tBox) ->
152
+ (forall l, P (mktApp tBox l) tBox) ->
148
153
(forall (f : term) (na : name) (t b a a' : term) (l : list term) (res : term),
149
154
eval f (tLambda na t b) ->
150
155
P f (tLambda na t b) ->
You can’t perform that action at this time.
0 commit comments