additional files
This commit is contained in:
parent
2232600ed1
commit
f809bde68d
27
agda-experiments/MLTT/Universes.agda
Normal file
27
agda-experiments/MLTT/Universes.agda
Normal file
@ -0,0 +1,27 @@
|
||||
{-# OPTIONS --safe --without-K #-}
|
||||
|
||||
module MLTT.Universes where
|
||||
|
||||
open import Agda.Primitive public
|
||||
using (_⊔_)
|
||||
renaming (lzero to 𝓤₀
|
||||
; lsuc to _⁺
|
||||
; Level to Universe
|
||||
; Setω to 𝓤ω
|
||||
)
|
||||
|
||||
variable
|
||||
𝓤 𝓥 𝓦 𝓣 𝓤' 𝓥' 𝓦' 𝓣' : Universe
|
||||
|
||||
|
||||
_̇ : (𝓤 : Universe) → Set (𝓤 ⁺)
|
||||
𝓤 ̇ = Set 𝓤
|
||||
|
||||
𝓤₁ = 𝓤₀ ⁺
|
||||
𝓤₂ = 𝓤₁ ⁺
|
||||
|
||||
_⁺⁺ : Universe → Universe
|
||||
𝓤 ⁺⁺ = 𝓤 ⁺ ⁺
|
||||
|
||||
infix 1 _̇
|
||||
|
||||
27
agda-experiments/about-agda-experiments.md
Normal file
27
agda-experiments/about-agda-experiments.md
Normal file
@ -0,0 +1,27 @@
|
||||
# Installing Agda
|
||||
|
||||
I added these lines to my configuration.nixos to get a workable Agda installation:
|
||||
|
||||
(agda.withPackages (p: [ p.standard-library ]))
|
||||
|
||||
but there were a few issues, so I removed that and installed with
|
||||
cabal update
|
||||
cabal install Agda
|
||||
which seemed to work nicely after some hackery with zlib, and installing the standard libraries.
|
||||
|
||||
# Owen's Geolog definitions
|
||||
|
||||
Owen.agda : Definitions fom Owen's first two lectures about Geolog.
|
||||
|
||||
These set up the basic machinery for contexts (signatures), theories and interpolation.
|
||||
|
||||
Compile with:
|
||||
agda -c --no-main Owen.agda
|
||||
|
||||
# HoTT definitions from Martin Escardo's book "Univalent Foundations" https://arxiv.org/pdf/1911.00580
|
||||
|
||||
agda -c --no-main MLTT/Universe.agda
|
||||
|
||||
Escardo defines everything from the ground up with his own concepts of sets, universes etc.,
|
||||
independently of the standard library.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user