@@ -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... *)
751750Lemma NatRedInduction : NatRedInductionType.
752751Proof .
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... *)
823821Lemma NatRedEqInduction : NatRedEqInductionType.
824822Proof .
825823 intros ???? PRedEq PPropEq **; split; now apply (_NatRedEqInduction _ _ _ _ PRedEq PPropEq).
@@ -888,27 +886,6 @@ Section BoolRedTm.
888886Scheme BoolRedTm_mut_rect := Induction for BoolRedTm Sort Type.
889887Scheme 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
913890Definition nf {l Γ A n} {NA : [Γ ||-Bool A]< l > } : @BoolRedTm _ _ _ NA n -> term.
914891Proof .
@@ -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.
959935Scheme BoolRedTmEq_mut_rect := Induction for BoolRedTmEq Sort Type.
960936Scheme 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- *)
988938End BoolRedTmEq.
989939Arguments BoolRedTmEq {_ _ _ _ _ _ _ _ _ _}.
990940Arguments BoolPropEq {_ _ _ _ _ _ _}.
@@ -1759,7 +1709,6 @@ Section EmptyPropProperties.
17591709
17601710End EmptyPropProperties.
17611711
1762- (* A&Y: We prove the hand-crafted induction principles here: *)
17631712
17641713Lemma EmptyRedInduction :
17651714 forall {ta : tag} {H : WfType ta} {H0 : RedType ta} {H1 : Typing ta}
0 commit comments