Definitions for Framed bicategories and monoidal fibrations
DefinitionQAlgorithms_Papers_Independent_Intakethird100_P60The objects the formalized statements of Framed bicategories and monoidal fibrations (arXiv:0706.1286) are stated in. Each was checked against the paper by a blind read-back and a moderator.
DoubleData: The operations of a pseudo double category (Definition 2.1, PDF pp. 5–6). The vertical category and both horizontal dimensions have independent universes. The laws are specified separately byDoubleCoherence. The right frame of a composite is that of its second factor, as in the typed diagram on PDF p. 6; the displayed R(M odot N)=RM on PDF p. 5 is an apparent typographical error.DoubleData.seq: Composition of globular cells, transporting identity frames (PDF p. 6).DoubleCoherence: All pseudo double category axioms: vertical category laws, the two functors, interchange, invertible globular constraints natural for ALL squares, pentagon, and triangle (Definition 2.1 and conventions, PDF pp. 5–6).IsCartesian: The universal lifting property for the JOINT frame functor, not a single frame projection (Definition 3.1, PDF pp. 9–10; explicit square form pp. 13–14).IsOpcartesian: Dual universal lifting property for the joint frame functor (PDF pp. 12–14).IsFrameFibration: Existence of every joint cartesian lift (Definition 3.1 and §4, PDF pp. 10, 13).IsFrameOpfibration: Existence of every joint opcartesian lift (PDF pp. 12–13).Companion: Companion with both identities, including unitors in the horizontal zigzag (4.2)–(4.4), PDF p. 15; Definition A.1, PDF pp. 71–72.Conjoint: Conjoint with both identities, dual to the companion (PDF pp. 15, 71–72).HasCompanions: Every vertical arrow admits a companion (PDF p. 72).HasConjoints: Every vertical arrow admits a conjoint (PDF p. 72).IsFramed: Nonalgebraic framing; the chosen characterization is (L,R) a fibration (Definition 4.8, PDF p. 17). Coherence is separately required in the theorem binders.PseudoConnectionPair: Arbitrary chosen companions on a possibly non-strict double category, called a pseudo connection pair in Appendix A (PDF p. 72).PseudoOpConnectionPair: Arbitrary chosen conjoints, called a pseudo op-connection pair in Appendix A (PDF p. 72); no strict horizontal composition is imposed.IsDualPair: Both triangle identities for specified evaluation and coevaluation cells (Definition 5.2, PDF p. 20).baseCoevaluation: Canonical coevaluation from the two base-change unit cells (Proposition 5.3, diagram across PDF pp. 20–21).baseEvaluation: Canonical evaluation from the two base-change counit cells (Proposition 5.3, PDF p. 21).thinDoubleData: A thin test double category over any vertical category; all horizontal arrows and all squares are unique. Used only to check the local interfaces.thinDoubleCoherence: Sanity check: the complete coherence package is satisfiable, including for empty vertical categories (the source imposes no nonemptiness).
import Mathlib
/-!
Statements from Shulman, arXiv:0706.1286v2. PDF page numbers are used throughout.
The local square presentation retains weak horizontal composition and strict vertical
composition. HEq in the laws only suppresses transports along category identity and
associativity equalities; it does not identify horizontal composites as objects.
-/
namespace QAlgorithms.Papers.Independent.Intakethird100.P60
open CategoryTheory
universe u v w x
/-- The operations of a pseudo double category (Definition 2.1, PDF pp. 5–6).
The vertical category and both horizontal dimensions have independent universes.
The laws are specified separately by `DoubleCoherence`. The right frame of a
composite is that of its second factor, as in the typed diagram on PDF p. 6;
the displayed R(M odot N)=RM on PDF p. 5 is an apparent typographical error. -/
structure DoubleData (V : Type u) [Category.{v} V] where
H : V → V → Type w
Cell : {A B C D : V} → (A ⟶ C) → (B ⟶ D) → H A B → H C D → Type x
unit : (A : V) → H A A
mul : {A B C : V} → H A B → H B C → H A C
idCell : {A B : V} → (M : H A B) → Cell (𝟙 A) (𝟙 B) M M
vcomp : {A B C D E F : V} → {f : A ⟶ C} → {g : B ⟶ D} →
{h : C ⟶ E} → {k : D ⟶ F} → {M : H A B} → {N : H C D} →
{P : H E F} → Cell f g M N → Cell h k N P → Cell (f ≫ h) (g ≫ k) M P
unitCell : {A B : V} → (f : A ⟶ B) → Cell f f (unit A) (unit B)
hcomp : {A B C D E F : V} → {f : A ⟶ D} → {g : B ⟶ E} →
{h : C ⟶ F} → {M : H A B} → {N : H B C} → {P : H D E} →
{Q : H E F} → Cell f g M P → Cell g h N Q → Cell f h (mul M N) (mul P Q)
assoc : {A B C D : V} → (M : H A B) → (N : H B C) → (P : H C D) →
Cell (𝟙 A) (𝟙 D) (mul (mul M N) P) (mul M (mul N P))
assocInv : {A B C D : V} → (M : H A B) → (N : H B C) → (P : H C D) →
Cell (𝟙 A) (𝟙 D) (mul M (mul N P)) (mul (mul M N) P)
left : {A B : V} → (M : H A B) → Cell (𝟙 A) (𝟙 B) (mul (unit A) M) M
leftInv : {A B : V} → (M : H A B) → Cell (𝟙 A) (𝟙 B) M (mul (unit A) M)
right : {A B : V} → (M : H A B) → Cell (𝟙 A) (𝟙 B) (mul M (unit B)) M
rightInv : {A B : V} → (M : H A B) → Cell (𝟙 A) (𝟙 B) M (mul M (unit B))
/-- Composition of globular cells, transporting identity frames (PDF p. 6). -/
def DoubleData.seq {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} {M N P : D.H A B}
(a : D.Cell (𝟙 A) (𝟙 B) M N) (b : D.Cell (𝟙 A) (𝟙 B) N P) :
D.Cell (𝟙 A) (𝟙 B) M P := by
simpa only [Category.id_comp] using D.vcomp a b
/-- All pseudo double category axioms: vertical category laws, the two functors,
interchange, invertible globular constraints natural for ALL squares, pentagon,
and triangle (Definition 2.1 and conventions, PDF pp. 5–6). -/
structure DoubleCoherence {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop where
vassoc : ∀ {A B C E F G I J : V} {f : A ⟶ C} {g : B ⟶ E}
{h : C ⟶ F} {k : E ⟶ G} {l : F ⟶ I} {m : G ⟶ J}
{M : D.H A B} {N : D.H C E} {P : D.H F G} {Q : D.H I J}
(a : D.Cell f g M N) (b : D.Cell h k N P) (c : D.Cell l m P Q),
HEq (D.vcomp (D.vcomp a b) c) (D.vcomp a (D.vcomp b c))
vidLeft : ∀ {A B C E : V} {f : A ⟶ C} {g : B ⟶ E}
{M : D.H A B} {N : D.H C E} (a : D.Cell f g M N),
HEq (D.vcomp (D.idCell M) a) a
vidRight : ∀ {A B C E : V} {f : A ⟶ C} {g : B ⟶ E}
{M : D.H A B} {N : D.H C E} (a : D.Cell f g M N),
HEq (D.vcomp a (D.idCell N)) a
unitId : ∀ A, D.unitCell (𝟙 A) = D.idCell (D.unit A)
unitComp : ∀ {A B C : V} (f : A ⟶ B) (g : B ⟶ C),
D.unitCell (f ≫ g) = D.vcomp (D.unitCell f) (D.unitCell g)
hid : ∀ {A B C : V} (M : D.H A B) (N : D.H B C),
D.hcomp (D.idCell M) (D.idCell N) = D.idCell (D.mul M N)
interchange : ∀ {A B C E F G I J K : V}
{f : A ⟶ E} {g : B ⟶ F} {h : C ⟶ G}
{i : E ⟶ I} {j : F ⟶ J} {k : G ⟶ K}
{M : D.H A B} {N : D.H B C} {P : D.H E F} {Q : D.H F G}
{R : D.H I J} {S : D.H J K}
(a : D.Cell f g M P) (b : D.Cell g h N Q)
(c : D.Cell i j P R) (d : D.Cell j k Q S),
D.vcomp (D.hcomp a b) (D.hcomp c d) = D.hcomp (D.vcomp a c) (D.vcomp b d)
assocIsoLeft : ∀ {A B C E : V} (M : D.H A B) (N : D.H B C) (P : D.H C E),
D.seq (D.assoc M N P) (D.assocInv M N P) = D.idCell (D.mul (D.mul M N) P)
assocIsoRight : ∀ {A B C E : V} (M : D.H A B) (N : D.H B C) (P : D.H C E),
D.seq (D.assocInv M N P) (D.assoc M N P) = D.idCell (D.mul M (D.mul N P))
leftIsoLeft : ∀ {A B : V} (M : D.H A B),
D.seq (D.left M) (D.leftInv M) = D.idCell (D.mul (D.unit A) M)
leftIsoRight : ∀ {A B : V} (M : D.H A B),
D.seq (D.leftInv M) (D.left M) = D.idCell M
rightIsoLeft : ∀ {A B : V} (M : D.H A B),
D.seq (D.right M) (D.rightInv M) = D.idCell (D.mul M (D.unit B))
rightIsoRight : ∀ {A B : V} (M : D.H A B),
D.seq (D.rightInv M) (D.right M) = D.idCell M
assocNatural : ∀ {A B C E F G I J : V}
{f : A ⟶ F} {g : B ⟶ G} {h : C ⟶ I} {k : E ⟶ J}
{M : D.H A B} {N : D.H B C} {P : D.H C E}
{Q : D.H F G} {R : D.H G I} {S : D.H I J}
(a : D.Cell f g M Q) (b : D.Cell g h N R) (c : D.Cell h k P S),
HEq (D.vcomp (D.hcomp (D.hcomp a b) c) (D.assoc Q R S))
(D.vcomp (D.assoc M N P) (D.hcomp a (D.hcomp b c)))
leftNatural : ∀ {A B C E : V} {f : A ⟶ C} {g : B ⟶ E}
{M : D.H A B} {N : D.H C E} (a : D.Cell f g M N),
HEq (D.vcomp (D.hcomp (D.unitCell f) a) (D.left N)) (D.vcomp (D.left M) a)
rightNatural : ∀ {A B C E : V} {f : A ⟶ C} {g : B ⟶ E}
{M : D.H A B} {N : D.H C E} (a : D.Cell f g M N),
HEq (D.vcomp (D.hcomp a (D.unitCell g)) (D.right N)) (D.vcomp (D.right M) a)
pentagon : ∀ {A B C E F : V} (M : D.H A B) (N : D.H B C)
(P : D.H C E) (Q : D.H E F),
D.seq (D.seq (D.hcomp (D.assoc M N P) (D.idCell Q)) (D.assoc M (D.mul N P) Q))
(D.hcomp (D.idCell M) (D.assoc N P Q)) =
D.seq (D.assoc (D.mul M N) P Q) (D.assoc M N (D.mul P Q))
triangle : ∀ {A B C : V} (M : D.H A B) (N : D.H B C),
D.seq (D.assoc M (D.unit B) N) (D.hcomp (D.idCell M) (D.left N)) =
D.hcomp (D.right M) (D.idCell N)
/-- The universal lifting property for the JOINT frame functor, not a single
frame projection (Definition 3.1, PDF pp. 9–10; explicit square form pp. 13–14). -/
def IsCartesian {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B C E : V} {f : A ⟶ C} {g : B ⟶ E} {M : D.H A B} {N : D.H C E}
(a : D.Cell f g M N) : Prop :=
∀ (P Q : V) (h : P ⟶ A) (k : Q ⟶ B) (T : D.H P Q)
(b : D.Cell (h ≫ f) (k ≫ g) T N),
∃! c : D.Cell h k T M, D.vcomp c a = b
/-- Dual universal lifting property for the joint frame functor (PDF pp. 12–14). -/
def IsOpcartesian {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B C E : V} {f : A ⟶ C} {g : B ⟶ E} {M : D.H A B} {N : D.H C E}
(a : D.Cell f g M N) : Prop :=
∀ (P Q : V) (h : C ⟶ P) (k : E ⟶ Q) (T : D.H P Q)
(b : D.Cell (f ≫ h) (g ≫ k) M T),
∃! c : D.Cell h k N T, D.vcomp a c = b
/-- Existence of every joint cartesian lift (Definition 3.1 and §4, PDF pp. 10, 13). -/
def IsFrameFibration {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop :=
∀ (A B C E : V) (f : A ⟶ C) (g : B ⟶ E) (N : D.H C E),
∃ (M : D.H A B) (a : D.Cell f g M N), IsCartesian D a
/-- Existence of every joint opcartesian lift (PDF pp. 12–13). -/
def IsFrameOpfibration {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop :=
∀ (A B C E : V) (f : A ⟶ C) (g : B ⟶ E) (M : D.H A B),
∃ (N : D.H C E) (a : D.Cell f g M N), IsOpcartesian D a
/-- Companion with both identities, including unitors in the horizontal zigzag
(4.2)–(4.4), PDF p. 15; Definition A.1, PDF pp. 71–72. -/
structure Companion {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} (f : A ⟶ B) (M : D.H A B) where
counit : D.Cell f (𝟙 B) M (D.unit B)
unit : D.Cell (𝟙 A) f (D.unit A) M
vertical : HEq (D.vcomp unit counit) (D.unitCell f)
horizontal : D.seq (D.seq (D.leftInv M) (D.hcomp unit counit)) (D.right M) = D.idCell M
/-- Conjoint with both identities, dual to the companion (PDF pp. 15, 71–72). -/
structure Conjoint {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} (f : A ⟶ B) (N : D.H B A) where
counit : D.Cell (𝟙 B) f N (D.unit B)
unit : D.Cell f (𝟙 A) (D.unit A) N
vertical : HEq (D.vcomp unit counit) (D.unitCell f)
horizontal : D.seq (D.seq (D.rightInv N) (D.hcomp counit unit)) (D.left N) = D.idCell N
/-- Every vertical arrow admits a companion (PDF p. 72). -/
def HasCompanions {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop :=
∀ (A B : V) (f : A ⟶ B), ∃ M : D.H A B, Nonempty (Companion D f M)
/-- Every vertical arrow admits a conjoint (PDF p. 72). -/
def HasConjoints {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop :=
∀ (A B : V) (f : A ⟶ B), ∃ N : D.H B A, Nonempty (Conjoint D f N)
/-- Nonalgebraic framing; the chosen characterization is (L,R) a fibration
(Definition 4.8, PDF p. 17). Coherence is separately required in the theorem binders. -/
def IsFramed {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) : Prop :=
IsFrameFibration D
/-- Arbitrary chosen companions on a possibly non-strict double category,
called a pseudo connection pair in Appendix A (PDF p. 72). -/
structure PseudoConnectionPair {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) where
arrow : {A B : V} → (A ⟶ B) → D.H A B
comparison : {A B : V} → (f : A ⟶ B) → Companion D f (arrow f)
/-- Arbitrary chosen conjoints, called a pseudo op-connection pair in
Appendix A (PDF p. 72); no strict horizontal composition is imposed. -/
structure PseudoOpConnectionPair {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V) where
arrow : {A B : V} → (A ⟶ B) → D.H B A
comparison : {A B : V} → (f : A ⟶ B) → Conjoint D f (arrow f)
/-- Both triangle identities for specified evaluation and coevaluation cells
(Definition 5.2, PDF p. 20). -/
def IsDualPair {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} (M : D.H A B) (N : D.H B A)
(eta : D.Cell (𝟙 A) (𝟙 A) (D.unit A) (D.mul M N))
(eps : D.Cell (𝟙 B) (𝟙 B) (D.mul N M) (D.unit B)) : Prop :=
D.seq (D.seq (D.seq (D.seq (D.leftInv M) (D.hcomp eta (D.idCell M)))
(D.assoc M N M)) (D.hcomp (D.idCell M) eps)) (D.right M) = D.idCell M ∧
D.seq (D.seq (D.seq (D.seq (D.rightInv N) (D.hcomp (D.idCell N) eta))
(D.assocInv N M N)) (D.hcomp eps (D.idCell N))) (D.left N) = D.idCell N
/-- Canonical coevaluation from the two base-change unit cells
(Proposition 5.3, diagram across PDF pp. 20–21). -/
def baseCoevaluation {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} {f : A ⟶ B} {M : D.H A B} {N : D.H B A}
(c : Companion D f M) (j : Conjoint D f N) :
D.Cell (𝟙 A) (𝟙 A) (D.unit A) (D.mul M N) :=
D.seq (D.leftInv (D.unit A)) (D.hcomp c.unit j.unit)
/-- Canonical evaluation from the two base-change counit cells
(Proposition 5.3, PDF p. 21). -/
def baseEvaluation {V : Type u} [Category.{v} V] (D : DoubleData.{u,v,w,x} V)
{A B : V} {f : A ⟶ B} {M : D.H A B} {N : D.H B A}
(c : Companion D f M) (j : Conjoint D f N) :
D.Cell (𝟙 B) (𝟙 B) (D.mul N M) (D.unit B) :=
D.seq (D.hcomp j.counit c.counit) (D.left (D.unit B))
/-- A thin test double category over any vertical category; all horizontal
arrows and all squares are unique. Used only to check the local interfaces. -/
def thinDoubleData (V : Type u) [Category.{v} V] : DoubleData.{u,v,0,0} V where
H := fun _ _ => PUnit
Cell := fun {A B C E} _ _ _ _ => PUnit
unit := fun _ => PUnit.unit
mul := fun _ _ => PUnit.unit
idCell := fun _ => PUnit.unit
vcomp := fun _ _ => PUnit.unit
unitCell := fun _ => PUnit.unit
hcomp := fun _ _ => PUnit.unit
assoc := fun _ _ _ => PUnit.unit
assocInv := fun _ _ _ => PUnit.unit
left := fun _ => PUnit.unit
leftInv := fun _ => PUnit.unit
right := fun _ => PUnit.unit
rightInv := fun _ => PUnit.unit
/-- Sanity check: the complete coherence package is satisfiable, including
for empty vertical categories (the source imposes no nonemptiness). -/
def thinDoubleCoherence (V : Type u) [Category.{v} V] : DoubleCoherence (thinDoubleData V) := by
constructor <;> intros <;> dsimp only [thinDoubleData, DoubleData.seq] <;> first
| exact Subsingleton.elim _ _
| exact heq_of_eq (Subsingleton.elim _ _)
example (V : Type u) [Category.{v} V] (A B : V) :
(thinDoubleData V).mul (A := A) (B := B) (C := B)
(PUnit.unit : (thinDoubleData V).H A B)
((thinDoubleData V).unit B) = PUnit.unit := rfl
example (V : Type u) [Category.{v} V] (A B : V) (f : A ⟶ B) :
Companion (thinDoubleData V) f PUnit.unit :=
⟨PUnit.unit, PUnit.unit, HEq.rfl, rfl⟩
example (V : Type u) [Category.{v} V] (A B : V) (f : A ⟶ B) :
Conjoint (thinDoubleData V) f PUnit.unit :=
⟨PUnit.unit, PUnit.unit, HEq.rfl, rfl⟩
example (V : Type u) [Category.{v} V] (A B : V) :
IsDualPair (thinDoubleData V) (A := A) (B := B)
(PUnit.unit : (thinDoubleData V).H A B)
PUnit.unit PUnit.unit PUnit.unit := ⟨rfl, rfl⟩
example (V : Type u) [Category.{v} V] : IsFrameFibration (thinDoubleData V) := by
intro A B C E f g N
refine ⟨PUnit.unit, PUnit.unit, ?_⟩
intro P Q h k T b
refine ⟨PUnit.unit, ?_, ?_⟩
· dsimp only [thinDoubleData]
exact Subsingleton.elim _ _
· intro c hc
dsimp only [thinDoubleData]
exact Subsingleton.elim _ _
example (V : Type u) [Category.{v} V] : IsFrameOpfibration (thinDoubleData V) := by
intro A B C E f g M
refine ⟨PUnit.unit, PUnit.unit, ?_⟩
intro P Q h k T b
refine ⟨PUnit.unit, ?_, ?_⟩
· dsimp only [thinDoubleData]
exact Subsingleton.elim _ _
· intro c hc
dsimp only [thinDoubleData]
exact Subsingleton.elim _ _
end QAlgorithms.Papers.Independent.Intakethird100.P60
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakethird100.P60.Companion
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , horizontal units , horizontal products , identity squares , vertical composition , horizontal composition , unit squares , and associativity and unit comparison squares in both directions, fix any objects , morphism , and . This structure consists of a square , a square , a heterogeneous equality between the vertical composite and , and the equation
Here and are the supplied comparison squares; is the supplied horizontal composite from to with identity side morphisms. Each semicolon means composition in the displayed order; in the displayed equation, the composites of identity side morphisms are simplified to identities. Heterogeneous equality allows the vertical equation to compare terms whose displayed dependent types are not definitionally identical. No other coherence equations for are assumed, and the objects may coincide; defining this structure does not assert that it is inhabited for every .
QAlgorithms.Papers.Independent.Intakethird100.P60.Conjoint
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , horizontal units , horizontal products , identity squares , vertical composition , horizontal composition , unit squares , and associativity and unit comparison squares in both directions, fix any objects , morphism , and . This structure consists of a square , a square , a heterogeneous equality between the vertical composite and , and the equation
Here and are the supplied comparison squares; is the supplied horizontal composite from to with identity side morphisms. Each semicolon means composition in the displayed order; in the displayed equation, the composites of identity side morphisms are simplified to identities. Heterogeneous equality allows the vertical equation to compare terms whose displayed dependent types are not definitionally identical. No other coherence equations for are assumed, and the objects may coincide; defining this structure does not assert that it is inhabited for every .
QAlgorithms.Papers.Independent.Intakethird100.P60.DoubleCoherence
For arbitrary universe levels , let be a category with objects in universe and morphisms in universe , and let supply horizontal-arrow types in universe and square types in universe , where , , , and . Write for the supplied horizontal unit, for the supplied horizontal product, for its identity square, for vertical composition in the order then , for horizontal composition, and for the supplied square associated to . Write and for the supplied comparison in the reverse direction, and write , , , and ; these comparison arrows are squares with identity side morphisms. In equations involving only identity-side squares, means vertical composition with the identity side composites simplified. Let denote heterogeneous equality, which allows equality to be expressed when the displayed dependent types are not definitionally identical; ordinary denotes equality within the same type. This proposition consists of all the following universally quantified equations. For every eight objects , morphisms , , , , , , horizontal elements , , , , and squares , , , one has . For every four objects , morphisms , , elements , , and square , one has and . For every object , ; for every three objects and morphisms , , ; and for every , , . For every nine objects , morphisms , , , , , , horizontal elements , , , , , , and squares , , , , one has
For every four objects and , , , both equations
hold. For every pair of objects and , all four equations
hold. For every eight objects , morphisms , , , , elements , , , , , , and squares , , , one has
For every four objects , morphisms , , elements , , and square , one has
For every five objects and , , , , one has
Finally, for every three objects and , , one has
All object choices may include repetitions; each requirement ranges over every inhabitant of the specified types, and a universally quantified requirement has no instances when one of its required input types is empty.
QAlgorithms.Papers.Independent.Intakethird100.P60.DoubleData
For any universe levels and any type in universe equipped with a category structure whose morphism types lie in universe , this structure consists of the following data. For every pair of objects , there is a type in universe ; for every four objects , morphisms , , and elements , , there is a type of squares in universe . There are chosen elements for every object , and products for every , . Every has a chosen identity square . For arbitrary objects , morphisms , , , , horizontal elements , , , and squares , , there is a specified vertical composite . Every morphism has a specified square . For arbitrary objects , morphisms , , , horizontal elements , , , , and squares , , there is a specified horizontal composite . For every composable triple , , , there are specified squares and . For every , there are specified squares , , , and , where each arrow here denotes a square with side morphisms . This structure imposes no equations on these operations; in particular, the oppositely directed comparison squares are supplied without equations asserting that they are inverses. Objects may coincide, and no nonemptiness of or of arbitrary horizontal-arrow or square types is separately assumed.
QAlgorithms.Papers.Independent.Intakethird100.P60.DoubleData.seq
For arbitrary universe levels , a category with object type in universe and morphism types in universe , and supplied data consisting of horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, this definition provides the following operation. For every pair of objects , every , and squares , , it returns a square in : specifically, it is the supplied vertical composite of followed by , whose side morphisms and are identified with and using the category identity laws. Here a square type records its two side morphisms and its source and target horizontal elements; vertical composition composes both side morphisms and joins squares with a common horizontal boundary. The definition assumes no coherence equations for , permits coinciding objects or horizontal elements, and requires inputs only when the indicated types are inhabited.
QAlgorithms.Papers.Independent.Intakethird100.P60.HasCompanions
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , horizontal units , products , identity squares , vertical composition , horizontal composition , unit squares , and associativity and unit comparison squares in both directions, this property says that for every pair of objects and every morphism , there exist and squares , such that is heterogeneously equal to and
Here is the supplied identity-side square , is the supplied identity-side square , and the displayed semicolons denote vertical composition in the indicated order with identity side composites simplified. Heterogeneous equality allows comparison of terms whose displayed dependent types are not definitionally identical. The claim is existence of such data and proofs, with no uniqueness requirement and no simultaneous choice specified. No coherence equations for are assumed. The objects may coincide; a pair with no morphisms imposes no requirement, and the whole property is vacuous if has no objects.
QAlgorithms.Papers.Independent.Intakethird100.P60.HasConjoints
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , horizontal units , products , identity squares , vertical composition , horizontal composition , unit squares , and associativity and unit comparison squares in both directions, this property says that for every pair of objects and every morphism , there exist and squares , such that is heterogeneously equal to and
Here is the supplied identity-side square , is the supplied identity-side square , and the displayed semicolons denote vertical composition in the indicated order with identity side composites simplified. Heterogeneous equality allows comparison of terms whose displayed dependent types are not definitionally identical. The claim is existence of such data and proofs, with no uniqueness requirement and no simultaneous choice specified. No coherence equations for are assumed. The objects may coincide; a pair with no morphisms imposes no requirement, and the whole property is vacuous if has no objects.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsCartesian
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, fix objects , morphisms , , horizontal elements , , and a square . The defined property says that for every pair of objects , morphisms , , horizontal element , and square , there is exactly one square such that the supplied vertical composite of followed by equals . Thus uniqueness concerns the squares satisfying that equation: any other such square equals . No coherence equations for are assumed. The object choices may coincide, and choices of for which the indicated type of is empty impose no factorization requirement.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsDualPair
Let be any category and any of the specified double data, with arbitrary universe sizes. Write for its horizontal-arrow types, for its squares with left and right vertical boundaries , for its horizontal units, for horizontal multiplication, for identity squares, and for horizontal square composition. For squares with identity vertical boundaries, write for vertical composition in that order, simplifying composites of identity morphisms. The specified associativity squares are and ; the specified unit squares are , , , and for , all with identity vertical boundaries. For any objects , horizontal arrows , , and supplied squares
the assertion that these form a dual pair is defined to be exactly the conjunction
This is a predicate on the supplied ; it does not quantify their existence. No coherence assumption on , or distinctness assumption on , is imposed.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsFrameFibration
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, this property means that for every four objects , morphisms , , and horizontal element , there exist a horizontal element and a square with the following property: for every pair of objects , morphisms , , horizontal element , and square , there is exactly one whose supplied vertical composite with , in the order then , equals . The existentially chosen pair is not required to be unique. No coherence equations for are assumed. All object choices may coincide; empty types among the universally quantified inputs contribute no instances, so the property holds vacuously when has no objects, and an empty type of test squares imposes no factorization requirement for that test.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsFrameOpfibration
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, this property means that for every four objects , morphisms , , and horizontal element , there exist a horizontal element and a square with the following property: for every pair of objects , morphisms , , horizontal element , and square , there is exactly one whose supplied vertical composite with , in the order then , equals . The existentially chosen pair is not required to be unique. No coherence equations for are assumed. All object choices may coincide; empty types among the universally quantified inputs contribute no instances, so the property holds vacuously when has no objects, and an empty type of test squares imposes no factorization requirement for that test.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsFramed
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, this property is defined to mean that for every four objects , morphisms , , and horizontal element , there exist and such that, for every pair of objects , morphisms , , horizontal element , and square , there exists exactly one square whose supplied vertical composite with , in the order then , equals . The chosen pair need not be unique. No coherence equations for are included as hypotheses or additional requirements. Objects may coincide, empty universally quantified input types contribute no instances, and the property is vacuous when has no objects; for any fixed test inputs, an empty type of squares imposes no factorization requirement.
QAlgorithms.Papers.Independent.Intakethird100.P60.IsOpcartesian
For arbitrary universe levels , a category with objects in universe and morphisms in universe , and data supplying horizontal-arrow types in universe , square types in universe , and the specified units, products, identity squares, compositions, and comparison squares, fix objects , morphisms , , horizontal elements , , and a square . The defined property says that for every pair of objects , morphisms , , horizontal element , and square , there is exactly one square such that the supplied vertical composite of followed by equals . Thus uniqueness concerns the squares satisfying that equation: any other such square equals . No coherence equations for are assumed. The object choices may coincide, and choices of for which the indicated type of is empty impose no factorization requirement.
QAlgorithms.Papers.Independent.Intakethird100.P60.PseudoConnectionPair
Let be any category and any of the specified double data, with arbitrary universe sizes for objects, morphisms, horizontal arrows, and squares. Write for its horizontal-arrow type and for its square type, where , , , and . Write for the chosen horizontal unit, for horizontal multiplication, for the chosen identity square, for the chosen square from to with both vertical boundaries , for vertical composition in that order, and for horizontal composition. For squares with identity vertical boundaries, includes simplifying composites of identity morphisms. Write , , and for the specified unit squares, all with identity vertical boundaries; write for heterogeneous equality, which permits the compared cells to have differently presented boundary types. A pseudo-connection pair consists of an assignment, for every pair of objects and every morphism , of a horizontal arrow , together with chosen squares
and proofs of
These choices are required for every morphism, including identities. No coherence assumption on is part of this structure. If has no objects, the requirements indexed by objects and morphisms are vacuous.
QAlgorithms.Papers.Independent.Intakethird100.P60.PseudoOpConnectionPair
Let be any category and any of the specified double data, with arbitrary universe sizes for objects, morphisms, horizontal arrows, and squares. Write for its horizontal-arrow type and for its square type, where , , , and . Write for the chosen horizontal unit, for horizontal multiplication, for the chosen identity square, for the chosen square from to with both vertical boundaries , for vertical composition in that order, and for horizontal composition. For squares with identity vertical boundaries, includes simplifying composites of identity morphisms. Write and for the specified unit squares when ; their vertical boundaries are identities. Write for heterogeneous equality, allowing differently presented boundary types. A pseudo-op-connection pair consists of an assignment, for every pair of objects and every morphism , of a horizontal arrow , together with chosen squares
and proofs of
These choices are required for every morphism, including identities. No coherence assumption on is part of this structure. If has no objects, the requirements indexed by objects and morphisms are vacuous.
QAlgorithms.Papers.Independent.Intakethird100.P60.baseCoevaluation
Let be any category and any of the specified double data, with arbitrary universe sizes. Write for its horizontal-arrow types, for squares with vertical boundaries , for horizontal units, for horizontal multiplication, for identity squares, for the chosen square on horizontal units with both vertical boundaries , and for horizontal square composition. Write for vertical composition in that order, with identity boundary composites simplified when appropriate, and for heterogeneous equality. The specified unit squares are , , , and , all with identity vertical boundaries for . Fix any objects , morphism , horizontal arrows , , and supplied structures consisting respectively of squares
satisfying
The defined base coevaluation is the square
obtained by first applying the specified square , then horizontally composing with . No coherence assumption on is required, and may be an identity.
QAlgorithms.Papers.Independent.Intakethird100.P60.baseEvaluation
Let be any category and any of the specified double data, with arbitrary universe sizes. Write for its horizontal-arrow types, for squares with vertical boundaries , for horizontal units, for horizontal multiplication, for identity squares, for the chosen square on horizontal units with both vertical boundaries , and for horizontal square composition. Write for vertical composition in that order, with identity boundary composites simplified when appropriate, and for heterogeneous equality. The specified unit squares are , , , and , all with identity vertical boundaries for . Fix any objects , morphism , horizontal arrows , , and supplied structures consisting respectively of squares
satisfying
The defined base evaluation is the square
obtained by horizontally composing with , then applying the specified square . No coherence assumption on is required, and may be an identity.
QAlgorithms.Papers.Independent.Intakethird100.P60.thinDoubleCoherence
For every category , with arbitrary object and morphism universe sizes, take the double data in which each horizontal-arrow type and each square type is the lowest-universe singleton , and every unit, product, square, and composition operation returns . This definition supplies proofs of the following coherence requirements for those data. Write for horizontal units, for horizontal products, for identity squares, for squares on horizontal units, for vertical composition in that order, and for horizontal square composition; for identity-boundary squares, simplify composites of identity morphisms in . Write , for the specified reverse square, and , , , for the specified unit squares. Write for heterogeneous equality. Universally over all objects, morphisms, horizontal arrows, and squares making each expression well-typed, the supplied requirements are
Here the associativity-naturality equation uses squares , , with matching adjoining vertical boundaries, and the unit-naturality equations use a square with vertical boundaries . Every compared square is the unique singleton element. If is empty, the universally indexed requirements are vacuous.
QAlgorithms.Papers.Independent.Intakethird100.P60.thinDoubleData
For every category , with arbitrary object and morphism universe sizes, this definition supplies double data as follows. For every pair of objects , the horizontal-arrow type is the singleton type ; for every four objects, every suitably typed pair of vertical morphisms , and every suitably typed pair of horizontal arrows , the square type is also . Both kinds of singleton types lie in the lowest type universe. Every horizontal unit, every horizontal product, every identity square, every vertical composite, every square on horizontal units associated to a vertical morphism, every horizontal composite of squares, every associativity square in either direction, and every left or right unit square in either direction is defined to be , for all admissible arguments. Thus every horizontal-arrow type and every square type that can be indexed is inhabited by exactly one element. The category may be empty, in which case all object-indexed specifications are vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.