Skip to content

Commit

Permalink
chore: remove useless hlevel bumping (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia authored Dec 11, 2023
1 parent 2272186 commit 028b310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/List.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ We use this to prove that lists preserve h-levels for $n \ge 2$, i.e. if
Code-is-hlevel {x ∷ x₁} {x₂ ∷ y} = ×-is-hlevel (suc n) (ahl _ _) Code-is-hlevel

instance
H-Level-List : {n} {k} ⦃ H-Level A (2 + n) ⦄ H-Level (List A) (2 + n + k)
H-Level-List : {n} ⦃ H-Level A (2 + n) ⦄ H-Level (List A) (2 + n)
H-Level-List {n = n} ⦃ x ⦄ =
basic-instance (2 + n) (List-is-hlevel n (H-Level.has-hlevel x))
record { has-hlevel = List-is-hlevel n (H-Level.has-hlevel x) }

is-set→List-is-set : is-set A is-set (List A)
is-set→List-is-set = List-is-hlevel zero
Expand Down

0 comments on commit 028b310

Please sign in to comment.