TheHoTTGame/1FundamentalGroup/Quest1.agda
2021-09-19 13:47:41 +01:00

17 lines
460 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.

module 1FundamentalGroup.Quest1 where
open import Cubical.Core.Everything
open import Cubical.HITs.S1
open import Cubical.Data.Nat
open import Cubical.Data.Int
open import Cubical.Foundations.Prelude
Ω : (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