Mentions légales du service

Skip to content
Snippets Groups Projects
Commit afa06c6a authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Comments.

parent 7cd2fe8f
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,8 @@ Instance SubstLemmas_term : SubstLemmas term. derive. Qed.
(* A demo of the tactics [autosubst] and [asimpl]. *)
(* (λx. x y)[σ] = (λx. x y[⇑σ]) *)
Goal
forall sigma,
(Lam (App (Var 0) (Var 1))).[sigma] =
......@@ -106,6 +108,7 @@ Inductive red : term -> term -> Prop :=
forall t1 t2 u,
t1.[t2/] = u ->
red (App (Lam t1) t2) u
(* (λx.t1) t2 [t2/x]t1 *)
(* Reduction in the left-hand side of an application. *)
| RedAppL:
......@@ -144,9 +147,11 @@ Local Hint Extern 1 (_ = _) => autosubst : autosubst.
Definition Delta :=
Lam (App (Var 0) (Var 0)).
(* Δ := λx.(x x) *)
Definition Omega :=
App Delta Delta.
(* Ω := (Δ Δ) *)
Goal
red Omega Omega.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment