TheHoTTGame/Trinitarianism/bin/AsProps/Quest0Solutions.agda

44 lines
827 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 Trinitarianism.Quest0Solutions where
open import Trinitarianism.Quest0Preamble
private
postulate
u : Level
data : Type u where
trivial :
data : Type u where
TrueToTrue :
TrueToTrue = λ x x
TrueToTrue' :
TrueToTrue' x = x
TrueToTrue'' :
TrueToTrue'' trivial = trivial
TrueToTrue''' :
TrueToTrue''' x = trivial
isZero : Type u
isZero zero =
isZero (suc n) =
ExistsZero : Σ isZero
ExistsZero = zero , trivial
AllZero→⊥ : ((x : ) isZero x)
AllZero→⊥ h = h 1
data __ (P Q : Type u) : Type u 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)