Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  diag1f1lem Structured version   Visualization version   GIF version

Theorem diag1f1lem 50564
Description: The object part of the diagonal functor is 1-1 if 𝐵 is non-empty. Note that (𝜑 → (𝑀 = 𝑁 ↔ 𝑋 = 𝑌)) also holds because of diag1f1 50565 and f1fveq 7270. (Contributed by Zhi Wang, 19-Oct-2025.)
Hypotheses
Ref Expression
diag1f1.l 𝐿 = (𝐶Δfunc𝐷)
diag1f1.c (𝜑 → 𝐶 ∈ Cat)
diag1f1.d (𝜑 → 𝐷 ∈ Cat)
diag1f1.a 𝐴 = (Base‘𝐶)
diag1f1.b 𝐵 = (Base‘𝐷)
diag1f1.0 (𝜑 → 𝐵 ≠ ∅)
diag1f1lem.x (𝜑 → 𝑋 ∈ 𝐴)
diag1f1lem.y (𝜑 → 𝑌 ∈ 𝐴)
diag1f1lem.m 𝑀 = ((1st ‘𝐿)‘𝑋)
diag1f1lem.n 𝑁 = ((1st ‘𝐿)‘𝑌)
Assertion
Ref Expression
diag1f1lem (𝜑 → (𝑀 = 𝑁 → 𝑋 = 𝑌))

Proof of Theorem diag1f1lem
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 diag1f1.l . . . 4 𝐿 = (𝐶Δfunc𝐷)
2 diag1f1.c . . . 4 (𝜑 → 𝐶 ∈ Cat)
3 diag1f1.d . . . 4 (𝜑 → 𝐷 ∈ Cat)
4 diag1f1.a . . . 4 𝐴 = (Base‘𝐶)
5 diag1f1lem.x . . . 4 (𝜑 → 𝑋 ∈ 𝐴)
6 diag1f1lem.m . . . 4 𝑀 = ((1st ‘𝐿)‘𝑋)
7 diag1f1.b . . . 4 𝐵 = (Base‘𝐷)
8 eqid 2760 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
9 eqid 2760 . . . 4 (Id‘𝐶) = (Id‘𝐶)
101, 2, 3, 4, 5, 6, 7, 8, 9diag1a 50563 . . 3 (𝜑 → 𝑀 = ⟨(𝐵 × {𝑋}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑋)}))⟩)
11 diag1f1lem.y . . . 4 (𝜑 → 𝑌 ∈ 𝐴)
12 diag1f1lem.n . . . 4 𝑁 = ((1st ‘𝐿)‘𝑌)
131, 2, 3, 4, 11, 12, 7, 8, 9diag1a 50563 . . 3 (𝜑 → 𝑁 = ⟨(𝐵 × {𝑌}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑌)}))⟩)
1410, 13eqeq12d 2776 . 2 (𝜑 → (𝑀 = 𝑁 ↔ ⟨(𝐵 × {𝑋}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑋)}))⟩ = ⟨(𝐵 × {𝑌}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑌)}))⟩))
157fvexi 6904 . . . . 5 𝐵 ∈ V
16 snex 5397 . . . . 5 {𝑋} ∈ V
1715, 16xpex 7771 . . . 4 (𝐵 × {𝑋}) ∈ V
1815, 15mpoex 8097 . . . 4 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑋)})) ∈ V
1917, 18opth1 5444 . . 3 (⟨(𝐵 × {𝑋}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑋)}))⟩ = ⟨(𝐵 × {𝑌}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑌)}))⟩ → (𝐵 × {𝑋}) = (𝐵 × {𝑌}))
20 diag1f1.0 . . . . 5 (𝜑 → 𝐵 ≠ ∅)
21 xpcan 6170 . . . . 5 (𝐵 ≠ ∅ → ((𝐵 × {𝑋}) = (𝐵 × {𝑌}) ↔ {𝑋} = {𝑌}))
2220, 21syl 18 . . . 4 (𝜑 → ((𝐵 × {𝑋}) = (𝐵 × {𝑌}) ↔ {𝑋} = {𝑌}))
23 sneqrg 4793 . . . . 5 (𝑋 ∈ 𝐴 → ({𝑋} = {𝑌} → 𝑋 = 𝑌))
245, 23syl 18 . . . 4 (𝜑 → ({𝑋} = {𝑌} → 𝑋 = 𝑌))
2522, 24sylbid 243 . . 3 (𝜑 → ((𝐵 × {𝑋}) = (𝐵 × {𝑌}) → 𝑋 = 𝑌))
2619, 25syl5 35 . 2 (𝜑 → (⟨(𝐵 × {𝑋}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑋)}))⟩ = ⟨(𝐵 × {𝑌}), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥(Hom ‘𝐷)𝑦) × {((Id‘𝐶)‘𝑌)}))⟩ → 𝑋 = 𝑌))
2714, 26sylbid 243 1 (𝜑 → (𝑀 = 𝑁 → 𝑋 = 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∅c0 4277  {csn 4584  ⟨cop 4834   × cxp 5649  ‘cfv 6543  (class class class)co 7424   ∈ cmpo 7426  1st c1st 8003  Basecbs 17396  Hom chom 17448  Catccat 17847  Idccid 17848  Δfunccdiag 18395
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-1o 8484  df-er 8725  df-map 8857  df-ixp 8934  df-en 8982  df-dom 8983  df-sdom 8984  df-fin 8985  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-2 12412  df-3 12413  df-4 12414  df-5 12415  df-6 12416  df-7 12417  df-8 12418  df-9 12419  df-n0 12614  df-z 12701  df-dec 12822  df-uz 12973  df-fz 13647  df-struct 17334  df-slot 17369  df-ndx 17381  df-base 17397  df-hom 17461  df-cco 17462  df-cat 17851  df-cid 17852  df-func 18042  df-nat 18130  df-fuc 18131  df-xpc 18355  df-1stf 18356  df-curf 18397  df-diag 18399
This theorem is used by:  diag1f1  50565
  Copyright terms: Public domain W3C validator