Skip to content

Commit fd6516f

Browse files
author
Martin Baillon
committed
Cleaning names
1 parent fba0a8a commit fd6516f

File tree

6 files changed

+2
-1667
lines changed

6 files changed

+2
-1667
lines changed

theories/GenericTyping.v

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,6 @@ Notation "[ |-[ ta ] Γ ≅ Δ ]< l >" := (ConvCtx (ta := ta) l Γ Δ) : typing
173173
tyr_wf_r tyr_wf_red tmr_wf_r tmr_wf_red
174174
: gen_typing.
175175

176-
(* #[export] Hint Extern 1 =>
177-
match goal with
178-
| H : [ _ |- _ ▹h _ ] |- _ => destruct H
179-
| H : [ _ |- _ ↘ _ ] |- _ => destruct H
180-
| H : [ _ |- _ ↘ _ : _ ] |- _ => destruct H
181-
| H : [ _ |- _ :≅: _ ] |- _ => destruct H
182-
| H : [ _ |- _ :≅: _ : _] |- _ => destruct H
183-
| H : [ _ |- _ :⤳*: _ ] |- _ => destruct H
184-
| H : [ _ |- _ :⤳*: _ : _ ] |- _ => destruct H
185-
end
186-
: gen_typing. *)
187-
188176
(** ** Properties of the abstract interface *)
189177

190178
Section GenericTyping.
@@ -1076,8 +1064,6 @@ Section GenericConsequences.
10761064
[Γ |- idterm A : arr A A]< l >.
10771065
Proof.
10781066
intros.
1079-
(* eapply ty_conv. *)
1080-
(* 2: eapply convty_simple_arr; cycle 1; tea. *)
10811067
eapply ty_lam; tea.
10821068
now eapply ty_var0.
10831069
Qed.

theories/LogicalRelation.v

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,6 @@ Let NatRedInductionType :=
747747
let ind' := polymorphise ind in
748748
exact ind').
749749

750-
(* KM: looks like there is a bunch of polymorphic universes appearing there... *)
751750
Lemma NatRedInduction : NatRedInductionType.
752751
Proof.
753752
intros ???? PRed PProp **; split; now apply (_NatRedInduction _ _ _ _ PRed PProp).
@@ -819,7 +818,6 @@ Let NatRedEqInductionType :=
819818
let ind' := polymorphise ind in
820819
exact ind').
821820

822-
(* KM: looks like there is a bunch of polymorphic universes appearing there... *)
823821
Lemma NatRedEqInduction : NatRedEqInductionType.
824822
Proof.
825823
intros ???? PRedEq PPropEq **; split; now apply (_NatRedEqInduction _ _ _ _ PRedEq PPropEq).
@@ -888,27 +886,6 @@ Section BoolRedTm.
888886
Scheme BoolRedTm_mut_rect := Induction for BoolRedTm Sort Type.
889887
Scheme BoolProp_mut_rect := Induction for BoolProp Sort Type.
890888

891-
(*Combined Scheme _BoolRedInduction from
892-
BoolRedTm_mut_rect,
893-
BoolProp_mut_rect.
894-
895-
Let _BoolRedInductionType :=
896-
ltac:(let ind := fresh "ind" in
897-
pose (ind := _BoolRedInduction);
898-
let ind_ty := type of ind in
899-
exact ind_ty).
900-
901-
Let BoolRedInductionType :=
902-
ltac: (let ind := eval cbv delta [_BoolRedInductionType] zeta
903-
in _BoolRedInductionType in
904-
let ind' := polymorphise ind in
905-
exact ind').
906-
907-
(* KM: looks like there is a bunch of polymorphic universes appearing there... *)
908-
Lemma BoolRedInduction : BoolRedInductionType.
909-
Proof.
910-
intros ???? PRed PProp **; split ; now apply (_BoolRedInduction _ _ _ _ PRed PProp).
911-
Defined.*)
912889

913890
Definition nf {l Γ A n} {NA : [Γ ||-Bool A]< l > } : @BoolRedTm _ _ _ NA n -> term.
914891
Proof.
@@ -938,7 +915,6 @@ Section BoolRedTmEq.
938915
`{RedTerm ta}.
939916

940917
Inductive BoolPropEq {l : wfLCon} {Γ : context} {A: term} {NA : BoolRedTy l Γ A} : term -> term -> Set :=
941-
(* KM: plugging in the parameter type directly... Is that ok ? *)
942918
| trueReq :
943919
BoolPropEq tTrue tTrue
944920
| falseReq :
@@ -959,32 +935,6 @@ Section BoolRedTmEq.
959935
Scheme BoolRedTmEq_mut_rect := Induction for BoolRedTmEq Sort Type.
960936
Scheme BoolPropEq_mut_rect := Induction for BoolPropEq Sort Type.
961937

962-
(*Combined Scheme _BoolRedInduction from
963-
BoolRedTmEq_mut_rect,
964-
BoolPropEq_mut_rect.
965-
966-
Combined Scheme _BoolRedEqInduction from
967-
BoolRedTmEq_mut_rect,
968-
BoolPropEq_mut_rect.
969-
970-
Let _BoolRedEqInductionType :=
971-
ltac:(let ind := fresh "ind" in
972-
pose (ind := _BoolRedEqInduction);
973-
let ind_ty := type of ind in
974-
exact ind_ty).
975-
976-
Let BoolRedEqInductionType :=
977-
ltac: (let ind := eval cbv delta [_BoolRedEqInductionType] zeta
978-
in _BoolRedEqInductionType in
979-
let ind' := polymorphise ind in
980-
exact ind').
981-
982-
(* KM: looks like there is a bunch of polymorphic universes appearing there... *)
983-
Lemma BoolRedEqInduction : BoolRedEqInductionType.
984-
Proof.
985-
intros ???? PRedEq PPropEq **; split; now apply (_BoolRedEqInduction _ _ _ _ PRedEq PPropEq).
986-
Defined.
987-
*)
988938
End BoolRedTmEq.
989939
Arguments BoolRedTmEq {_ _ _ _ _ _ _ _ _ _}.
990940
Arguments BoolPropEq {_ _ _ _ _ _ _}.
@@ -1759,7 +1709,6 @@ Section EmptyPropProperties.
17591709

17601710
End EmptyPropProperties.
17611711

1762-
(* A&Y: We prove the hand-crafted induction principles here: *)
17631712

17641713
Lemma EmptyRedInduction :
17651714
forall {ta : tag} {H : WfType ta} {H0 : RedType ta} {H1 : Typing ta}

0 commit comments

Comments
 (0)