Skip to content

Commit

Permalink
Merge pull request #2112 from ThomatoTomato/TruncatedLoopSpaces
Browse files Browse the repository at this point in the history
istrunc_self_implies_istrunc
  • Loading branch information
ThomatoTomato authored Oct 10, 2024
2 parents 9ed2b66 + 30fd00a commit f1b91d3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions theories/Basics/Trunc.v
Original file line number Diff line number Diff line change
Expand Up @@ -535,4 +535,13 @@ Proof.
exact (equiv_iff_hprop_uncurried (iff_contr_hprop A)).
Defined.

(** If a type [A] implies that it is [n.+1]-truncated, then it is [n.+1]-truncated. **)
Definition istrunc_self_implies_istrunc {n : trunc_index} {A : Type} (H : A -> IsTrunc n.+1 A)
: IsTrunc n.+1 A.
Proof.
apply istrunc_S.
intros a b.
exact (H a a b).
Defined.

(** If you are looking for a theorem about truncation, you may want to read the note "Finding Theorems" in "STYLE.md". *)

0 comments on commit f1b91d3

Please sign in to comment.