TheHoTTGame/Trinitarianism/AsProps/Quest0Solutions.agda
2021-07-19 16:44:18 +01:00

40 lines
822 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 TheHoTTGame.Trinitarianism.AsProps.Quest0Solutions where
open import TheHoTTGame.Trinitarianism.AsProps.Quest0Preamble
data : Prop where
trivial :
data : Prop where
TrueToTrue :
TrueToTrue = λ x x
TrueToTrue' :
TrueToTrue' x = x
TrueToTrue'' :
TrueToTrue'' trivial = trivial
TrueToTrue''' :
TrueToTrue''' x = trivial
isZero : Prop
isZero zero =
isZero (suc n) =
ExistsZero : Σ isZero
ExistsZero = zero , trivial
AllZero→⊥ : ((x : ) isZero x)
AllZero→⊥ h = h 1
data __ (P Q : Prop) : Prop where
left : P P Q
right : Q P Q
DecidableIsZero : (n : ) (isZero n) (isZero n )
DecidableIsZero zero = left trivial
DecidableIsZero (suc n) = right (λ x x)