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

Theorem domdifsn 8583
Description: Dominance over a set with one element removed. (Contributed by Stefan O'Rear, 19-Feb-2015.) (Revised by Mario Carneiro, 24-Jun-2015.)
Assertion
Ref Expression
domdifsn (𝐴𝐵𝐴 ≼ (𝐵 ∖ {𝐶}))

Proof of Theorem domdifsn
Dummy variables 𝑓 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sdomdom 8520 . . . . 5 (𝐴𝐵𝐴𝐵)
2 relsdom 8499 . . . . . . 7 Rel ≺
32brrelex2i 5573 . . . . . 6 (𝐴𝐵𝐵 ∈ V)
4 brdomg 8502 . . . . . 6 (𝐵 ∈ V → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
53, 4syl 17 . . . . 5 (𝐴𝐵 → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
61, 5mpbid 235 . . . 4 (𝐴𝐵 → ∃𝑓 𝑓:𝐴1-1𝐵)
76adantr 484 . . 3 ((𝐴𝐵𝐶𝐵) → ∃𝑓 𝑓:𝐴1-1𝐵)
8 f1f 6549 . . . . . . . 8 (𝑓:𝐴1-1𝐵𝑓:𝐴𝐵)
98frnd 6494 . . . . . . 7 (𝑓:𝐴1-1𝐵 → ran 𝑓𝐵)
109adantl 485 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
11 sdomnen 8521 . . . . . . . 8 (𝐴𝐵 → ¬ 𝐴𝐵)
1211ad2antrr 725 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ¬ 𝐴𝐵)
13 vex 3444 . . . . . . . . . . 11 𝑓 ∈ V
14 dff1o5 6599 . . . . . . . . . . . 12 (𝑓:𝐴1-1-onto𝐵 ↔ (𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵))
1514biimpri 231 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝑓:𝐴1-1-onto𝐵)
16 f1oen3g 8508 . . . . . . . . . . 11 ((𝑓 ∈ V ∧ 𝑓:𝐴1-1-onto𝐵) → 𝐴𝐵)
1713, 15, 16sylancr 590 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝐴𝐵)
1817ex 416 . . . . . . . . 9 (𝑓:𝐴1-1𝐵 → (ran 𝑓 = 𝐵𝐴𝐵))
1918necon3bd 3001 . . . . . . . 8 (𝑓:𝐴1-1𝐵 → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2019adantl 485 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2112, 20mpd 15 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
22 pssdifn0 4279 . . . . . 6 ((ran 𝑓𝐵 ∧ ran 𝑓𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
2310, 21, 22syl2anc 587 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
24 n0 4260 . . . . 5 ((𝐵 ∖ ran 𝑓) ≠ ∅ ↔ ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
2523, 24sylib 221 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
262brrelex1i 5572 . . . . . . . . 9 (𝐴𝐵𝐴 ∈ V)
2726ad2antrr 725 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ∈ V)
283ad2antrr 725 . . . . . . . . 9 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐵 ∈ V)
29 difexg 5195 . . . . . . . . 9 (𝐵 ∈ V → (𝐵 ∖ {𝑥}) ∈ V)
3028, 29syl 17 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ∈ V)
31 eldifn 4055 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → ¬ 𝑥 ∈ ran 𝑓)
32 disjsn 4607 . . . . . . . . . . . . 13 ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ¬ 𝑥 ∈ ran 𝑓)
3331, 32sylibr 237 . . . . . . . . . . . 12 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → (ran 𝑓 ∩ {𝑥}) = ∅)
3433adantl 485 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → (ran 𝑓 ∩ {𝑥}) = ∅)
359adantr 484 . . . . . . . . . . . 12 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓𝐵)
36 reldisj 4359 . . . . . . . . . . . 12 (ran 𝑓𝐵 → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3735, 36syl 17 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3834, 37mpbid 235 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓 ⊆ (𝐵 ∖ {𝑥}))
39 f1ssr 6556 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
4038, 39syldan 594 . . . . . . . . 9 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
4140adantl 485 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
42 f1dom2g 8510 . . . . . . . 8 ((𝐴 ∈ V ∧ (𝐵 ∖ {𝑥}) ∈ V ∧ 𝑓:𝐴1-1→(𝐵 ∖ {𝑥})) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
4327, 30, 41, 42syl3anc 1368 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
44 eldifi 4054 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝑥𝐵)
4544ad2antll 728 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑥𝐵)
46 simplr 768 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐶𝐵)
47 difsnen 8582 . . . . . . . 8 ((𝐵 ∈ V ∧ 𝑥𝐵𝐶𝐵) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
4828, 45, 46, 47syl3anc 1368 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
49 domentr 8551 . . . . . . 7 ((𝐴 ≼ (𝐵 ∖ {𝑥}) ∧ (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶})) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5043, 48, 49syl2anc 587 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5150expr 460 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5251exlimdv 1934 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5325, 52mpd 15 . . 3 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
547, 53exlimddv 1936 . 2 ((𝐴𝐵𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
551adantr 484 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴𝐵)
56 difsn 4691 . . . . 5 𝐶𝐵 → (𝐵 ∖ {𝐶}) = 𝐵)
5756breq2d 5042 . . . 4 𝐶𝐵 → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
5857adantl 485 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
5955, 58mpbird 260 . 2 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
6054, 59pm2.61dan 812 1 (𝐴𝐵𝐴 ≼ (𝐵 ∖ {𝐶}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  wne 2987  Vcvv 3441  cdif 3878  cin 3880  wss 3881  c0 4243  {csn 4525   class class class wbr 5030  ran crn 5520  1-1wf1 6321  1-1-ontowf1o 6323  cen 8489  cdom 8490  csdm 8491
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-suc 6165  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-1o 8085  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495
This theorem is referenced by:  domunsn  8651  marypha1lem  8881
  Copyright terms: Public domain W3C validator