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

Theorem initopropd 48966
Description: Two structures with the same base, hom-sets and composition operation have the same initial objects. (Contributed by Zhi Wang, 23-Oct-2025.)
Hypotheses
Ref Expression
initopropd.1 (𝜑 → (Homf𝐶) = (Homf𝐷))
initopropd.2 (𝜑 → (compf𝐶) = (compf𝐷))
Assertion
Ref Expression
initopropd (𝜑 → (InitO‘𝐶) = (InitO‘𝐷))

Proof of Theorem initopropd
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 initopropd.1 . . . 4 (𝜑 → (Homf𝐶) = (Homf𝐷))
21adantr 480 . . 3 ((𝜑 ∧ ¬ 𝐶 ∈ V) → (Homf𝐶) = (Homf𝐷))
3 initopropd.2 . . . 4 (𝜑 → (compf𝐶) = (compf𝐷))
43adantr 480 . . 3 ((𝜑 ∧ ¬ 𝐶 ∈ V) → (compf𝐶) = (compf𝐷))
5 simpr 484 . . 3 ((𝜑 ∧ ¬ 𝐶 ∈ V) → ¬ 𝐶 ∈ V)
62, 4, 5initopropdlem 48963 . 2 ((𝜑 ∧ ¬ 𝐶 ∈ V) → (InitO‘𝐶) = (InitO‘𝐷))
71adantr 480 . . . . 5 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (Homf𝐶) = (Homf𝐷))
87eqcomd 2740 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (Homf𝐷) = (Homf𝐶))
93adantr 480 . . . . 5 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (compf𝐶) = (compf𝐷))
109eqcomd 2740 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (compf𝐷) = (compf𝐶))
11 simpr 484 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → ¬ 𝐷 ∈ V)
128, 10, 11initopropdlem 48963 . . 3 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (InitO‘𝐷) = (InitO‘𝐶))
1312eqcomd 2740 . 2 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (InitO‘𝐶) = (InitO‘𝐷))
141adantr 480 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (Homf𝐶) = (Homf𝐷))
1514adantr 480 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Homf𝐶) = (Homf𝐷))
16 eqid 2734 . . . . . . . . . . . . . 14 (Hom ‘𝐶) = (Hom ‘𝐶)
17 eqid 2734 . . . . . . . . . . . . . 14 (Hom ‘𝐷) = (Hom ‘𝐷)
18 eqidd 2735 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Base‘𝐶) = (Base‘𝐶))
1915homfeqbas 17693 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Base‘𝐶) = (Base‘𝐷))
2016, 17, 18, 19homfeq 17691 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((Homf𝐶) = (Homf𝐷) ↔ ∀𝑎 ∈ (Base‘𝐶)∀𝑏 ∈ (Base‘𝐶)(𝑎(Hom ‘𝐶)𝑏) = (𝑎(Hom ‘𝐷)𝑏)))
2115, 20mpbid 232 . . . . . . . . . . . 12 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ∀𝑎 ∈ (Base‘𝐶)∀𝑏 ∈ (Base‘𝐶)(𝑎(Hom ‘𝐶)𝑏) = (𝑎(Hom ‘𝐷)𝑏))
2221r19.21bi 3232 . . . . . . . . . . 11 ((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) → ∀𝑏 ∈ (Base‘𝐶)(𝑎(Hom ‘𝐶)𝑏) = (𝑎(Hom ‘𝐷)𝑏))
2322r19.21bi 3232 . . . . . . . . . 10 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → (𝑎(Hom ‘𝐶)𝑏) = (𝑎(Hom ‘𝐷)𝑏))
2423eleq2d 2819 . . . . . . . . 9 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → ( ∈ (𝑎(Hom ‘𝐶)𝑏) ↔ ∈ (𝑎(Hom ‘𝐷)𝑏)))
2524eubidv 2584 . . . . . . . 8 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → (∃! ∈ (𝑎(Hom ‘𝐶)𝑏) ↔ ∃! ∈ (𝑎(Hom ‘𝐷)𝑏)))
2625ralbidva 3159 . . . . . . 7 ((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) → (∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐶)𝑏) ↔ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐷)𝑏)))
2726pm5.32da 579 . . . . . 6 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐶)𝑏)) ↔ (𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐷)𝑏))))
2819eleq2d 2819 . . . . . . 7 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (𝑎 ∈ (Base‘𝐶) ↔ 𝑎 ∈ (Base‘𝐷)))
2919raleqdv 3303 . . . . . . 7 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐷)𝑏) ↔ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑎(Hom ‘𝐷)𝑏)))
3028, 29anbi12d 632 . . . . . 6 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐷)𝑏)) ↔ (𝑎 ∈ (Base‘𝐷) ∧ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑎(Hom ‘𝐷)𝑏))))
3127, 30bitrd 279 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐶)𝑏)) ↔ (𝑎 ∈ (Base‘𝐷) ∧ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑎(Hom ‘𝐷)𝑏))))
3231rabbidva2 3415 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → {𝑎 ∈ (Base‘𝐶) ∣ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐶)𝑏)} = {𝑎 ∈ (Base‘𝐷) ∣ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑎(Hom ‘𝐷)𝑏)})
33 simpr 484 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → 𝐶 ∈ Cat)
34 eqid 2734 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
3533, 34, 16initoval 17991 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (InitO‘𝐶) = {𝑎 ∈ (Base‘𝐶) ∣ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑎(Hom ‘𝐶)𝑏)})
363adantr 480 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (compf𝐶) = (compf𝐷))
37 simprl 770 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → 𝐶 ∈ V)
38 simprr 772 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → 𝐷 ∈ V)
3914, 36, 37, 38catpropd 17706 . . . . . 6 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (𝐶 ∈ Cat ↔ 𝐷 ∈ Cat))
4039biimpa 476 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → 𝐷 ∈ Cat)
41 eqid 2734 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
4240, 41, 17initoval 17991 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (InitO‘𝐷) = {𝑎 ∈ (Base‘𝐷) ∣ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑎(Hom ‘𝐷)𝑏)})
4332, 35, 423eqtr4d 2779 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (InitO‘𝐶) = (InitO‘𝐷))
4439pm5.32i 574 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ↔ ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐷 ∈ Cat))
4544, 43sylbir 235 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐷 ∈ Cat) → (InitO‘𝐶) = (InitO‘𝐷))
46 initofn 17985 . . . . . . . 8 InitO Fn Cat
4746fndmi 6638 . . . . . . 7 dom InitO = Cat
4847eleq2i 2825 . . . . . 6 (𝐶 ∈ dom InitO ↔ 𝐶 ∈ Cat)
49 ndmfv 6907 . . . . . 6 𝐶 ∈ dom InitO → (InitO‘𝐶) = ∅)
5048, 49sylnbir 331 . . . . 5 𝐶 ∈ Cat → (InitO‘𝐶) = ∅)
5150ad2antrl 728 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (InitO‘𝐶) = ∅)
5247eleq2i 2825 . . . . . 6 (𝐷 ∈ dom InitO ↔ 𝐷 ∈ Cat)
53 ndmfv 6907 . . . . . 6 𝐷 ∈ dom InitO → (InitO‘𝐷) = ∅)
5452, 53sylnbir 331 . . . . 5 𝐷 ∈ Cat → (InitO‘𝐷) = ∅)
5554ad2antll 729 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (InitO‘𝐷) = ∅)
5651, 55eqtr4d 2772 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (InitO‘𝐶) = (InitO‘𝐷))
5743, 45, 56pm2.61ddan 813 . 2 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (InitO‘𝐶) = (InitO‘𝐷))
586, 13, 57pm2.61dda 814 1 (𝜑 → (InitO‘𝐶) = (InitO‘𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wcel 2107  ∃!weu 2566  wral 3050  {crab 3413  Vcvv 3457  c0 4306  dom cdm 5651  cfv 6527  (class class class)co 7399  Basecbs 17213  Hom chom 17267  Catccat 17661  Homf chomf 17663  compfccomf 17664  InitOcinito 17979
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-rep 5246  ax-sep 5263  ax-nul 5273  ax-pow 5332  ax-pr 5399  ax-un 7723
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-ral 3051  df-rex 3060  df-reu 3358  df-rab 3414  df-v 3459  df-sbc 3764  df-csb 3873  df-dif 3927  df-un 3929  df-in 3931  df-ss 3941  df-nul 4307  df-if 4499  df-pw 4575  df-sn 4600  df-pr 4602  df-op 4606  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5179  df-mpt 5199  df-id 5545  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-iota 6480  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-ov 7402  df-oprab 7403  df-mpo 7404  df-1st 7982  df-2nd 7983  df-cat 17665  df-homf 17667  df-comf 17668  df-inito 17982
This theorem is referenced by:  zeroopropd  48968
  Copyright terms: Public domain W3C validator