coq: add value requirement in E-App2
This commit is contained in:
parent
9c17e9e642
commit
719cb8ec4a
1 changed files with 3 additions and 2 deletions
|
@ -52,9 +52,10 @@ Inductive beta_step : expr_term -> expr_term -> Prop :=
|
||||||
e1 -->β e1' ->
|
e1 -->β e1' ->
|
||||||
(expr_app e1 e2) -->β (expr_app e1' e2)
|
(expr_app e1 e2) -->β (expr_app e1' e2)
|
||||||
|
|
||||||
| E_App2 : forall e1 e2 e2',
|
| E_App2 : forall v1 e2 e2',
|
||||||
|
(is_value v1) ->
|
||||||
e2 -->β e2' ->
|
e2 -->β e2' ->
|
||||||
(expr_app e1 e2) -->β (expr_app e1 e2')
|
(expr_app v1 e2) -->β (expr_app v1 e2')
|
||||||
|
|
||||||
| E_TypApp : forall e e' τ,
|
| E_TypApp : forall e e' τ,
|
||||||
e -->β e' ->
|
e -->β e' ->
|
||||||
|
|
Loading…
Reference in a new issue