nLab graph quotient

Redirected from "graph quotients".

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

A graph quotient is similar to a W-type, except instead of being inductively generated by term constructors and function constructors, graph quotients are inductively generated by term constructors and identification constructors.

Definition

In dependent type theory, a graph consists of a type AA and a binary type family R(x,y)R(x, y) indexed by x:Ax:A and y:Ay:A. AA is the type of vertices of a graph and each R(x,y)R(x, y) is the type of edges of a graph.

Given a graph (A,R)(A, R), one could construct the graph quotient A/RA / R which is generated by the graph in the following sense: there are point constructors

points:A(A/R)\mathrm{points}:A \to (A / R)

and for each x:Ax:A and y:Ay:A, path constructors

paths(x,y):R(x,y)(points(x)= A/Rpoints(y))\mathrm{paths}(x, y):R(x, y) \to \left(\mathrm{points}(x) =_{A / R} \mathrm{points}(y)\right)

The recursion principle of A/RA / R says that given a type CC together with

  • a function c points:ACc_\mathrm{points}:A \to C
  • a dependent function c paths: x:A y:AR(x,y)(c points(x)= Cc points(y))c_\mathrm{paths}:\prod_{x:A} \prod_{y:A} R(x, y) \to (c_\mathrm{points}(x) =_C c_\mathrm{points}(y))

there exists a function c:(A/R)Cc:(A / R) \to C such that

  • for all x:Ax:A, c(points(x))c points(x)c(\mathrm{points}(x)) \equiv c_\mathrm{points}(x), and
  • for all x:Ax:A, y:Ay:A, and r:R(x,y)r:R(x, y), ap c(paths(x,y,r))c paths(x,y,r)\mathrm{ap}_c(\mathrm{paths}(x,y,r)) \equiv c_\mathrm{paths}(x, y, r)

Similarly, the induction principle of A/RA / R says that given a type family C(z)C(z) indexed by z:A/Rz:A / R together with

  • a dependent function c points: x:AC(points(x))c_\mathrm{points}:\prod_{x:A} C(\mathrm{points}(x))
  • a dependent function c paths: x:A y:A r:R(x,y)c points(x)= C paths(x,y,r)c points(y)c_\mathrm{paths}:\prod_{x:A} \prod_{y:A} \prod_{r:R(x, y)} c_\mathrm{points}(x) =_C^{\mathrm{paths}(x,y,r)} c_\mathrm{points}(y)

there exists a dependent function c: z:A/RC(z)c:\prod_{z:A / R} C(z) such that

  • for all x:Ax:A, c(points(x))c points(x)c(\mathrm{points}(x)) \equiv c_\mathrm{points}(x), and
  • for all x:Ax:A, y:Ay:A, and r:R(x,y)r:R(x, y), apd c(paths(x,y,r))c paths(x,y,r)\mathrm{apd}_c(\mathrm{paths}(x,y,r)) \equiv c_\mathrm{paths}(x, y, r)

The large recursion principle of A/RA / R says that given

  • a type family x:AC(x)x:A \vdash C(x)
  • a dependent function c equiv: x:A y:AR(x,y)(C(x)C(y))c_\mathrm{equiv}:\prod_{x:A} \prod_{y:A} R(x, y) \to (C(x) \simeq C(y))

there exists a type family z:A/RD(z)z:A / R \vdash D(z) such that

  • for all x:Ax:A, D(points(x))C(x)D(\mathrm{points}(x)) \equiv C(x), and
  • for all x:Ax:A, y:Ay:A, and r:R(x,y)r:R(x, y), tr C(paths(x,y,r))c equiv(x,y,r):C(x)C(y)\mathrm{tr}_C(\mathrm{paths}(x,y,r)) \equiv c_\mathrm{equiv}(x, y, r):C(x) \simeq C(y)

Relation to coequalizer types

Graph quotients can be constructed as the coequalizer of the left and middle dependent pair projections π A\pi_{\sum}^A and π Aπ y:AR(,y)\pi_{\sum}^A \circ \pi_{\sum}^{\sum_{y:A} R(-, y)} of the dependent pair type x:A y:AR(x,y)\sum_{x:A} \sum_{y:A} R(x, y), both of which have domain x:A y:AR(x,y)\sum_{x:A} \sum_{y:A} R(x, y) and codomain AA:

A/Rcoeq x:A y:AR(x,y),A(π A,π Aπ y:AR(,y))A / R \coloneqq \mathrm{coeq}_{\sum_{x:A} \sum_{y:A} R(x, y),A}(\pi_{\sum}^A, \pi_{\sum}^A \circ \pi_{\sum}^{\sum_{y:A} R(-, y)})

Alternatively, given two parallel functions s:BAs:B \to A and t:BAt:B \to A, the coequalizer of ss and tt could be defined as the graph quotient generated by the graph defined by the family of dependent sum types z:B(s(z)= Ax)×(t(z)= Ay)\sum_{z:B} (s(z) =_A x) \times (t(z) =_A y)

A/ z:B(s(z)= A)×(t(z)= A)A / \sum_{z:B} (s(z) =_A -) \times (t(z) =_A -)

References

Created on December 9, 2024 at 04:51:09. See the history of this page for a list of all contributions to it.