TheHoTTGame/1FundamentalGroup/Quest1Solutions.agda
2021-09-28 14:40:40 +01:00

20 lines
522 B
Agda
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- ignore
module 1FundamentalGroup.Quest1Solutions where
open import 1FundamentalGroup.Preambles.P1
Ω : (A : Type) (a : A) Type
Ω A a = a a
loop_times : Ω base
loop pos zero times = refl
loop pos (suc n) times = loop pos n times loop
loop negsuc zero times = sym loop
loop negsuc (suc n) times = loop negsuc n times sym loop
¬isSetS¹ : isSet
¬isSetS¹ h = Refl≢loop (h base base Refl loop)
¬isPropS¹ : isProp
¬isPropS¹ h = ¬isSetS¹ (isProp→isSet h)