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

Theorem functhinclem1 46322
Description: Lemma for functhinc 46326. Given the object part, there is only one possible morphism part such that the mapped morphism is in its corresponding hom-set. (Contributed by Zhi Wang, 1-Oct-2024.)
Hypotheses
Ref Expression
functhinclem1.b 𝐵 = (Base‘𝐷)
functhinclem1.c 𝐶 = (Base‘𝐸)
functhinclem1.h 𝐻 = (Hom ‘𝐷)
functhinclem1.j 𝐽 = (Hom ‘𝐸)
functhinclem1.e (𝜑𝐸 ∈ ThinCat)
functhinclem1.f (𝜑𝐹:𝐵𝐶)
functhinclem1.k 𝐾 = (𝑥𝐵, 𝑦𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦))))
functhinclem1.1 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
Assertion
Ref Expression
functhinclem1 (𝜑 → ((𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤))) ↔ 𝐺 = 𝐾))
Distinct variable groups:   𝑤,𝐵,𝑥,𝑦,𝑧   𝑤,𝐹,𝑥,𝑦,𝑧   𝑤,𝐺,𝑧   𝑤,𝐻,𝑥,𝑦,𝑧   𝑤,𝐽,𝑥,𝑦,𝑧   𝑤,𝐾,𝑧   𝜑,𝑤,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐶(𝑥,𝑦,𝑧,𝑤)   𝐷(𝑥,𝑦,𝑧,𝑤)   𝐸(𝑥,𝑦,𝑧,𝑤)   𝐺(𝑥,𝑦)   𝐾(𝑥,𝑦)

Proof of Theorem functhinclem1
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 simpl 483 . . 3 ((𝜑 ∧ (𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))) → 𝜑)
2 simpr2 1194 . . 3 ((𝜑 ∧ (𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))) → 𝐺 Fn (𝐵 × 𝐵))
3 simpr3 1195 . . 3 ((𝜑 ∧ (𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))) → ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))
4 eqid 2738 . . . . . . . 8 ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤))) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤)))
5 functhinclem1.1 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
65adantlr 712 . . . . . . . 8 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
7 functhinclem1.e . . . . . . . . . 10 (𝜑𝐸 ∈ ThinCat)
87ad2antrr 723 . . . . . . . . 9 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → 𝐸 ∈ ThinCat)
9 functhinclem1.f . . . . . . . . . . 11 (𝜑𝐹:𝐵𝐶)
109ad2antrr 723 . . . . . . . . . 10 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → 𝐹:𝐵𝐶)
11 simprl 768 . . . . . . . . . 10 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → 𝑧𝐵)
1210, 11ffvelrnd 6962 . . . . . . . . 9 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑧) ∈ 𝐶)
13 simprr 770 . . . . . . . . . 10 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → 𝑤𝐵)
1410, 13ffvelrnd 6962 . . . . . . . . 9 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑤) ∈ 𝐶)
15 functhinclem1.c . . . . . . . . 9 𝐶 = (Base‘𝐸)
16 functhinclem1.j . . . . . . . . 9 𝐽 = (Hom ‘𝐸)
178, 12, 14, 15, 16thincmo 46310 . . . . . . . 8 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → ∃*𝑚 𝑚 ∈ ((𝐹𝑧)𝐽(𝐹𝑤)))
184, 6, 17mofeu 46175 . . . . . . 7 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → ((𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)) ↔ (𝑧𝐺𝑤) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤)))))
19 oveq1 7282 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑥𝐻𝑦) = (𝑧𝐻𝑦))
20 fveq2 6774 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝐹𝑥) = (𝐹𝑧))
2120oveq1d 7290 . . . . . . . . . . 11 (𝑥 = 𝑧 → ((𝐹𝑥)𝐽(𝐹𝑦)) = ((𝐹𝑧)𝐽(𝐹𝑦)))
2219, 21xpeq12d 5620 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦))) = ((𝑧𝐻𝑦) × ((𝐹𝑧)𝐽(𝐹𝑦))))
23 oveq2 7283 . . . . . . . . . . 11 (𝑦 = 𝑤 → (𝑧𝐻𝑦) = (𝑧𝐻𝑤))
24 fveq2 6774 . . . . . . . . . . . 12 (𝑦 = 𝑤 → (𝐹𝑦) = (𝐹𝑤))
2524oveq2d 7291 . . . . . . . . . . 11 (𝑦 = 𝑤 → ((𝐹𝑧)𝐽(𝐹𝑦)) = ((𝐹𝑧)𝐽(𝐹𝑤)))
2623, 25xpeq12d 5620 . . . . . . . . . 10 (𝑦 = 𝑤 → ((𝑧𝐻𝑦) × ((𝐹𝑧)𝐽(𝐹𝑦))) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤))))
27 functhinclem1.k . . . . . . . . . 10 𝐾 = (𝑥𝐵, 𝑦𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦))))
28 ovex 7308 . . . . . . . . . . 11 (𝑧𝐻𝑤) ∈ V
29 ovex 7308 . . . . . . . . . . 11 ((𝐹𝑧)𝐽(𝐹𝑤)) ∈ V
3028, 29xpex 7603 . . . . . . . . . 10 ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤))) ∈ V
3122, 26, 27, 30ovmpo 7433 . . . . . . . . 9 ((𝑧𝐵𝑤𝐵) → (𝑧𝐾𝑤) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤))))
3231adantl 482 . . . . . . . 8 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → (𝑧𝐾𝑤) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤))))
3332eqeq2d 2749 . . . . . . 7 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → ((𝑧𝐺𝑤) = (𝑧𝐾𝑤) ↔ (𝑧𝐺𝑤) = ((𝑧𝐻𝑤) × ((𝐹𝑧)𝐽(𝐹𝑤)))))
3418, 33bitr4d 281 . . . . . 6 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ (𝑧𝐵𝑤𝐵)) → ((𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)) ↔ (𝑧𝐺𝑤) = (𝑧𝐾𝑤)))
35342ralbidva 3128 . . . . 5 ((𝜑𝐺 Fn (𝐵 × 𝐵)) → (∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)) ↔ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤) = (𝑧𝐾𝑤)))
36 simpr 485 . . . . . 6 ((𝜑𝐺 Fn (𝐵 × 𝐵)) → 𝐺 Fn (𝐵 × 𝐵))
37 ovex 7308 . . . . . . . 8 (𝑥𝐻𝑦) ∈ V
38 ovex 7308 . . . . . . . 8 ((𝐹𝑥)𝐽(𝐹𝑦)) ∈ V
3937, 38xpex 7603 . . . . . . 7 ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦))) ∈ V
4027, 39fnmpoi 7910 . . . . . 6 𝐾 Fn (𝐵 × 𝐵)
41 eqfnov2 7404 . . . . . 6 ((𝐺 Fn (𝐵 × 𝐵) ∧ 𝐾 Fn (𝐵 × 𝐵)) → (𝐺 = 𝐾 ↔ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤) = (𝑧𝐾𝑤)))
4236, 40, 41sylancl 586 . . . . 5 ((𝜑𝐺 Fn (𝐵 × 𝐵)) → (𝐺 = 𝐾 ↔ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤) = (𝑧𝐾𝑤)))
4335, 42bitr4d 281 . . . 4 ((𝜑𝐺 Fn (𝐵 × 𝐵)) → (∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)) ↔ 𝐺 = 𝐾))
4443biimpa 477 . . 3 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤))) → 𝐺 = 𝐾)
451, 2, 3, 44syl21anc 835 . 2 ((𝜑 ∧ (𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))) → 𝐺 = 𝐾)
46 functhinclem1.b . . . . . . . 8 𝐵 = (Base‘𝐷)
4746fvexi 6788 . . . . . . 7 𝐵 ∈ V
4847, 47mpoex 7920 . . . . . 6 (𝑥𝐵, 𝑦𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦)))) ∈ V
4927, 48eqeltri 2835 . . . . 5 𝐾 ∈ V
50 eleq1 2826 . . . . 5 (𝐺 = 𝐾 → (𝐺 ∈ V ↔ 𝐾 ∈ V))
5149, 50mpbiri 257 . . . 4 (𝐺 = 𝐾𝐺 ∈ V)
5251adantl 482 . . 3 ((𝜑𝐺 = 𝐾) → 𝐺 ∈ V)
53 fneq1 6524 . . . . 5 (𝐺 = 𝐾 → (𝐺 Fn (𝐵 × 𝐵) ↔ 𝐾 Fn (𝐵 × 𝐵)))
5440, 53mpbiri 257 . . . 4 (𝐺 = 𝐾𝐺 Fn (𝐵 × 𝐵))
5554adantl 482 . . 3 ((𝜑𝐺 = 𝐾) → 𝐺 Fn (𝐵 × 𝐵))
56 simpl 483 . . . 4 ((𝜑𝐺 = 𝐾) → 𝜑)
57 simpr 485 . . . 4 ((𝜑𝐺 = 𝐾) → 𝐺 = 𝐾)
5843biimpar 478 . . . 4 (((𝜑𝐺 Fn (𝐵 × 𝐵)) ∧ 𝐺 = 𝐾) → ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))
5956, 55, 57, 58syl21anc 835 . . 3 ((𝜑𝐺 = 𝐾) → ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤)))
6052, 55, 593jca 1127 . 2 ((𝜑𝐺 = 𝐾) → (𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤))))
6145, 60impbida 798 1 (𝜑 → ((𝐺 ∈ V ∧ 𝐺 Fn (𝐵 × 𝐵) ∧ ∀𝑧𝐵𝑤𝐵 (𝑧𝐺𝑤):(𝑧𝐻𝑤)⟶((𝐹𝑧)𝐽(𝐹𝑤))) ↔ 𝐺 = 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  c0 4256   × cxp 5587   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  cmpo 7277  Basecbs 16912  Hom chom 16973  ThinCatcthinc 46300
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-thinc 46301
This theorem is referenced by:  functhinc  46326
  Copyright terms: Public domain W3C validator