File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,10 @@ Arguments trunctype_istrunc [_] _.
420420
421421Coercion trunctype_type : TruncType >-> Sortclass.
422422
423+ (* This hint is required to be able to use cumulativity of inductive types together with first-order approximation for polymorphic hints. *)
424+ Hint Extern 100 (IsTrunc_internal (trunctype_type ?A) _)
425+ => (exact (trunctype_istrunc A)) : typeclass_instances.
426+
423427Notation "n -Type " := (TruncType n) : type_scope.
424428Notation HProp := (-1)-Type.
425429Notation HSet := 0-Type.
Original file line number Diff line number Diff line change @@ -368,8 +368,8 @@ Proof.
368368 assert (embId : IsEmbedding (fun a : A => a)) by rapply istruncmap_mapinO_tr.
369369 pose proof (mD := Di (X * A) (Y * A) (functor_prod j equiv_idmap)
370370 (istruncmap_functor_prod@{u v t t ut vt uvt uvt uv t} _ _ _) (uncurry f)).
371- revert mD .
372- rapply Trunc_rec@{utvw utvw}.
371+ pose proof (HP := _ : IsHProp (merely@{utvw} {f' : Y -> A -> D & (fun x : X => f' (j x)) == f})) .
372+ rapply ( Trunc_rec@{utvw utvw} (IsTrunc0 := HP) _ mD) .
373373 intros [g e].
374374 apply tr.
375375 refine (fun y a => g (y, a); _).
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ Section LexMeet.
296296 apply mapinO_compose.
297297 2:rapply mapinO_isequiv.
298298 apply IHn.
299- - rapply mapinO_diagonal.
299+ - apply mapinO_diagonal.
300300 pose (O_eq_Tr n.+1).
301301 rapply (mapinO_O_leq _ (Sep (Tr n.+1))).
302302 - apply plusconnmap_diagonal; assumption.
You can’t perform that action at this time.
0 commit comments