Lemma A.7: unit compatibility and inverse-pair naturality
OpenQAlgorithms.Papers.Independent.Intake100.P16.transformationUnitAndInverseLet be bicategories and pseudofunctors, with unitors . Let consist of object components and invertible naturality cells , satisfying only the composition and 2-cell naturality axioms (T1) and (T2).
For every object , unit compatibility follows:
Here is vertical composition, is horizontal composition, and are the source's left and right unitors.
If additionally are strict and both are normalized, then
for every object and every , with . Normalization means preservation of identities and all such inverse pairs, with identity unitors and the corresponding identity compositors.
This result supplies the unit axiom omitted from Definition A.6, including the additional inverse-pair identity used in normalized transport.
Formalization Note The input record omits Mathlib's unit axiom. Mathlib uses diagrammatic composition; its pseudofunctor compositor is inverse to the paper's. Heterogeneous equality records identity cells across the explicitly equal endpoints.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P16
namespace QAlgorithms.Papers.Independent.Intake100.P16
open CategoryTheory CategoryTheory.Bicategory CategoryTheory.MonoidalCategory
open scoped CategoryTheory.Pseudofunctor.StrongTrans
universe uS vS wS uT vT wT uC vC
/-- Lemma A.7, PDF pp.44–45. Part (i) derives the unit diagram from
T1 and T2. Only part (ii) requires strict bicategories and normalized
pseudofunctors. Both identity equalities and the inverse-pair equality
are retained; the inverse is on the naturality cell at f.
Normalization correction in (A.3), PDF p.43: printed c_f,g = id_idX;
changed to id_idF(X), because this compositor is a target 2-cell over F(X).
Only the identity subscript is corrected; the inverse-pair condition and
both conclusions of this lemma are unchanged. -/
theorem transformationUnitAndInverse
{S : Type uS} [Bicategory.{wS, vS} S]
{T : Type uT} [Bicategory.{wT, vT} T]
(F G : Pseudofunctor S T) (r : UnitFreeStrongTrans F G) :
(∀ X : S,
(r.naturality (𝟙 X)).hom ≫ r.app X ◁ (G.mapId X).hom =
(F.mapId X).hom ▷ r.app X ≫ (Bicategory.leftUnitor (r.app X)).hom ≫
(Bicategory.rightUnitor (r.app X)).inv) ∧
(Bicategory.Strict S → Bicategory.Strict T →
IsNormalized F → IsNormalized G →
(∀ X : S,
HEq (r.naturality (𝟙 X)).hom (𝟙 (F.map (𝟙 X) ≫ r.app X)) ∧
HEq (r.naturality (𝟙 X)).hom (𝟙 (r.app X ≫ G.map (𝟙 X)))) ∧
(∀ {X Y : S} (f : X ⟶ Y) (g : Y ⟶ X), f ≫ g = 𝟙 X →
HEq (F.map f ◁ (r.naturality g).hom)
((r.naturality f).inv ▷ G.map g))) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P16
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be arbitrary bicategories and pseudofunctors. Suppose one is given, for each object , a 1-morphism , and for each , an invertible 2-morphism . Assume these data satisfy for every 2-morphism between parallel , and, for every , ,
Here means composition in the order written, mean left and right whiskering, is the associator, is the forward composition comparison of a pseudofunctor , and is its forward identity comparison. The theorem asserts, first, that for every ,
where and are the unitors. It asserts, second, the following implication: if and are strict bicategories and each satisfies, for every object , and , and also satisfies, for every , with , both and , then
and, for every , with ,
Throughout, means heterogeneous equality, allowing different types for the compared terms. The last conclusion requires only the displayed one-sided inverse equation, including its identity-morphism cases; all object-indexed assertions are vacuous when has no objects.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.