mirror of
https://github.com/achlipala/frap.git
synced 2024-12-01 00:26:18 +00:00
Revising for tomorrow's lecture
This commit is contained in:
parent
f3211734b9
commit
c5a69b6253
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ Module Ulc.
|
||||||
|
|
||||||
(* Function application (called "beta reduction") is the big rule here. *)
|
(* Function application (called "beta reduction") is the big rule here. *)
|
||||||
Inductive step : exp -> exp -> Prop :=
|
Inductive step : exp -> exp -> Prop :=
|
||||||
| ContextBeta : forall x e v,
|
| Beta : forall x e v,
|
||||||
value v
|
value v
|
||||||
-> step (App (Abs x e) v) (subst v x e)
|
-> step (App (Abs x e) v) (subst v x e)
|
||||||
|
|
||||||
|
|
|
@ -279,7 +279,7 @@ Module Ulc.
|
||||||
(** * Small-step semantics *)
|
(** * Small-step semantics *)
|
||||||
|
|
||||||
Inductive step : exp -> exp -> Prop :=
|
Inductive step : exp -> exp -> Prop :=
|
||||||
| ContextBeta : forall x e v,
|
| Beta : forall x e v,
|
||||||
value v
|
value v
|
||||||
-> step (App (Abs x e) v) (subst v x e)
|
-> step (App (Abs x e) v) (subst v x e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue