auto gitdoc commit

This commit is contained in:
Michael Zhang 2024-04-22 02:57:11 +00:00
parent 9b55a90c5e
commit fc151b6421
7 changed files with 8 additions and 70 deletions

View file

@ -1,8 +0,0 @@
module Dedekind.Bool where
-- Booleans
data Bool : Set where
true : Bool
false : Bool

View file

@ -1,8 +0,0 @@
module Dedekind.Integer where
open import Dedekind.Natural using ()
-- Integers
data : Set where
pos :
negsuc :

View file

@ -1,15 +0,0 @@
module Dedekind.Natural where
open import Dedekind.Set using (; )
-- Natural
data : Set where
zero :
suc :
NonZero : Set
NonZero zero =
NonZero (suc n) =
gcd : (x y : ) .{{ _ : NonZero x }} .{{ _ : NonZero y }}
gcd x y = ?

View file

@ -1,12 +0,0 @@
module Dedekind.Rational where
open import Dedekind.Bool using (Bool)
open import Dedekind.Integer using ()
open import Dedekind.Natural using (; NonZero)
-- Rational
data : Set where
rat : (d : ) .{{ _ : NonZero d }}
_<_ : Bool
x < y = ?

View file

@ -1,20 +0,0 @@
-- Dedekind cuts using Cubical Agda
{-# OPTIONS --cubical #-}
module Dedekind.Real where
open import Dedekind.Rational using (; _<_)
-- Dedekind cuts
record : Set where
constructor real
field
lower : ( Bool)
closed : (x y : ) x < y
-- Operations on reals
_+_ :
a + b = real
(λ q .lower a q)
-- Properties of reals

View file

@ -1,6 +0,0 @@
module Dedekind.Set where
record : Set where
record : Set where
instance constructor tt

View file

@ -14,13 +14,20 @@ isSet : (A : Set) → Set
isSet A = (x y : A) → (p q : x ≡ y) → p ≡ q
```
### Example 3.1.1
### Example 3.1.2
```
𝟙-is-Set : isSet 𝟙
𝟙-is-Set tt tt p q = {! !}
```
### Example 3.1.3
```
⊥-is-Set : isSet ⊥
⊥-is-Set () () p q
```
## 3.2 Propositions as types?
## 3.4 Classical vs. intuitionistic logic