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

Theorem cat1lem 18056
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 18057. (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 18038 . . . 4 (𝜑𝑈 = (Base‘𝐶))
5 cat1lem.3 . . . 4 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2789 . . 3 (𝜑𝑈 = 𝐵)
71, 6eleqtrd 2834 . 2 (𝜑 → ∅ ∈ 𝐵)
8 cat1lem.6 . . . 4 (𝜑𝑌𝑈)
98, 6eleqtrd 2834 . . 3 (𝜑𝑌𝐵)
10 f0 6772 . . . . 5 ∅:∅⟶∅
11 cat1lem.4 . . . . . 6 𝐻 = (Hom ‘𝐶)
122, 3, 11, 1, 1elsetchom 18041 . . . . 5 (𝜑 → (∅ ∈ (∅𝐻∅) ↔ ∅:∅⟶∅))
1310, 12mpbiri 258 . . . 4 (𝜑 → ∅ ∈ (∅𝐻∅))
14 f0 6772 . . . . 5 ∅:∅⟶𝑌
152, 3, 11, 1, 8elsetchom 18041 . . . . 5 (𝜑 → (∅ ∈ (∅𝐻𝑌) ↔ ∅:∅⟶𝑌))
1614, 15mpbiri 258 . . . 4 (𝜑 → ∅ ∈ (∅𝐻𝑌))
17 inelcm 4464 . . . 4 ((∅ ∈ (∅𝐻∅) ∧ ∅ ∈ (∅𝐻𝑌)) → ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅)
1813, 16, 17syl2anc 583 . . 3 (𝜑 → ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅)
19 cat1lem.7 . . . . 5 (𝜑 → ∅ ≠ 𝑌)
2019neneqd 2944 . . . 4 (𝜑 → ¬ ∅ = 𝑌)
2120intnand 488 . . 3 (𝜑 → ¬ (∅ = ∅ ∧ ∅ = 𝑌))
22 oveq1 7419 . . . . . . 7 (𝑧 = ∅ → (𝑧𝐻𝑤) = (∅𝐻𝑤))
2322ineq2d 4212 . . . . . 6 (𝑧 = ∅ → ((∅𝐻∅) ∩ (𝑧𝐻𝑤)) = ((∅𝐻∅) ∩ (∅𝐻𝑤)))
2423neeq1d 2999 . . . . 5 (𝑧 = ∅ → (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅))
25 eqeq2 2743 . . . . . . 7 (𝑧 = ∅ → (∅ = 𝑧 ↔ ∅ = ∅))
2625anbi1d 629 . . . . . 6 (𝑧 = ∅ → ((∅ = 𝑧 ∧ ∅ = 𝑤) ↔ (∅ = ∅ ∧ ∅ = 𝑤)))
2726notbid 318 . . . . 5 (𝑧 = ∅ → (¬ (∅ = 𝑧 ∧ ∅ = 𝑤) ↔ ¬ (∅ = ∅ ∧ ∅ = 𝑤)))
2824, 27anbi12d 630 . . . 4 (𝑧 = ∅ → ((((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)) ↔ (((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑤))))
29 oveq2 7420 . . . . . . 7 (𝑤 = 𝑌 → (∅𝐻𝑤) = (∅𝐻𝑌))
3029ineq2d 4212 . . . . . 6 (𝑤 = 𝑌 → ((∅𝐻∅) ∩ (∅𝐻𝑤)) = ((∅𝐻∅) ∩ (∅𝐻𝑌)))
3130neeq1d 2999 . . . . 5 (𝑤 = 𝑌 → (((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅))
32 eqeq2 2743 . . . . . . 7 (𝑤 = 𝑌 → (∅ = 𝑤 ↔ ∅ = 𝑌))
3332anbi2d 628 . . . . . 6 (𝑤 = 𝑌 → ((∅ = ∅ ∧ ∅ = 𝑤) ↔ (∅ = ∅ ∧ ∅ = 𝑌)))
3433notbid 318 . . . . 5 (𝑤 = 𝑌 → (¬ (∅ = ∅ ∧ ∅ = 𝑤) ↔ ¬ (∅ = ∅ ∧ ∅ = 𝑌)))
3531, 34anbi12d 630 . . . 4 (𝑤 = 𝑌 → ((((∅𝐻∅) ∩ (∅𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑤)) ↔ (((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑌))))
3628, 35rspc2ev 3624 . . 3 ((∅ ∈ 𝐵𝑌𝐵 ∧ (((∅𝐻∅) ∩ (∅𝐻𝑌)) ≠ ∅ ∧ ¬ (∅ = ∅ ∧ ∅ = 𝑌))) → ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
377, 9, 18, 21, 36syl112anc 1373 . 2 (𝜑 → ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
38 oveq1 7419 . . . . . . 7 (𝑥 = ∅ → (𝑥𝐻𝑦) = (∅𝐻𝑦))
3938ineq1d 4211 . . . . . 6 (𝑥 = ∅ → ((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) = ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)))
4039neeq1d 2999 . . . . 5 (𝑥 = ∅ → (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅))
41 eqeq1 2735 . . . . . . 7 (𝑥 = ∅ → (𝑥 = 𝑧 ↔ ∅ = 𝑧))
4241anbi1d 629 . . . . . 6 (𝑥 = ∅ → ((𝑥 = 𝑧𝑦 = 𝑤) ↔ (∅ = 𝑧𝑦 = 𝑤)))
4342notbid 318 . . . . 5 (𝑥 = ∅ → (¬ (𝑥 = 𝑧𝑦 = 𝑤) ↔ ¬ (∅ = 𝑧𝑦 = 𝑤)))
4440, 43anbi12d 630 . . . 4 (𝑥 = ∅ → ((((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤))))
45442rexbidv 3218 . . 3 (𝑥 = ∅ → (∃𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝐵𝑤𝐵 (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤))))
46 oveq2 7420 . . . . . . 7 (𝑦 = ∅ → (∅𝐻𝑦) = (∅𝐻∅))
4746ineq1d 4211 . . . . . 6 (𝑦 = ∅ → ((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) = ((∅𝐻∅) ∩ (𝑧𝐻𝑤)))
4847neeq1d 2999 . . . . 5 (𝑦 = ∅ → (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ↔ ((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅))
49 eqeq1 2735 . . . . . . 7 (𝑦 = ∅ → (𝑦 = 𝑤 ↔ ∅ = 𝑤))
5049anbi2d 628 . . . . . 6 (𝑦 = ∅ → ((∅ = 𝑧𝑦 = 𝑤) ↔ (∅ = 𝑧 ∧ ∅ = 𝑤)))
5150notbid 318 . . . . 5 (𝑦 = ∅ → (¬ (∅ = 𝑧𝑦 = 𝑤) ↔ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤)))
5248, 51anbi12d 630 . . . 4 (𝑦 = ∅ → ((((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤)) ↔ (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))))
53522rexbidv 3218 . . 3 (𝑦 = ∅ → (∃𝑧𝐵𝑤𝐵 (((∅𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))))
5445, 53rspc2ev 3624 . 2 ((∅ ∈ 𝐵 ∧ ∅ ∈ 𝐵 ∧ ∃𝑧𝐵𝑤𝐵 (((∅𝐻∅) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (∅ = 𝑧 ∧ ∅ = 𝑤))) → ∃𝑥𝐵𝑦𝐵𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)))
557, 7, 37, 54syl3anc 1370 1 (𝜑 → ∃𝑥𝐵𝑦𝐵𝑧𝐵𝑤𝐵 (((𝑥𝐻𝑦) ∩ (𝑧𝐻𝑤)) ≠ ∅ ∧ ¬ (𝑥 = 𝑧𝑦 = 𝑤)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1540  wcel 2105  wne 2939  wrex 3069  cin 3947  c0 4322  wf 6539  cfv 6543  (class class class)co 7412  Basecbs 17151  Hom chom 17215  SetCatcsetc 18035
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2702  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7729  ax-cnex 11172  ax-resscn 11173  ax-1cn 11174  ax-icn 11175  ax-addcl 11176  ax-addrcl 11177  ax-mulcl 11178  ax-mulrcl 11179  ax-mulcom 11180  ax-addass 11181  ax-mulass 11182  ax-distr 11183  ax-i2m1 11184  ax-1ne0 11185  ax-1rid 11186  ax-rnegex 11187  ax-rrecex 11188  ax-cnre 11189  ax-pre-lttri 11190  ax-pre-lttrn 11191  ax-pre-ltadd 11192  ax-pre-mulgt0 11193
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3376  df-rab 3432  df-v 3475  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-tp 4633  df-op 4635  df-uni 4909  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7368  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7860  df-1st 7979  df-2nd 7980  df-frecs 8272  df-wrecs 8303  df-recs 8377  df-rdg 8416  df-1o 8472  df-er 8709  df-map 8828  df-en 8946  df-dom 8947  df-sdom 8948  df-fin 8949  df-pnf 11257  df-mnf 11258  df-xr 11259  df-ltxr 11260  df-le 11261  df-sub 11453  df-neg 11454  df-nn 12220  df-2 12282  df-3 12283  df-4 12284  df-5 12285  df-6 12286  df-7 12287  df-8 12288  df-9 12289  df-n0 12480  df-z 12566  df-dec 12685  df-uz 12830  df-fz 13492  df-struct 17087  df-slot 17122  df-ndx 17134  df-base 17152  df-hom 17228  df-cco 17229  df-setc 18036
This theorem is referenced by:  cat1  18057
  Copyright terms: Public domain W3C validator