-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc118c6
commit e4ede87
Showing
15 changed files
with
537 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Inductive FixCoFix : Type := Fix | CoFix. | ||
|
||
Axiom guard : FixCoFix -> global_env_ext -> context | ||
-> mfixpoint term -> Prop. | ||
|
||
Definition fix_guard := guard Fix. | ||
Definition cofix_guard := guard CoFix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Inductive red1 (Σ : global_env) (Γ : context) : term -> term -> Type := | ||
(** Reductions *) | ||
| red_beta na t b a : | ||
Σ ;;; Γ |- tApp (tLambda na t b) a ~> b {0 := a} | ||
|
||
| red_zeta na b t b' : | ||
Σ ;;; Γ |- tLetIn na b t b' ~> b' {0 := b} | ||
|
||
… | ||
(** Congruences*) | ||
| app_red_l M1 N1 M2 : Σ ;;; Γ |- M1 ~> N1 -> Σ ;;; Γ |- tApp M1 M2 ~> tApp N1 M2 | ||
| app_red_r M2 N2 M1 : Σ ;;; Γ |- M2 ~> N2 -> Σ ;;; Γ |- tApp M1 M2 ~> tApp M1 N2 | ||
… | ||
where " Σ ;;; Γ |- t ~> u " := (red1 Σ Γ t u). | ||
|
||
Definition red Σ Γ := clos_refl_trans (fun t u : term => Σ;;; Γ |- t ~> u). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Axiom normalisation : | ||
wf_ext Σ -> | ||
forall Γ t, | ||
welltyped Σ Γ t -> | ||
Acc (cored Σ Γ) t. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.