MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cat1lem Structured version   Visualization version   GIF version

Theorem cat1lem 18142
Description: The category of sets in a "universe" containing the empty set and another set does not have pairwise disjoint hom-sets as required in Axiom CAT 1 in [Lang] p. 53. Lemma for cat1 18143. (Contributed by Zhi Wang, 15-Sep-2024.)
Hypotheses
Ref Expression
cat1lem.1 𝐶 = (SetCat‘𝑈)
cat1lem.2 (𝜑𝑈𝑉)
cat1lem.3 𝐵 = (Base‘𝐶)
cat1lem.4 𝐻 = (Hom ‘𝐶)
cat1lem.5 (𝜑 → ∅ ∈ 𝑈)
cat1lem.6 (𝜑𝑌𝑈)
cat1lem.7 (𝜑 → ∅ ≠ 𝑌)
Assertion
Ref Expression
cat1lem (𝜑 → ∃𝑥𝐵𝑦𝐵𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)))
Distinct variable groups:   𝑤,𝐵,𝑥,𝑦,𝑧   𝑤,𝐻,𝑥,𝑦,𝑧   𝑤,𝑌
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝐶(𝑥,𝑦,𝑧,𝑤)   𝑈(𝑥,𝑦,𝑧,𝑤)   𝑉(𝑥,𝑦,𝑧,𝑤)   𝑌(𝑥,𝑦,𝑧)

Proof of Theorem cat1lem
StepHypRef Expression
1 cat1lem.5 . . 3 (𝜑 → ∅ ∈ 𝑈)
2 cat1lem.1 . . . . 5 𝐶 = (SetCat‘𝑈)
3 cat1lem.2 . . . . 5 (𝜑𝑈𝑉)
42, 3setcbas 18124 . . . 4 (𝜑𝑈 = (Base‘𝐶))
5 cat1lem.3 . . . 4 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2794 . . 3 (𝜑𝑈 = 𝐵)
71, 6eleqtrd 2842 . 2 (𝜑 → ∅ ∈ 𝐵)
8 cat1lem.6 . . . 4 (𝜑𝑌𝑈)
98, 6eleqtrd 2842 . . 3 (𝜑𝑌𝐵)
10 f0 6788 . . . . 5 ∅:∅⟶∅
11 cat1lem.4 . . . . . 6 𝐻 = (Hom ‘𝐶)
122, 3, 11, 1, 1elsetchom 18127 . . . . 5 (𝜑 → (∅ ∈ (∅𝐻∅) ↔ ∅:∅⟶∅))
1310, 12mpbiri 258 . . . 4 (𝜑 → ∅ ∈ (∅𝐻∅))
14 f0 6788 . . . . 5 ∅:∅⟶𝑌
152, 3, 11, 1, 8elsetchom 18127 . . . . 5 (𝜑 → (∅ ∈ (∅𝐻𝑌) ↔ ∅:∅⟶𝑌))
1614, 15mpbiri 258 . . . 4 (𝜑 → ∅ ∈ (∅𝐻𝑌))
17 inelcm 4464 . . . 4 ((∅ ∈ (∅𝐻∅) ∧ ∅ ∈ (∅𝐻𝑌)) → ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅)
1813, 16, 17syl2anc 584 . . 3 (𝜑 → ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅)
19 cat1lem.7 . . . . 5 (𝜑 → ∅ ≠ 𝑌)
2019neneqd 2944 . . . 4 (𝜑 → ¬ ∅ = 𝑌)
2120intnand 488 . . 3 (𝜑 → ¬ (∅ = ∅ ∧ ∅ = 𝑌))
22 oveq1 7439 . . . . . . 7 (𝑧 = ∅ → (𝑧𝐻𝑤) = (∅𝐻𝑤))
2322ineq2d 4219 . . . . . 6 (𝑧 = ∅ → ((∅𝐻∅) ∩ (𝑧𝐻𝑤)) = ((∅𝐻∅) ∩ (∅𝐻𝑤)))
2423neeq1d 2999 . . . . 5 (𝑧 = ∅ → (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅))
25 eqeq2 2748 . . . . . . 7 (𝑧 = ∅ → (∅ = 𝑧 ↔ ∅ = ∅))
2625anbi1d 631 . . . . . 6 (𝑧 = ∅ → ((∅ = 𝑧 ∧ ∅ = 𝑤) ↔ (∅ = ∅ ∧ ∅ = 𝑤)))
2726notbid 318 . . . . 5 (𝑧 = ∅ → (¬ (∅ = 𝑧 ∧ ∅ = 𝑤) ↔ ¬ (∅ = ∅ ∧ ∅ = 𝑤)))
2824, 27anbi12d 632 . . . 4 (𝑧 = ∅ → ((((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)) ↔ (((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑤))))
29 oveq2 7440 . . . . . . 7 (𝑤 = 𝑌 → (∅𝐻𝑤) = (∅𝐻𝑌))
3029ineq2d 4219 . . . . . 6 (𝑤 = 𝑌 → ((∅𝐻∅) ∩ (∅𝐻𝑤)) = ((∅𝐻∅) ∩ (∅𝐻𝑌)))
3130neeq1d 2999 . . . . 5 (𝑤 = 𝑌 → (((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅))
32 eqeq2 2748 . . . . . . 7 (𝑤 = 𝑌 → (∅ = 𝑤 ↔ ∅ = 𝑌))
3332anbi2d 630 . . . . . 6 (𝑤 = 𝑌 → ((∅ = ∅ ∧ ∅ = 𝑤) ↔ (∅ = ∅ ∧ ∅ = 𝑌)))
3433notbid 318 . . . . 5 (𝑤 = 𝑌 → (¬ (∅ = ∅ ∧ ∅ = 𝑤) ↔ ¬ (∅ = ∅ ∧ ∅ = 𝑌)))
3531, 34anbi12d 632 . . . 4 (𝑤 = 𝑌 → ((((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑤)) ↔ (((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑌))))
3628, 35rspc2ev 3634 . . 3 ((∅ ∈ 𝐵𝑌𝐵 ∧ (((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑌))) → ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
377, 9, 18, 21, 36syl112anc 1375 . 2 (𝜑 → ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
38 oveq1 7439 . . . . . . 7 (𝑥 = ∅ → (𝑥𝐻𝑦) = (∅𝐻𝑦))
3938ineq1d 4218 . . . . . 6 (𝑥 = ∅ → ((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) = ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)))
4039neeq1d 2999 . . . . 5 (𝑥 = ∅ → (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅))
41 eqeq1 2740 . . . . . . 7 (𝑥 = ∅ → (𝑥 = 𝑧 ↔ ∅ = 𝑧))
4241anbi1d 631 . . . . . 6 (𝑥 = ∅ → ((𝑥 = 𝑧𝑦 = 𝑤) ↔ (∅ = 𝑧𝑦 = 𝑤)))
4342notbid 318 . . . . 5 (𝑥 = ∅ → (¬ (𝑥 = 𝑧𝑦 = 𝑤) ↔ ¬ (∅ = 𝑧𝑦 = 𝑤)))
4440, 43anbi12d 632 . . . 4 (𝑥 = ∅ → ((((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤))))
45442rexbidv 3221 . . 3 (𝑥 = ∅ → (∃𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝐵𝑤𝐵 (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤))))
46 oveq2 7440 . . . . . . 7 (𝑦 = ∅ → (∅𝐻𝑦) = (∅𝐻∅))
4746ineq1d 4218 . . . . . 6 (𝑦 = ∅ → ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) = ((∅𝐻∅) ∩ (𝑧𝐻𝑤)))
4847neeq1d 2999 . . . . 5 (𝑦 = ∅ → (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅))
49 eqeq1 2740 . . . . . . 7 (𝑦 = ∅ → (𝑦 = 𝑤 ↔ ∅ = 𝑤))
5049anbi2d 630 . . . . . 6 (𝑦 = ∅ → ((∅ = 𝑧𝑦 = 𝑤) ↔ (∅ = 𝑧 ∧ ∅ = 𝑤)))
5150notbid 318 . . . . 5 (𝑦 = ∅ → (¬ (∅ = 𝑧𝑦 = 𝑤) ↔ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
5248, 51anbi12d 632 . . . 4 (𝑦 = ∅ → ((((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤)) ↔ (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))))
53522rexbidv 3221 . . 3 (𝑦 = ∅ → (∃𝑧𝐵𝑤𝐵 (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))))
5445, 53rspc2ev 3634 . 2 ((∅ ∈ 𝐵 ∧ ∅ ∈ 𝐵 ∧ ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))) → ∃𝑥𝐵𝑦𝐵𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)))
557, 7, 37, 54syl3anc 1372 1 (𝜑 → ∃𝑥𝐵𝑦𝐵𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wcel 2107  wne 2939  wrex 3069  cin 3949  c0 4332  wf 6556  cfv 6560  (class class class)co 7432  Basecbs 17248  Hom chom 17309  SetCatcsetc 18121
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 2707  ax-rep 5278  ax-sep 5295  ax-nul 5305  ax-pow 5364  ax-pr 5431  ax-un 7756  ax-cnex 11212  ax-resscn 11213  ax-1cn 11214  ax-icn 11215  ax-addcl 11216  ax-addrcl 11217  ax-mulcl 11218  ax-mulrcl 11219  ax-mulcom 11220  ax-addass 11221  ax-mulass 11222  ax-distr 11223  ax-i2m1 11224  ax-1ne0 11225  ax-1rid 11226  ax-rnegex 11227  ax-rrecex 11228  ax-cnre 11229  ax-pre-lttri 11230  ax-pre-lttrn 11231  ax-pre-ltadd 11232  ax-pre-mulgt0 11233
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2728  df-clel 2815  df-nfc 2891  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3380  df-rab 3436  df-v 3481  df-sbc 3788  df-csb 3899  df-dif 3953  df-un 3955  df-in 3957  df-ss 3967  df-pss 3970  df-nul 4333  df-if 4525  df-pw 4601  df-sn 4626  df-pr 4628  df-tp 4630  df-op 4632  df-uni 4907  df-iun 4992  df-br 5143  df-opab 5205  df-mpt 5225  df-tr 5259  df-id 5577  df-eprel 5583  df-po 5591  df-so 5592  df-fr 5636  df-we 5638  df-xp 5690  df-rel 5691  df-cnv 5692  df-co 5693  df-dm 5694  df-rn 5695  df-res 5696  df-ima 5697  df-pred 6320  df-ord 6386  df-on 6387  df-lim 6388  df-suc 6389  df-iota 6513  df-fun 6562  df-fn 6563  df-f 6564  df-f1 6565  df-fo 6566  df-f1o 6567  df-fv 6568  df-riota 7389  df-ov 7435  df-oprab 7436  df-mpo 7437  df-om 7889  df-1st 8015  df-2nd 8016  df-frecs 8307  df-wrecs 8338  df-recs 8412  df-rdg 8451  df-1o 8507  df-er 8746  df-map 8869  df-en 8987  df-dom 8988  df-sdom 8989  df-fin 8990  df-pnf 11298  df-mnf 11299  df-xr 11300  df-ltxr 11301  df-le 11302  df-sub 11495  df-neg 11496  df-nn 12268  df-2 12330  df-3 12331  df-4 12332  df-5 12333  df-6 12334  df-7 12335  df-8 12336  df-9 12337  df-n0 12529  df-z 12616  df-dec 12736  df-uz 12880  df-fz 13549  df-struct 17185  df-slot 17220  df-ndx 17232  df-base 17249  df-hom 17322  df-cco 17323  df-setc 18122
This theorem is referenced by:  cat1  18143
  Copyright terms: Public domain W3C validator