请输入您要查询的字词:

 

单词 27Sigmatypes
释义

2.7 Σ-types


Let A be a type and B:A𝒰 a type family.Recall that the Σ-type, or dependent pair type, (x:A)B(x) is a generalizationPlanetmathPlanetmath of the cartesian productMathworldPlanetmath type.Thus, we expect its higher groupoidPlanetmathPlanetmathPlanetmathPlanetmath structureMathworldPlanetmath to also be a generalization of the previous sectionPlanetmathPlanetmath.In particular, its paths should be pairs of paths, but it takes a little thought to give the correct types of these paths.

Suppose that we have a path p:w=w in (x:A)P(x).Then we get 𝗉𝗋1(p):𝗉𝗋1(w)=𝗉𝗋1(w).However, we cannot directly ask whether 𝗉𝗋2(w) is identical to 𝗉𝗋2(w) since they don’t have to be in the same type.But we can transport 𝗉𝗋2(w) along the path 𝗉𝗋1(p), and this does give us an element of the same type as 𝗉𝗋2(w).By path inductionMathworldPlanetmath, we do in fact obtain a path 𝗉𝗋1(p)*(𝗉𝗋2(w))=𝗉𝗋2(w).

Recall from the discussion preceding Lemma 2.3.4 (http://planetmath.org/23typefamiliesarefibrations#Thmprelem3) that𝗉𝗋1(p)*(𝗉𝗋2(w))=𝗉𝗋2(w)can be regarded as the type of paths from 𝗉𝗋2(w) to 𝗉𝗋2(w) which lie over the path 𝗉𝗋1(p) in A.Thus, we are saying that a path w=w in the total space determines (and is determined by) a path p:𝗉𝗋1(w)=𝗉𝗋1(w) in A together with a path from 𝗉𝗋2(w) to 𝗉𝗋2(w) lying over p, which seems sensible.

Remark 2.7.1.

Note that if we have x:A and u,v:P(x) such that (x,u)=(x,v), it does not follow that u=v.All we can conclude is that there exists p:x=x such that p*(u)=v.This is a well-known source of confusion for newcomers to type theoryPlanetmathPlanetmath, but it makes sense from a topological viewpoint: the existence of a path (x,u)=(x,v) in the total space of a fibration between two points that happen to lie in the same fiber does not imply the existence of a path u=v lying entirely within that fiber.

The next theorem states that we can also reverse this process.Since it is a direct generalization of Theorem 2.6.2 (http://planetmath.org/26cartesianproducttypes#Thmprethm1), we will be more concise.

Theorem 2.7.2.

Suppose that P:AU is a type family over a type A and let w,w:(x:A)P(x). Then there is an equivalence

(w=w)(p:𝗉𝗋1(w)=𝗉𝗋1(w))p*(𝗉𝗋2(w))=𝗉𝗋2(w).
Proof.

We define for any w,w:(x:A)P(x), a function

f:(w=w)(p:𝗉𝗋1(w)=𝗉𝗋1(w))p*(𝗉𝗋2(w))=𝗉𝗋2(w)

by path induction, with

f(w,w,𝗋𝖾𝖿𝗅w):(𝗋𝖾𝖿𝗅𝗉𝗋1(w),𝗋𝖾𝖿𝗅𝗉𝗋2(w)).

We want to show that f is an equivalence.

In the reverse direction, we define

g:w,w:(x:A)P(x)(p:𝗉𝗋1(w)=𝗉𝗋1(w)p*(𝗉𝗋2(w))=𝗉𝗋2(w))(w=w)

by first inducting on w and w, which splits them into (w1,w2) and(w1,w2) respectively, so it suffices to show

(p:w1=w1p*(w2)=w2)((w1,w2)=(w1,w2)).

Next, given a pair (p:w1=w1)p*(w2)=w2, we canuse Σ-induction to get p:w1=w1 and q:p*(w2)=w2. Inducting on p, we have q:𝗋𝖾𝖿𝗅*(w2)=w2, and it suffices to show(w1,w2)=(w1,w2). But 𝗋𝖾𝖿𝗅*(w2)w2, soinducting on q reduces to the goal to(w1,w2)=(w1,w2), which we can prove with 𝗋𝖾𝖿𝗅(w1,w2).

Next we show that fg is the identityPlanetmathPlanetmathPlanetmath for all w, w andr, where r has type

(p:𝗉𝗋1(w)=𝗉𝗋1(w))(p*(𝗉𝗋2(w))=𝗉𝗋2(w)).

First, we break apart the pairs w, w, and r by pair induction, as in thedefinition of g, and then use two path inductions to reduce both componentsof r to 𝗋𝖾𝖿𝗅. Then it suffices to show thatf(g(𝗋𝖾𝖿𝗅,𝗋𝖾𝖿𝗅))=𝗋𝖾𝖿𝗅, which is true by definition.

Similarly, to show that gf is the identity for all w, w,and p:w=w, we can do path induction on p, and then induction tosplit w, at which point it suffices to show thatg(f(𝗋𝖾𝖿𝗅(w1,w2)))=𝗋𝖾𝖿𝗅(w1,w2), which is true bydefinition.

Thus, f has a quasi-inversePlanetmathPlanetmath, and is therefore an equivalence.∎

As we did in the case of cartesian products, we can deduce a propositional uniqueness principle as a special case.

Corollary 2.7.3.

For z:(x:A)P(x), we have z=(pr1(z),pr2(z)).

Proof.

We have 𝗋𝖾𝖿𝗅𝗉𝗋1(z):𝗉𝗋1(z)=𝗉𝗋1(𝗉𝗋1(z),𝗉𝗋2(z)), so by Theorem 2.7.2 (http://planetmath.org/27sigmatypes#Thmprethm1) it will suffice to exhibit a path (𝗋𝖾𝖿𝗅𝗉𝗋1(z))*(𝗉𝗋2(z))=𝗉𝗋2(𝗉𝗋1(z),𝗉𝗋2(z)).But both sides are judgmentally equal to 𝗉𝗋2(z).∎

Like with binary cartesian products, we can think ofthe backward direction of Theorem 2.7.2 (http://planetmath.org/27sigmatypes#Thmprethm1) asan introduction form (𝗉𝖺𝗂𝗋=), the forward direction aselimination forms (𝖺𝗉𝗉𝗋1 and 𝖺𝗉𝗉𝗋2), and the equivalenceas giving a propositional computation rule and uniqueness principle for these.

Note that the lifted path 𝗅𝗂𝖿𝗍(u,p) of p:x=y at u:P(x) defined in Lemma 2.3.2 (http://planetmath.org/23typefamiliesarefibrations#Thmprelem2) may be identified with the special case of the introduction form

𝗉𝖺𝗂𝗋=(p,𝗋𝖾𝖿𝗅p*(u)):(x,u)=(y,p*(u)).

This appears in the statement of action of transport on Σ-types, which is also a generalization of the action for binary cartesian products:

Theorem 2.7.4.

Suppose we have type families

P:A𝒰  𝑎𝑛𝑑  Q:(x:AP(x))𝒰.

Then we can construct the type family over A defined by

xu:P(x)Q(x,u).

For any path p:x=y and any (u,z):(u:P(x))Q(x,u) we have

p*(u,z)=(p*(u),𝗉𝖺𝗂𝗋=(p,𝗋𝖾𝖿𝗅p*(u))*(z)).
Proof.

Immediate by path induction.∎

We leave it to the reader to state and prove a generalization ofTheorem 2.6.5 (http://planetmath.org/26cartesianproducttypes#Thmprethm3) (see http://planetmath.org/node/87638Exercise 2.7), and to characterizethe reflexivityMathworldPlanetmath, inversesMathworldPlanetmathPlanetmathPlanetmath, and composition of Σ-typescomponentwise.

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/5 0:18:34