Homotopy Type Theory Sandbox (Rev #35, changes)

Showing changes from revision #34 to #35: Added | Removed | Changed

On foundations

The natural numbers are characterized by their induction principle (in second-order logic/in a higher universe/as an inductive type). If one only has a first order theory, then one cannot have an induction principle, and instead one has a entire category of models. Thus, the first order models of arithmetic typically found in classical logic and model theory do not define the natural numbers, and this is true even of first-order Peano arithmetic.

Real Closed numbers rational interval arithmetic

Lattices and σ\sigma-frames

The closed rational intervals are a subset of the product type ×\mathbb{Q} \times \mathbb{Q}, defined as:

A lattice is a set LL with terms :L\bot:L, :L\top:L and functions :L\wedge:L, :L\vee:L, such that

ClosedIntervals() (a,b):×(ab)\mathrm{ClosedIntervals}(\mathbb{Q}) \coloneqq \sum_{(a, b):\mathbb{Q} \times \mathbb{Q}} (a \leq b)
  • (L,,)(L, \top, \wedge) and (L,,)(L, \bot, \vee) are commutative monoids

  • \wedge and \vee are idempotent: for all terms a:La:L, aa=aa \wedge a = a and aa=aa \vee a = a

  • for all a:La:L and b:Lb:L, a(ab)=aa \wedge (a \vee b) = a and a(ab)=aa \vee (a \wedge b) = a

The elements [a,b]:ClosedIntervals()[a, b]:\mathrm{ClosedIntervals}(\mathbb{Q}) of the type are closed rational intervals.

A σ\sigma-complete lattice is a lattice LL with a function

n:()(n):(L)L\Vee_{n:\mathbb{N}} (-)(n): (\mathbb{N} \to L) \to L

such that

  • for all n:n:\mathbb{N} and s:Ls:\mathbb{N} \to L,
s(n)( n:s(n))=s(n)s(n) \wedge \left(\Vee_{n:\mathbb{N}} s(n)\right) = s(n)
  • for all x:Lx:L and s:Ls:\mathbb{N} \to L, if s(n)x=s(n)s(n) \wedge x = s(n) for all n:n:\mathbb{N}, then
(( n:s(n))x= n:s(n))\left(\left(\Vee_{n:\mathbb{N}} s(n)\right) \wedge x = \Vee_{n:\mathbb{N}} s(n)\right)

A σ\sigma-frame is a σ\sigma-complete lattice with a function 𝓉:(L×(L))L\mathcal{t}:(L \times (\mathbb{N} \to L)) \to \mathbb{N} \to L such that

  • for all x:Lx:L and s:Ls:\mathbb{N} \to L, 𝓉(x,s)(n)=xs(n)\mathcal{t}(x,s)(n) = x \wedge s(n)

  • for all x:Lx:L and s:Ls:\mathbb{N} \to L,

x( n:s(n))= n:t(x,s)(n)x \wedge \left(\Vee_{n:\mathbb{N}} s(n)\right) = \Vee_{n:\mathbb{N}} t(x,s)(n)

Sierpinski space

Sierpinski space Σ\Sigma is an initial σ\sigma-frame, and thus could be generated as a higher inductive type.

Revision on May 11, 2022 at 18:52:24 by Anonymous?. See the history of this page for a list of all contributions to it.