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

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

Proof of Theorem termopropd
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, 5termopropdlem 49212 . 2 ((𝜑 ∧ ¬ 𝐶 ∈ V) → (TermO‘𝐶) = (TermO‘𝐷))
71adantr 480 . . . . 5 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (Homf𝐶) = (Homf𝐷))
87eqcomd 2736 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (Homf𝐷) = (Homf𝐶))
93adantr 480 . . . . 5 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (compf𝐶) = (compf𝐷))
109eqcomd 2736 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (compf𝐷) = (compf𝐶))
11 simpr 484 . . . 4 ((𝜑 ∧ ¬ 𝐷 ∈ V) → ¬ 𝐷 ∈ V)
128, 10, 11termopropdlem 49212 . . 3 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (TermO‘𝐷) = (TermO‘𝐶))
1312eqcomd 2736 . 2 ((𝜑 ∧ ¬ 𝐷 ∈ V) → (TermO‘𝐶) = (TermO‘𝐷))
141adantr 480 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (Homf𝐶) = (Homf𝐷))
1514adantr 480 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Homf𝐶) = (Homf𝐷))
16 eqid 2730 . . . . . . . . . . . . . . 15 (Hom ‘𝐶) = (Hom ‘𝐶)
17 eqid 2730 . . . . . . . . . . . . . . 15 (Hom ‘𝐷) = (Hom ‘𝐷)
18 eqidd 2731 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Base‘𝐶) = (Base‘𝐶))
1915homfeqbas 17663 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (Base‘𝐶) = (Base‘𝐷))
2016, 17, 18, 19homfeq 17661 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((Homf𝐶) = (Homf𝐷) ↔ ∀𝑏 ∈ (Base‘𝐶)∀𝑎 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎)))
21 ralcom 3266 . . . . . . . . . . . . . 14 (∀𝑏 ∈ (Base‘𝐶)∀𝑎 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎) ↔ ∀𝑎 ∈ (Base‘𝐶)∀𝑏 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎))
2220, 21bitrdi 287 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((Homf𝐶) = (Homf𝐷) ↔ ∀𝑎 ∈ (Base‘𝐶)∀𝑏 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎)))
2315, 22mpbid 232 . . . . . . . . . . . 12 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ∀𝑎 ∈ (Base‘𝐶)∀𝑏 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎))
2423r19.21bi 3230 . . . . . . . . . . 11 ((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) → ∀𝑏 ∈ (Base‘𝐶)(𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎))
2524r19.21bi 3230 . . . . . . . . . 10 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → (𝑏(Hom ‘𝐶)𝑎) = (𝑏(Hom ‘𝐷)𝑎))
2625eleq2d 2815 . . . . . . . . 9 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → ( ∈ (𝑏(Hom ‘𝐶)𝑎) ↔ ∈ (𝑏(Hom ‘𝐷)𝑎)))
2726eubidv 2580 . . . . . . . 8 (((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) ∧ 𝑏 ∈ (Base‘𝐶)) → (∃! ∈ (𝑏(Hom ‘𝐶)𝑎) ↔ ∃! ∈ (𝑏(Hom ‘𝐷)𝑎)))
2827ralbidva 3155 . . . . . . 7 ((((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ∧ 𝑎 ∈ (Base‘𝐶)) → (∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐶)𝑎) ↔ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐷)𝑎)))
2928pm5.32da 579 . . . . . 6 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐶)𝑎)) ↔ (𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐷)𝑎))))
3019eleq2d 2815 . . . . . . 7 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (𝑎 ∈ (Base‘𝐶) ↔ 𝑎 ∈ (Base‘𝐷)))
3119raleqdv 3301 . . . . . . 7 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐷)𝑎) ↔ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑏(Hom ‘𝐷)𝑎)))
3230, 31anbi12d 632 . . . . . 6 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐷)𝑎)) ↔ (𝑎 ∈ (Base‘𝐷) ∧ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑏(Hom ‘𝐷)𝑎))))
3329, 32bitrd 279 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → ((𝑎 ∈ (Base‘𝐶) ∧ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐶)𝑎)) ↔ (𝑎 ∈ (Base‘𝐷) ∧ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑏(Hom ‘𝐷)𝑎))))
3433rabbidva2 3410 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → {𝑎 ∈ (Base‘𝐶) ∣ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐶)𝑎)} = {𝑎 ∈ (Base‘𝐷) ∣ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑏(Hom ‘𝐷)𝑎)})
35 simpr 484 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → 𝐶 ∈ Cat)
36 eqid 2730 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
3735, 36, 16termoval 17962 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (TermO‘𝐶) = {𝑎 ∈ (Base‘𝐶) ∣ ∀𝑏 ∈ (Base‘𝐶)∃! ∈ (𝑏(Hom ‘𝐶)𝑎)})
383adantr 480 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (compf𝐶) = (compf𝐷))
39 simprl 770 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → 𝐶 ∈ V)
40 simprr 772 . . . . . . 7 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → 𝐷 ∈ V)
4114, 38, 39, 40catpropd 17676 . . . . . 6 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (𝐶 ∈ Cat ↔ 𝐷 ∈ Cat))
4241biimpa 476 . . . . 5 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → 𝐷 ∈ Cat)
43 eqid 2730 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
4442, 43, 17termoval 17962 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (TermO‘𝐷) = {𝑎 ∈ (Base‘𝐷) ∣ ∀𝑏 ∈ (Base‘𝐷)∃! ∈ (𝑏(Hom ‘𝐷)𝑎)})
4534, 37, 443eqtr4d 2775 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) → (TermO‘𝐶) = (TermO‘𝐷))
4641pm5.32i 574 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐶 ∈ Cat) ↔ ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐷 ∈ Cat))
4746, 45sylbir 235 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ 𝐷 ∈ Cat) → (TermO‘𝐶) = (TermO‘𝐷))
48 termofn 17956 . . . . . . . 8 TermO Fn Cat
4948fndmi 6624 . . . . . . 7 dom TermO = Cat
5049eleq2i 2821 . . . . . 6 (𝐶 ∈ dom TermO ↔ 𝐶 ∈ Cat)
51 ndmfv 6895 . . . . . 6 𝐶 ∈ dom TermO → (TermO‘𝐶) = ∅)
5250, 51sylnbir 331 . . . . 5 𝐶 ∈ Cat → (TermO‘𝐶) = ∅)
5352ad2antrl 728 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (TermO‘𝐶) = ∅)
5449eleq2i 2821 . . . . . 6 (𝐷 ∈ dom TermO ↔ 𝐷 ∈ Cat)
55 ndmfv 6895 . . . . . 6 𝐷 ∈ dom TermO → (TermO‘𝐷) = ∅)
5654, 55sylnbir 331 . . . . 5 𝐷 ∈ Cat → (TermO‘𝐷) = ∅)
5756ad2antll 729 . . . 4 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (TermO‘𝐷) = ∅)
5853, 57eqtr4d 2768 . . 3 (((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) ∧ (¬ 𝐶 ∈ Cat ∧ ¬ 𝐷 ∈ Cat)) → (TermO‘𝐶) = (TermO‘𝐷))
5945, 47, 58pm2.61ddan 813 . 2 ((𝜑 ∧ (𝐶 ∈ V ∧ 𝐷 ∈ V)) → (TermO‘𝐶) = (TermO‘𝐷))
606, 13, 59pm2.61dda 814 1 (𝜑 → (TermO‘𝐶) = (TermO‘𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1540  wcel 2109  ∃!weu 2562  wral 3045  {crab 3408  Vcvv 3450  c0 4298  dom cdm 5640  cfv 6513  (class class class)co 7389  Basecbs 17185  Hom chom 17237  Catccat 17631  Homf chomf 17633  compfccomf 17634  TermOctermo 17950
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5236  ax-sep 5253  ax-nul 5263  ax-pow 5322  ax-pr 5389  ax-un 7713
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-reu 3357  df-rab 3409  df-v 3452  df-sbc 3756  df-csb 3865  df-dif 3919  df-un 3921  df-in 3923  df-ss 3933  df-nul 4299  df-if 4491  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-iun 4959  df-br 5110  df-opab 5172  df-mpt 5191  df-id 5535  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-rn 5651  df-res 5652  df-ima 5653  df-iota 6466  df-fun 6515  df-fn 6516  df-f 6517  df-f1 6518  df-fo 6519  df-f1o 6520  df-fv 6521  df-ov 7392  df-oprab 7393  df-mpo 7394  df-1st 7970  df-2nd 7971  df-cat 17635  df-homf 17637  df-comf 17638  df-termo 17953
This theorem is referenced by:  zeroopropd  49216
  Copyright terms: Public domain W3C validator