Skip to main content

Nat algebras

GAT signature​

⦃ N : U
, z : N
, s : N ⇒ N
⦄

Algebras and Homomorphisms​

N-⁡Alg  :=\mathfrak{N}\operatorname-\mathsf{Alg}\;:=

  • N ⁣:SetN\colon\mathsf{Set}
  • NN
  • N→NN \to N

N-⁡Hom  (N0,z0,s0)  (N1,z1,s1)  :=\mathfrak{N}\operatorname-\mathsf{Hom}\;(N_0,z_0,s_0)\;(N_1,z_1,s_1)\;:=

  • NM ⁣:N0→N1N^M\colon N_0 \to N_1
  • NM(z0)=z1N^M(z_0) = z_1
  • (n ⁣:N0)→NM(s0  n)=s1(NM  n)(n \colon N_0) \to N^M (s_0\;n) = s_1 (N^M\; n)

Initial Algebra​

  • N:=Tm‾  N  (El  2)\mathbb{N} := \overline{\mathsf{Tm}}\;\mathfrak{N}\;(\mathsf{El}\;2)
  • zero:=1 ⁣:Tm‾  N  (El  2)zero := 1\colon \overline{\mathsf{Tm}}\;\mathfrak{N}\;(\mathsf{El}\;2)
  • succ:=λt.(0@t) ⁣:Tm‾  N  (El  2)→Tm‾  N  (El  2) succ := \lambda \mathbf{t}.(0 @ \mathbf{t}) \colon \overline{\mathsf{Tm}}\;\mathfrak{N}\;(\mathsf{El}\;2) \to \overline{\mathsf{Tm}}\;\mathfrak{N}\;(\mathsf{El}\;2)

Displayed Algebras and Sections​

N-⁡DAlg  (N,z,s)  :=\mathfrak{N}\operatorname-\mathsf{DAlg}\;(N,z,s)\;:=

  • ND ⁣:N→SetN^D \colon N \to \mathsf{Set}
  • ND  zN^D\;z
  • (n ⁣:N)→ND  n→ND(s  n)(n \colon N) \to N^D\;n \to N^D(s\;n)

N-⁡Sect  (N,z,s)  (ND,zD,sD)  :=\mathfrak{N}\operatorname-\mathsf{Sect}\;(N,z,s)\;(N^D,z^D,s^D)\;:=

  • NS ⁣:(n ⁣:N)→ND  nN^S \colon (n \colon N) \to N^D\;n
  • NS  z=zDN^S\;z = z^D
  • (n ⁣:N)→sD(NS  n)=NS(s  n)(n \colon N) \to s^D(N^S\;n) = N^S(s\;n)