nLab circle type

Contents

Context

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory

logicset theory (internal logic of)category theorytype theory
propositionsetobjecttype
predicatefamily of setsdisplay morphismdependent type
proofelementgeneralized elementterm/program
cut rulecomposition of classifying morphisms / pullback of display mapssubstitution
introduction rule for implicationcounit for hom-tensor adjunctionlambda
elimination rule for implicationunit for hom-tensor adjunctionapplication
cut elimination for implicationone of the zigzag identities for hom-tensor adjunctionbeta reduction
identity elimination for implicationthe other zigzag identity for hom-tensor adjunctioneta conversion
truesingletonterminal object/(-2)-truncated objecth-level 0-type/unit type
falseempty setinitial objectempty type
proposition, truth valuesubsingletonsubterminal object/(-1)-truncated objecth-proposition, mere proposition
logical conjunctioncartesian productproductproduct type
disjunctiondisjoint union (support of)coproduct ((-1)-truncation of)sum type (bracket type of)
implicationfunction set (into subsingleton)internal hom (into subterminal object)function type (into h-proposition)
negationfunction set into empty setinternal hom into initial objectfunction type into empty type
universal quantificationindexed cartesian product (of family of subsingletons)dependent product (of family of subterminal objects)dependent product type (of family of h-propositions)
existential quantificationindexed disjoint union (support of)dependent sum ((-1)-truncation of)dependent sum type (bracket type of)
logical equivalencebijection setobject of isomorphismsequivalence type
support setsupport object/(-1)-truncationpropositional truncation/bracket type
n-image of morphism into terminal object/n-truncationn-truncation modality
equalitydiagonal function/diagonal subset/diagonal relationpath space objectidentity type/path type
completely presented setsetdiscrete object/0-truncated objecth-level 2-type/set/h-set
setset with equivalence relationinternal 0-groupoidBishop set/setoid with its pseudo-equivalence relation an actual equivalence relation
equivalence class/quotient setquotientquotient type
inductioncolimitinductive type, W-type, M-type
higher inductionhigher colimithigher inductive type
-0-truncated higher colimitquotient inductive type
coinductionlimitcoinductive type
presettype without identity types
set of truth valuessubobject classifiertype of propositions
domain of discourseuniverseobject classifiertype universe
modalityclosure operator, (idempotent) monadmodal type theory, monad (in computer science)
linear logic(symmetric, closed) monoidal categorylinear type theory/quantum computation
proof netstring diagramquantum circuit
(absence of) contraction rule(absence of) diagonalno-cloning theorem
synthetic mathematicsdomain specific embedded programming language

homotopy levels

semantics

Contents

Idea

The circle type is an axiomatization of the homotopy type of the (shape of) the circle in the context of homotopy type theory.

Definition

As a higher inductive type, the circle is given by

Inductive Circle : Type
  | base : Circle
  | loop : Id Circle base base

This says that the type is inductively constructed from

  1. a term of circle type whose interpretation is as the base point of the circle,

  2. a term of the identity type of paths between these two terms, which interprets as the 1-cell of the circle

    baseloopbase base \stackrel{loop}{\to} base \,

    Hence a non-constant path from the base point to itself.

As a suspension

The circle type could also be defined as the suspension type Σ2\Sigma \mathbf{2} of the type of booleans 2\mathbf{2}.

As a coequalizer

The circle type could also be defined as the coequalizer type of any two endofunctions on the unit type

11S 1\mathbf{1} \rightrightarrows \mathbf{1} \to S^1

Using torsors

The circle can also be defined without HITs using only univalence, as the type of \mathbb{Z}-torsors. One can then prove that this type satisfies the same induction principle (propositionally). This is due to Dan Grayson.

Properties

Its induction principle says (e.g. UFP13, p. 177) that for

  • any P:S 1TypeP \colon S^1 \to Type

  • equipped with a point base:P(base)base' \colon P(base)

  • and a dependent path loop:base= loopbaseloop' \,\colon\, base' =_{loop} base',

there is f: (x:S 1)P(x)f:\prod_{(x:S^1)} P(x) such that:

f(base)=baseapd f(loop)=loopf(base)=base'\qquad apd_f(loop) = loop'

As a special case, its recursion principle says that given any type XX with a point x:Xx:X and a loop l:x=xl:x=x, there is f:S 1Xf:S^1 \to X with

f(base)=xap f(loop)=lf(base)=x\qquad ap_f(loop)=l

Ω(S 1)=\Omega(S^1)=\mathbb{Z}

There are several proofs in the HoTT book that the loop space Ω(S 1)\Omega(S^1) of the circle is the integers \mathbb{Z}. (Any such proof requires the univalence axiom, since without that it is consistent that S 1S^1 is contractible. Indeed, S 1S^1 is contractible if and only if UIP holds.)

See also

References

The formalization of the shape homotopy type ʃS 1Bʃ S^1 \simeq \mathbf{B}\mathbb{Z} of the circle as a higher inductive type in homotopy type theory, along with a proof that ΩʃS 1\Omega ʃS^1\simeq {\mathbb{Z}} (and hence π 1(ʃS 1)\pi_1(ʃS^1) \simeq \mathbb{Z}):

Formalization in proof assistants:

in Coq:

in Agda:

Exposition and review:

Alternative construction of the circle type as the type of \mathbb{Z}-torsors:

Alternative construction of the circle type as a coequalizer:

Last revised on March 2, 2023 at 05:25:52. See the history of this page for a list of all contributions to it.