File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 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 :=
5454 end .
5555
5656
57+ Definition mktApp f l :=
58+ match l with
59+ | nil => f
60+ | l => tApp f l
61+ end .
62+
5763(** ** Big step version of weak cbv beta-zeta-iota-fix-delta reduction.
5864
5965 TODO: CoFixpoints *)
@@ -64,8 +70,7 @@ Section Wcbv.
6470
6571 Inductive eval : term -> term -> Prop :=
6672 (** Reductions *)
67- | eval_box : eval tBox tBox
68-
73+ | eval_box l : eval (mktApp tBox l) tBox
6974
7075 (** Beta *)
7176 | eval_beta f na t b a a' l res :
@@ -144,7 +149,7 @@ Section Wcbv.
144149
145150 Lemma eval_evals_ind :
146151 forall P : term -> term -> Prop,
147- (P tBox tBox) ->
152+ (forall l, P (mktApp tBox l) tBox) ->
148153 (forall (f : term) (na : name) (t b a a' : term) (l : list term) (res : term),
149154 eval f (tLambda na t b) ->
150155 P f (tLambda na t b) ->
You can’t perform that action at this time.
0 commit comments