Cleaned up Trinitarianism. Added Trinitarianism.Quest0Solutions.agda.
This commit is contained in:
parent
0cd65c6cd9
commit
89844e7113
@ -1,8 +1,9 @@
|
||||
module Trinitarianism.Quest0 where
|
||||
open import Trinitarianism.Quest0Preamble
|
||||
|
||||
postulate
|
||||
u : Level
|
||||
private
|
||||
postulate
|
||||
u : Level
|
||||
|
||||
data ⊤ : Type u where
|
||||
trivial : ⊤
|
||||
|
30
Trinitarianism/Quest0Solutions.agda
Normal file
30
Trinitarianism/Quest0Solutions.agda
Normal file
@ -0,0 +1,30 @@
|
||||
module Trinitarianism.Quest0Solutions where
|
||||
open import Trinitarianism.Quest0Preamble
|
||||
|
||||
private
|
||||
postulate
|
||||
u : Level
|
||||
|
||||
data ⊤ : Type u where
|
||||
trivial : ⊤
|
||||
|
||||
TrueToTrue : ⊤ → ⊤
|
||||
TrueToTrue = λ x → x
|
||||
|
||||
TrueToTrue' : ⊤ → ⊤
|
||||
TrueToTrue' x = x
|
||||
|
||||
TrueToTrue'' : ⊤ → ⊤
|
||||
TrueToTrue'' trivial = trivial
|
||||
|
||||
TrueToTrue''' : ⊤ → ⊤
|
||||
TrueToTrue''' x = trivial
|
||||
|
||||
data ⊥ : Type u where
|
||||
|
||||
explosion : ⊥ → ⊤
|
||||
explosion x = {!!}
|
||||
|
||||
data ℕ : Type u where
|
||||
zero : ℕ
|
||||
suc : ℕ → ℕ
|
@ -1,10 +1,14 @@
|
||||
module Trinitarianism.AsProps.Quest0Solutions where
|
||||
open import Trinitarianism.AsProps.Quest0Preamble
|
||||
module Trinitarianism.Quest0Solutions where
|
||||
open import Trinitarianism.Quest0Preamble
|
||||
|
||||
data ⊤ : Prop where
|
||||
private
|
||||
postulate
|
||||
u : Level
|
||||
|
||||
data ⊤ : Type u where
|
||||
trivial : ⊤
|
||||
|
||||
data ⊥ : Prop where
|
||||
data ⊥ : Type u where
|
||||
|
||||
TrueToTrue : ⊤ → ⊤
|
||||
TrueToTrue = λ x → x
|
||||
@ -18,7 +22,7 @@ TrueToTrue'' trivial = trivial
|
||||
TrueToTrue''' : ⊤ → ⊤
|
||||
TrueToTrue''' x = trivial
|
||||
|
||||
isZero : ℕ → Prop
|
||||
isZero : ℕ → Type u
|
||||
isZero zero = ⊤
|
||||
isZero (suc n) = ⊥
|
||||
|
||||
@ -28,7 +32,7 @@ ExistsZero = zero , trivial
|
||||
AllZero→⊥ : ((x : ℕ) → isZero x) → ⊥
|
||||
AllZero→⊥ h = h 1
|
||||
|
||||
data _∨_ (P Q : Prop) : Prop where
|
||||
data _∨_ (P Q : Type u) : Type u where
|
||||
left : P → P ∨ Q
|
||||
right : Q → P ∨ Q
|
||||
|
BIN
_build/2.6.3/agda/Trinitarianism/Quest0Solutions.agdai
Normal file
BIN
_build/2.6.3/agda/Trinitarianism/Quest0Solutions.agdai
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user