added Iso symbol and edits on trinitarianis/quest3
This commit is contained in:
parent
734b1a6a61
commit
12c7044889
@ -5,5 +5,7 @@ open import 0Trinitarianism.Preambles.P3
|
||||
_+_ : ℕ → ℕ → ℕ
|
||||
n + m = {!!}
|
||||
|
||||
SumOfEven : (x : Σ ℕ isEven) → (y : Σ ℕ isEven) → isEven (x .fst + y .fst)
|
||||
SumOfEven x y = {!!}
|
||||
{-
|
||||
Write here you proof that the sum of
|
||||
even naturals is even.
|
||||
-}
|
||||
|
@ -10,13 +10,13 @@ _+'_ : ℕ → ℕ → ℕ
|
||||
zero +' n = n
|
||||
suc m +' n = suc (m +' n)
|
||||
|
||||
SumOfEven : (x : Σ ℕ isEven) → (y : Σ ℕ isEven) → isEven (x .fst + y .fst)
|
||||
SumOfEven : (x y : Σ ℕ isEven) → isEven (x .fst + y .fst)
|
||||
SumOfEven x (zero , hy) = x .snd
|
||||
SumOfEven x (suc (suc y) , hy) = SumOfEven x (y , hy)
|
||||
|
||||
{-
|
||||
|
||||
Sum'OfEven : (x : Σ ℕ isEven) → (y : Σ ℕ isEven) → isEven (x .fst +' y .fst)
|
||||
Sum'OfEven : (x y : Σ ℕ isEven) → isEven (x .fst +' y .fst)
|
||||
Sum'OfEven x (zero , hy) = x .snd
|
||||
Sum'OfEven x (suc (suc y) , hy) = Sum'OfEven x (y , hy)
|
||||
|
||||
|
@ -2,7 +2,7 @@ module 1FundamentalGroup.Preambles.P2 where
|
||||
|
||||
open import Cubical.Data.Nat public
|
||||
open import Cubical.Data.Int using (ℤ ; pos ; negsuc ; -_) public
|
||||
open import Cubical.Foundations.Isomorphism public
|
||||
open import Cubical.Foundations.Isomorphism renaming (Iso to _≅_) public
|
||||
open import Cubical.Foundations.Prelude renaming (subst to endPt) public
|
||||
open import Cubical.HITs.S1 using (S¹ ; base ; loop) public
|
||||
open import 1FundamentalGroup.Quest1Solutions public
|
||||
|
@ -12,7 +12,7 @@ predℤ (pos zero) = negsuc zero
|
||||
predℤ (pos (suc n)) = pos n
|
||||
predℤ (negsuc n) = negsuc (suc n)
|
||||
|
||||
sucℤIso : Iso ℤ ℤ
|
||||
sucℤIso : ℤ ≅ ℤ
|
||||
sucℤIso = iso sucℤ predℤ s r where
|
||||
|
||||
s : section sucℤ predℤ
|
||||
|
BIN
_build/2.6.2/agda/0Trinitarianism/Preambles/P3.agdai
Normal file
BIN
_build/2.6.2/agda/0Trinitarianism/Preambles/P3.agdai
Normal file
Binary file not shown.
BIN
_build/2.6.2/agda/0Trinitarianism/Quest3Solutions.agdai
Normal file
BIN
_build/2.6.2/agda/0Trinitarianism/Quest3Solutions.agdai
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user