A Lean Companion to Conceptual Mathematics

Session 21: Products in categories🔗

Definition: Product (p. 237)

Suppose that A and B are objects in a category 𝒞. A product of A and B (in 𝒞) is

  1. an object P in 𝒞, and

  2. a pair of maps, {P \xrightarrow{p_1} A}, {P \xrightarrow{p_2} B}, in 𝒞 satisfying:

for every object T and every pair of maps {T \xrightarrow{q_1} A}, {T \xrightarrow{q_2} B}, there is exactly one map {T \xrightarrow{q} P} for which {q_1 = p_1 \circ q} and {q_2 = p_2 \circ q}.

See the earlier definition of product on p. 217.

Theorem (p. 239)

Suppose that {A \xleftarrow{p_1} P \xrightarrow{p_2} B} and {A \xleftarrow{q_1} Q \xrightarrow{q_2} B}, are two products of A and B. Because {A \xleftarrow{p_1} P \xrightarrow{p_2} B} is a product, viewing Q as a 'test object' gives a map {Q \rightarrow P}; because {A \xleftarrow{q_1} Q \xrightarrow{q_2} B} is a product, we also get a map {P \rightarrow Q}. These two maps are necessarily inverse to each other, and therefore the two objects P, Q are isomorphic.

We provided a proof of this theorem in Exercise 12 of Article IV using the mathlib API for (binary) products. We repeat that proof here, but this time using only the book definition.

theorem uniqueness_of_products' {𝒞 : Type u} [Category.{v, u} 𝒞] (A B P Q : 𝒞) (p₁ : P ⟶ A) (p₂ : P ⟶ B) (hP : ∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), (∃! t : T ⟶ P, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ t)) (q₁ : Q ⟶ A) (q₂ : Q ⟶ B) (hQ : ∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), (∃! t : T ⟶ Q, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ t)) : Nonempty (P ≅ Q) := 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ t⊢ Nonempty (P ≅ Q) 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ tf:P ⟶ Qhf_comm:p₁ = q₁ ⊚ f ∧ p₂ = q₂ ⊚ fright✝:∀ (y : P ⟶ Q), (fun t ↦ p₁ = q₁ ⊚ t ∧ p₂ = q₂ ⊚ t) y → y = f⊢ Nonempty (P ≅ Q) 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ tf:P ⟶ Qhf_comm:p₁ = q₁ ⊚ f ∧ p₂ = q₂ ⊚ fright✝¹:∀ (y : P ⟶ Q), (fun t ↦ p₁ = q₁ ⊚ t ∧ p₂ = q₂ ⊚ t) y → y = fg:Q ⟶ Phg_comm:q₁ = p₁ ⊚ g ∧ q₂ = p₂ ⊚ gright✝:∀ (y : Q ⟶ P), (fun t ↦ q₁ = p₁ ⊚ t ∧ q₂ = p₂ ⊚ t) y → y = g⊢ Nonempty (P ≅ Q) 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ tf:P ⟶ Qhf_comm:p₁ = q₁ ⊚ f ∧ p₂ = q₂ ⊚ fright✝¹:∀ (y : P ⟶ Q), (fun t ↦ p₁ = q₁ ⊚ t ∧ p₂ = q₂ ⊚ t) y → y = fg:Q ⟶ Phg_comm:q₁ = p₁ ⊚ g ∧ q₂ = p₂ ⊚ gright✝:∀ (y : Q ⟶ P), (fun t ↦ q₁ = p₁ ⊚ t ∧ q₂ = p₂ ⊚ t) y → y = ghgf:g ⊚ f = 𝟙 P⊢ Nonempty (P ≅ Q) 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ tf:P ⟶ Qhf_comm:p₁ = q₁ ⊚ f ∧ p₂ = q₂ ⊚ fright✝¹:∀ (y : P ⟶ Q), (fun t ↦ p₁ = q₁ ⊚ t ∧ p₂ = q₂ ⊚ t) y → y = fg:Q ⟶ Phg_comm:q₁ = p₁ ⊚ g ∧ q₂ = p₂ ⊚ gright✝:∀ (y : Q ⟶ P), (fun t ↦ q₁ = p₁ ⊚ t ∧ q₂ = p₂ ⊚ t) y → y = ghgf:g ⊚ f = 𝟙 Phfg:f ⊚ g = 𝟙 Q⊢ Nonempty (P ≅ Q) 𝒞:Type uinst✝:Category.{v, u} 𝒞A:𝒞B:𝒞P:𝒞Q:𝒞p₁:P ⟶ Ap₂:P ⟶ BhP:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = p₁ ⊚ t ∧ t₂ = p₂ ⊚ tq₁:Q ⟶ Aq₂:Q ⟶ BhQ:∀ (T : 𝒞) (t₁ : T ⟶ A) (t₂ : T ⟶ B), ∃! t, t₁ = q₁ ⊚ t ∧ t₂ = q₂ ⊚ tf:P ⟶ Qhf_comm:p₁ = q₁ ⊚ f ∧ p₂ = q₂ ⊚ fright✝¹:∀ (y : P ⟶ Q), (fun t ↦ p₁ = q₁ ⊚ t ∧ p₂ = q₂ ⊚ t) y → y = fg:Q ⟶ Phg_comm:q₁ = p₁ ⊚ g ∧ q₂ = p₂ ⊚ gright✝:∀ (y : Q ⟶ P), (fun t ↦ q₁ = p₁ ⊚ t ∧ q₂ = p₂ ⊚ t) y → y = ghgf:g ⊚ f = 𝟙 Phfg:f ⊚ g = 𝟙 Q⊢ P ≅ Q All goals completed! 🐙
Exercise 1 (p. 241)

Is there a map in 𝑺↻ from the 'day clock'

abbrev dayClock : SetWithEndomap := { carrier := Fin 24 toEnd := ↾(· + 1) }

to some X^{↻\alpha} which together with the ['shift clock' and map]

abbrev shiftClock : SetWithEndomap := { carrier := Fin 8 toEnd := ↾(· + 1) } def p₁ : dayClock ⟶ shiftClock := ⟨ ↾fun n ↦ Fin.ofNat 8 n, ⊢ (↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd = shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n x:dayClock.carrier⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun x) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun x) ⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨0, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨0, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨1, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨1, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨2, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨2, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨3, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨3, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨4, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨4, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨5, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨5, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨6, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨6, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨7, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨7, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨8, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨8, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨9, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨9, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨10, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨10, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨11, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨11, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨12, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨12, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨13, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨13, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨14, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨14, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨15, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨15, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨16, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨16, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨17, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨17, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨18, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨18, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨19, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨19, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨20, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨20, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨21, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨21, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨22, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨22, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) ⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨0, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨0, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨1, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨1, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨2, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨2, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨3, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨3, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨4, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨4, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨5, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨5, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨6, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨6, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨7, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨7, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨8, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨8, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨9, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨9, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨10, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨10, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨11, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨11, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨12, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨12, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨13, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨13, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨14, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨14, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨15, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨15, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨16, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨16, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨17, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨17, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨18, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨18, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨19, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨19, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨20, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨20, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨21, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨21, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨22, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨22, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 8 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) = ↑((ConcreteCategory.hom (shiftClock.toEnd ⊚ ↾fun n ↦ Fin.ofNat 8 ↑n)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) All goals completed! 🐙 ⟩

makes the 'day clock' into the product of X^{↻\alpha} and the 'shift clock'?

Solution: Exercise 1

We can use a '3-hour clock' as the object X^{↻\alpha}, with the required map {\mathrm{dayClock} \rightarrow X^{↻\alpha}} given by {n \mapsto n \mod 3}.

abbrev Xα : SetWithEndomap := { carrier := Fin 3 toEnd := ↾(· + 1) } def p₂ : dayClock ⟶ Xα := ⟨ ↾fun n ↦ Fin.ofNat 3 n, ⊢ (↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd = Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n x:dayClock.carrier⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun x) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun x) ⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨0, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨0, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨1, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨1, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨2, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨2, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨3, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨3, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨4, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨4, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨5, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨5, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨6, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨6, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨7, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨7, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨8, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨8, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨9, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨9, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨10, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨10, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨11, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨11, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨12, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨12, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨13, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨13, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨14, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨14, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨15, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨15, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨16, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨16, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨17, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨17, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨18, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨18, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨19, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨19, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨20, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨20, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨21, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨21, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨22, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨22, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) ⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨0, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨0, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨1, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨1, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨2, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨2, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨3, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨3, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨4, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨4, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨5, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨5, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨6, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨6, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨7, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨7, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨8, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨8, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨9, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨9, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨10, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨10, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨11, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨11, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨12, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨12, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨13, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨13, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨14, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨14, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨15, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨15, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨16, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨16, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨17, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨17, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨18, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨18, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨19, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨19, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨20, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨20, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨21, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨21, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨22, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨22, ⋯⟩))⊢ ↑((ConcreteCategory.hom ((↾fun n ↦ Fin.ofNat 3 ↑n) ⊚ dayClock.toEnd)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) = ↑((ConcreteCategory.hom (Xα.toEnd ⊚ ↾fun n ↦ Fin.ofNat 3 ↑n)).toFun ((fun i ↦ i) ⟨23, ⋯⟩)) All goals completed! 🐙 ⟩

The proof is a direct application of the Chinese Remainder Theorem (CRT), and we begin by defining some helpers:

[Isomorphism] Construct Fin 24 from Fin 8 and Fin 3 via CRT.

def crt (a : Fin 8) (b : Fin 3) : Fin 24 := Fin.ofNat 24 (9 * a.val + 16 * b.val)

[Homomorphism] Show that crt preserves (· + 1) structure.

lemma h_crt_comm (a : Fin 8) (b : Fin 3) : crt (a + 1) (b + 1) = crt a b + 1 := a:Fin 8b:Fin 3⊢ crt (a + 1) (b + 1) = crt a b + 1 b:Fin 3⊢ crt ((fun i ↦ i) ⟨0, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨0, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨1, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨1, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨2, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨2, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨3, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨3, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨4, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨4, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨5, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨5, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨6, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨6, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) b + 1 b:Fin 3⊢ crt ((fun i ↦ i) ⟨0, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨0, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨1, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨1, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨2, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨2, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨3, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨3, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨4, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨4, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨5, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨5, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨6, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨6, ⋯⟩) b + 1b:Fin 3⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) (b + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) b + 1 ⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1 ⊢ crt ((fun i ↦ i) ⟨0, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨0, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨0, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨1, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨1, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨1, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨2, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨2, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨2, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨3, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨3, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨3, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨4, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨4, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨4, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨5, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨5, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨5, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨6, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨6, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨6, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨0, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨1, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩) + 1⊢ crt ((fun i ↦ i) ⟨7, ⋯⟩ + 1) ((fun i ↦ i) ⟨2, ⋯⟩ + 1) = crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩) + 1 All goals completed! 🐙

[Commutativity] Show that p₁ ∘ crt and p₂ ∘ crt recover components.

lemma h_p₁_crt (a : Fin 8) (b : Fin 3) : p₁.val (crt a b) = a := a:Fin 8b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt a b) = a b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨0, ⋯⟩) b) = (fun i ↦ i) ⟨0, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨1, ⋯⟩) b) = (fun i ↦ i) ⟨1, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨2, ⋯⟩) b) = (fun i ↦ i) ⟨2, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨3, ⋯⟩) b) = (fun i ↦ i) ⟨3, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨4, ⋯⟩) b) = (fun i ↦ i) ⟨4, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨5, ⋯⟩) b) = (fun i ↦ i) ⟨5, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨6, ⋯⟩) b) = (fun i ↦ i) ⟨6, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) b) = (fun i ↦ i) ⟨7, ⋯⟩ b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨0, ⋯⟩) b) = (fun i ↦ i) ⟨0, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨1, ⋯⟩) b) = (fun i ↦ i) ⟨1, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨2, ⋯⟩) b) = (fun i ↦ i) ⟨2, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨3, ⋯⟩) b) = (fun i ↦ i) ⟨3, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨4, ⋯⟩) b) = (fun i ↦ i) ⟨4, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨5, ⋯⟩) b) = (fun i ↦ i) ⟨5, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨6, ⋯⟩) b) = (fun i ↦ i) ⟨6, ⋯⟩b:Fin 3⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) b) = (fun i ↦ i) ⟨7, ⋯⟩ ⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩ ⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨3, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨3, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨3, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨4, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨4, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨4, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨5, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨5, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨5, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨6, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨6, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨6, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ (ConcreteCategory.hom ↑p₁) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩ All goals completed! 🐙 lemma h_p₂_crt (a : Fin 8) (b : Fin 3) : p₂.val (crt a b) = b := a:Fin 8b:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt a b) = b b:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨0, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨1, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨2, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨3, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨4, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨5, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨6, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) b) = b b:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨0, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨1, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨2, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨3, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨4, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨5, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨6, ⋯⟩) b) = bb:Fin 3⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) b) = b ⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩ ⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨0, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨1, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨2, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨3, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨4, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨5, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨6, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ (ConcreteCategory.hom ↑p₂) (crt ((fun i ↦ i) ⟨7, ⋯⟩) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩ All goals completed! 🐙

[Uniqueness] Show that any Fin 24 decomposes into projections.

lemma h_crt_uniq (x : dayClock.carrier) : crt (p₁.val x) (p₂.val x) = x := x:dayClock.carrier⊢ crt ((ConcreteCategory.hom ↑p₁) x) ((ConcreteCategory.hom ↑p₂) x) = x ⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨0, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨1, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨2, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨3, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨3, ⋯⟩)) = (fun i ↦ i) ⟨3, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨4, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨4, ⋯⟩)) = (fun i ↦ i) ⟨4, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨5, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨5, ⋯⟩)) = (fun i ↦ i) ⟨5, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨6, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨6, ⋯⟩)) = (fun i ↦ i) ⟨6, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨7, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨7, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨8, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨8, ⋯⟩)) = (fun i ↦ i) ⟨8, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨9, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨9, ⋯⟩)) = (fun i ↦ i) ⟨9, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨10, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨10, ⋯⟩)) = (fun i ↦ i) ⟨10, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨11, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨11, ⋯⟩)) = (fun i ↦ i) ⟨11, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨12, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨12, ⋯⟩)) = (fun i ↦ i) ⟨12, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨13, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨13, ⋯⟩)) = (fun i ↦ i) ⟨13, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨14, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨14, ⋯⟩)) = (fun i ↦ i) ⟨14, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨15, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨15, ⋯⟩)) = (fun i ↦ i) ⟨15, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨16, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨16, ⋯⟩)) = (fun i ↦ i) ⟨16, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨17, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨17, ⋯⟩)) = (fun i ↦ i) ⟨17, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨18, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨18, ⋯⟩)) = (fun i ↦ i) ⟨18, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨19, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨19, ⋯⟩)) = (fun i ↦ i) ⟨19, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨20, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨20, ⋯⟩)) = (fun i ↦ i) ⟨20, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨21, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨21, ⋯⟩)) = (fun i ↦ i) ⟨21, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨22, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨22, ⋯⟩)) = (fun i ↦ i) ⟨22, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨23, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨23, ⋯⟩)) = (fun i ↦ i) ⟨23, ⋯⟩ ⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨0, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨0, ⋯⟩)) = (fun i ↦ i) ⟨0, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨1, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨1, ⋯⟩)) = (fun i ↦ i) ⟨1, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨2, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨2, ⋯⟩)) = (fun i ↦ i) ⟨2, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨3, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨3, ⋯⟩)) = (fun i ↦ i) ⟨3, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨4, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨4, ⋯⟩)) = (fun i ↦ i) ⟨4, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨5, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨5, ⋯⟩)) = (fun i ↦ i) ⟨5, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨6, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨6, ⋯⟩)) = (fun i ↦ i) ⟨6, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨7, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨7, ⋯⟩)) = (fun i ↦ i) ⟨7, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨8, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨8, ⋯⟩)) = (fun i ↦ i) ⟨8, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨9, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨9, ⋯⟩)) = (fun i ↦ i) ⟨9, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨10, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨10, ⋯⟩)) = (fun i ↦ i) ⟨10, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨11, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨11, ⋯⟩)) = (fun i ↦ i) ⟨11, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨12, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨12, ⋯⟩)) = (fun i ↦ i) ⟨12, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨13, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨13, ⋯⟩)) = (fun i ↦ i) ⟨13, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨14, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨14, ⋯⟩)) = (fun i ↦ i) ⟨14, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨15, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨15, ⋯⟩)) = (fun i ↦ i) ⟨15, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨16, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨16, ⋯⟩)) = (fun i ↦ i) ⟨16, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨17, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨17, ⋯⟩)) = (fun i ↦ i) ⟨17, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨18, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨18, ⋯⟩)) = (fun i ↦ i) ⟨18, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨19, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨19, ⋯⟩)) = (fun i ↦ i) ⟨19, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨20, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨20, ⋯⟩)) = (fun i ↦ i) ⟨20, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨21, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨21, ⋯⟩)) = (fun i ↦ i) ⟨21, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨22, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨22, ⋯⟩)) = (fun i ↦ i) ⟨22, ⋯⟩⊢ crt ((ConcreteCategory.hom ↑p₁) ((fun i ↦ i) ⟨23, ⋯⟩)) ((ConcreteCategory.hom ↑p₂) ((fun i ↦ i) ⟨23, ⋯⟩)) = (fun i ↦ i) ⟨23, ⋯⟩ All goals completed! 🐙

We are now ready to prove that the 'day clock' with the given projections is the product of the 'shift clock' and our '3-hour clock' X^{↻\alpha}.

open ConcreteCategory in example : IsLimit (BinaryFan.mk p₁ p₂) := { -- Construct morphism f from cone point s.pt to product lift s := ⟨ ↾fun x ↦ crt ((BinaryFan.fst s).val x) ((BinaryFan.snd s).val x), s:Cone (pair shiftClock Xα)⊢ (↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = (BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x) s:Cone (pair shiftClock Xα)x:s.pt.carrier⊢ (hom ((↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom ((BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) x⊢ (hom ((↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom ((BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) xb:Fin 3 := (hom ↑(BinaryFan.snd s)) x⊢ (hom ((↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom ((BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) xb:Fin 3 := (hom ↑(BinaryFan.snd s)) xhf₁_comm:(hom ↑(BinaryFan.fst s)) ((hom s.pt.toEnd) x) = a + 1⊢ (hom ((↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom ((BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) xb:Fin 3 := (hom ↑(BinaryFan.snd s)) xhf₁_comm:(hom ↑(BinaryFan.fst s)) ((hom s.pt.toEnd) x) = a + 1hf₂_comm:(hom ↑(BinaryFan.snd s)) ((hom s.pt.toEnd) x) = b + 1⊢ (hom ((↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom ((BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) xb:Fin 3 := (hom ↑(BinaryFan.snd s)) xhf₁_comm:(hom ↑(BinaryFan.fst s)) ((hom s.pt.toEnd) x) = a + 1hf₂_comm:(hom ↑(BinaryFan.snd s)) ((hom s.pt.toEnd) x) = b + 1⊢ crt ((hom ↑(BinaryFan.fst s)) ((hom s.pt.toEnd) x)) ((hom ↑(BinaryFan.snd s)) ((hom s.pt.toEnd) x)) = crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x) + 1 s:Cone (pair shiftClock Xα)x:s.pt.carriera:Fin 8 := (hom ↑(BinaryFan.fst s)) xb:Fin 3 := (hom ↑(BinaryFan.snd s)) xhf₁_comm:(hom ↑(BinaryFan.fst s)) ((hom s.pt.toEnd) x) = a + 1hf₂_comm:(hom ↑(BinaryFan.snd s)) ((hom s.pt.toEnd) x) = b + 1⊢ crt (a + 1) (b + 1) = crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x) + 1 All goals completed! 🐙 ⟩ -- Verify triangle diagrams commute for both legs of cone s fac s j := s:Cone (pair shiftClock Xα)j:Discrete WalkingPair⊢ (BinaryFan.mk p₁ p₂).π.app j ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩ = s.π.app j s:Cone (pair shiftClock Xα)⊢ (BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.left } ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩ = s.π.app { as := WalkingPair.left }s:Cone (pair shiftClock Xα)⊢ (BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩ = s.π.app { as := WalkingPair.right } all_goals s:Cone (pair shiftClock Xα)⊢ ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩) = ↑(s.π.app { as := WalkingPair.right }) s:Cone (pair shiftClock Xα)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.right })).toFun x first | s:Cone (pair shiftClock Xα)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.right })).toFun x | All goals completed! 🐙 -- Show morphism f is unique by decomposing it into projections uniq s f hf := s:Cone (pair shiftClock Xα)f:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthf:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ f = s.π.app j⊢ f = ⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩ s:Cone (pair shiftClock Xα)f:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthf:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ f = s.π.app j⊢ ↑f = ↑⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩ s:Cone (pair shiftClock Xα)f:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthf:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ f = s.π.app jx:s.pt.carrier⊢ (hom ↑f).toFun x = (hom ↑⟨↾fun x ↦ crt ((hom ↑(BinaryFan.fst s)) x) ((hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x s:Cone (pair shiftClock Xα)f:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthf:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ f = s.π.app jx:s.pt.carrier⊢ (hom ↑f) x = crt ((hom ↑(s.π.app { as := WalkingPair.left })) x) ((hom ↑(s.π.app { as := WalkingPair.right })) x) s:Cone (pair shiftClock Xα)f:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthf:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ f = s.π.app jx:s.pt.carrier⊢ crt ((hom ↑p₁) ((hom ↑f) x)) ((hom ↑p₂) ((hom ↑f) x)) = crt ((hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.left } ⊚ f)) x) ((hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ f)) x) All goals completed! 🐙 }
Exercise 2 (p. 244)

What is the product {C_m \times C_n} of an m-cycle and an n-cycle? For example, what is the product {C_{12} \times C_{8}}? Hint: Start by investigating products of cycles of smaller sizes.

Solution: Exercise 2

TODO Exercise 21.2

Exercise 3 (p. 244)

Return to Exercise 3 of Session 12. Show that the object which was called {\mathbf{G} \times \mathbf{C}}, when provided with appropriate projection maps, really is the product in the category 𝑺↻↻.

Solution: Exercise 3

See Exercise 3 of Session 12 for the relevant definitions.

We begin by defining appropriate projection maps.

def p₁ : GC ⟶ G := ⟨ ↾fun (g, _) ↦ g, ⊢ ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd = G.toEnd ⊚ ↾fun x ↦ match x with | (g, snd) => g) ∧ (↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2 = G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g ⊢ (↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd = G.toEnd ⊚ ↾fun x ↦ match x with | (g, snd) => g⊢ (↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2 = G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g ⊢ (↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd = G.toEnd ⊚ ↾fun x ↦ match x with | (g, snd) => g x:GC.carrier⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd)).toFun x = (ConcreteCategory.hom (G.toEnd ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun x All goals completed! 🐙 ⊢ (↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2 = G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g x₁:Genderx₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (x₁, x₂) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (x₁, x₂) x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.female, x₂) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.female, x₂)x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, x₂) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, x₂) x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.female, x₂) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.female, x₂)x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, x₂) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, x₂) ⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.wolf) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.bear) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, Clan.bear) ⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.female, Clan.wolf) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.female, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.female, Clan.bear) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.female, Clan.bear)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.wolf) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (g, snd) => g) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.bear) = (ConcreteCategory.hom (G.toEnd2 ⊚ ↾fun x ↦ match x with | (g, snd) => g)).toFun (Gender.male, Clan.bear) All goals completed! 🐙 ⟩ def p₂ : GC ⟶ C := ⟨ ↾fun (_, c) ↦ c, ⊢ ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd = C.toEnd ⊚ ↾fun x ↦ match x with | (fst, c) => c) ∧ (↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2 = C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c ⊢ (↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd = C.toEnd ⊚ ↾fun x ↦ match x with | (fst, c) => c⊢ (↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2 = C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c ⊢ (↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd = C.toEnd ⊚ ↾fun x ↦ match x with | (fst, c) => c x:GC.carrier⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd)).toFun x = (ConcreteCategory.hom (C.toEnd ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun x All goals completed! 🐙 ⊢ (↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2 = C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c x₁:Genderx₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (x₁, x₂) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (x₁, x₂) x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.female, x₂) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.female, x₂)x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, x₂) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, x₂) x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.female, x₂) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.female, x₂)x₂:Clan⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, x₂) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, x₂) ⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.wolf) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.bear) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, Clan.bear) ⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.female, Clan.wolf) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.female, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.female, Clan.bear) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.female, Clan.bear)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.wolf) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, Clan.wolf)⊢ (ConcreteCategory.hom ((↾fun x ↦ match x with | (fst, c) => c) ⊚ GC.toEnd2)).toFun (Gender.male, Clan.bear) = (ConcreteCategory.hom (C.toEnd2 ⊚ ↾fun x ↦ match x with | (fst, c) => c)).toFun (Gender.male, Clan.bear) All goals completed! 🐙 ⟩

We use mathlib's API for binary products in the proof that follows.

open ConcreteCategory in example : IsLimit (BinaryFan.mk p₁ p₂) := { lift s := ⟨ ↾fun x ↦ ((BinaryFan.fst s).val x, (BinaryFan.snd s).val x), s:Cone (pair G C)⊢ ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = (BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ∧ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = (BinaryFan.mk p₁ p₂).pt.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.left }).toEnd = ((pair G C).obj { as := WalkingPair.left }).toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.left }).toEnd2 = ((pair G C).obj { as := WalkingPair.left }).toEnd2 ⊚ ↑(BinaryFan.fst s)⊢ ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = (BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ∧ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = (BinaryFan.mk p₁ p₂).pt.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.left }).toEnd = ((pair G C).obj { as := WalkingPair.left }).toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.left }).toEnd2 = ((pair G C).obj { as := WalkingPair.left }).toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.right }).toEnd = ((pair G C).obj { as := WalkingPair.right }).toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ (((Functor.const (Discrete WalkingPair)).obj s.pt).obj { as := WalkingPair.right }).toEnd2 = ((pair G C).obj { as := WalkingPair.right }).toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = (BinaryFan.mk p₁ p₂).pt.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ∧ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = (BinaryFan.mk p₁ p₂).pt.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ∧ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd = GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x = (hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x).1 = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x).2 = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x).1 = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (↑(BinaryFan.fst s) ⊚ s.pt.toEnd)) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1 erw [s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (G.toEnd ⊚ ↑(BinaryFan.fst s))) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (G.toEnd ⊚ ↑(BinaryFan.fst s))) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1; All goals completed! 🐙 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd)).toFun x).2 = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (↑(BinaryFan.snd s) ⊚ s.pt.toEnd)) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2 erw [s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (C.toEnd ⊚ ↑(BinaryFan.snd s))) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (C.toEnd ⊚ ↑(BinaryFan.snd s))) x = ((hom (GC.toEnd ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2; All goals completed! 🐙 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)⊢ (↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2 = GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x) s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2)).toFun x = (hom (GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2)).toFun x).1 = ((hom (GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2)).toFun x).2 = ((hom (GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2)).toFun x).1 = ((hom (GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (↑(BinaryFan.fst s) ⊚ s.pt.toEnd2)) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).1 erw [s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (G.toEnd2 ⊚ ↑(BinaryFan.fst s))) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (G.toEnd2 ⊚ ↑(BinaryFan.fst s))) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrierc:((pair G C).obj { as := WalkingPair.right }).carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, c)).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.wolf)).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.bear)).1 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.wolf)).1s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom G.toEnd2) ((hom ↑(BinaryFan.fst s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.bear)).1 All goals completed! 🐙 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ ((hom ((↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)) ⊚ s.pt.toEnd2)).toFun x).2 = ((hom (GC.toEnd2 ⊚ ↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x))).toFun x).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (↑(BinaryFan.snd s) ⊚ s.pt.toEnd2)) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).2 erw [s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (C.toEnd2 ⊚ ↑(BinaryFan.snd s))) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).2s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom (C.toEnd2 ⊚ ↑(BinaryFan.snd s))) x = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom C.toEnd2) ((hom ↑(BinaryFan.snd s)) x) = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x)).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrierc:((pair G C).obj { as := WalkingPair.right }).carrier⊢ (hom C.toEnd2) c = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, c)).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom C.toEnd2) Clan.wolf = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.wolf)).2s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom C.toEnd2) Clan.bear = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.bear)).2 s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom C.toEnd2) Clan.wolf = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.wolf)).2s:Cone (pair G C)h_fst_m:↑(BinaryFan.fst s) ⊚ s.pt.toEnd = G.toEnd ⊚ ↑(BinaryFan.fst s)h_fst_f:↑(BinaryFan.fst s) ⊚ s.pt.toEnd2 = G.toEnd2 ⊚ ↑(BinaryFan.fst s)h_snd_m:↑(BinaryFan.snd s) ⊚ s.pt.toEnd = C.toEnd ⊚ ↑(BinaryFan.snd s)h_snd_f:↑(BinaryFan.snd s) ⊚ s.pt.toEnd2 = C.toEnd2 ⊚ ↑(BinaryFan.snd s)x:s.pt.carrier⊢ (hom C.toEnd2) Clan.bear = ((hom GC.toEnd2) ((hom ↑(BinaryFan.fst s)) x, Clan.bear)).2 All goals completed! 🐙 ⟩ fac s j := s:Cone (pair G C)j:Discrete WalkingPair⊢ (BinaryFan.mk p₁ p₂).π.app j ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩ = s.π.app j s:Cone (pair G C)j:Discrete WalkingPair⊢ ↑((BinaryFan.mk p₁ p₂).π.app j ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩) = ↑(s.π.app j) s:Cone (pair G C)j:Discrete WalkingPairx:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app j ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app j)).toFun x s:Cone (pair G C)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.left } ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.left })).toFun xs:Cone (pair G C)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.right })).toFun x s:Cone (pair G C)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.left } ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.left })).toFun xs:Cone (pair G C)x:s.pt.carrier⊢ (hom ↑((BinaryFan.mk p₁ p₂).π.app { as := WalkingPair.right } ⊚ ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩)).toFun x = (hom ↑(s.π.app { as := WalkingPair.right })).toFun x All goals completed! 🐙 uniq s m hm := s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app j⊢ m = ⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩ s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app j⊢ ↑m = ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩ s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app jx:s.pt.carrier⊢ (hom ↑m).toFun x = (hom ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app jx:s.pt.carrier⊢ ((hom ↑m).toFun x).1 = ((hom ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x).1s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app jx:s.pt.carrier⊢ ((hom ↑m).toFun x).2 = ((hom ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x).2 s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app jx:s.pt.carrier⊢ ((hom ↑m).toFun x).1 = ((hom ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x).1 All goals completed! 🐙 s:Cone (pair G C)m:s.pt ⟶ (BinaryFan.mk p₁ p₂).pthm:∀ (j : Discrete WalkingPair), (BinaryFan.mk p₁ p₂).π.app j ⊚ m = s.π.app jx:s.pt.carrier⊢ ((hom ↑m).toFun x).2 = ((hom ↑⟨↾fun x ↦ ((hom ↑(BinaryFan.fst s)) x, (hom ↑(BinaryFan.snd s)) x), ⋯⟩).toFun x).2 All goals completed! 🐙 }