TheHoTTGame/1FundamentalGroup/Quest0SideQuests/TrueNotFalseSolutions.agda

27 lines
630 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.Quest0SideQuests.TrueNotFalseSolutions where
open import Cubical.Data.Empty
open import Cubical.Data.Unit renaming ( Unit to )
open import Cubical.Data.Bool using (Bool ; true ; false)
open import Cubical.Foundations.Prelude
true≢false : true false
true≢false h = transport ⊤≡⊥ tt where
propify : Bool Type
propify false =
propify true =
⊤≡⊥ :
⊤≡⊥ = cong propify h
{- transport
To follow a point in `a : A` along a path `p : A ≡ B`
we use
transport : {A B : Type u} → A ≡ B → A → B
Why do we propify? Discuss.
-}