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

Theorem domdifsn 8795
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 8723 . . . . 5 (𝐴𝐵𝐴𝐵)
2 relsdom 8698 . . . . . . 7 Rel ≺
32brrelex2i 5635 . . . . . 6 (𝐴𝐵𝐵 ∈ V)
4 brdomg 8703 . . . . . 6 (𝐵 ∈ V → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
53, 4syl 17 . . . . 5 (𝐴𝐵 → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
61, 5mpbid 231 . . . 4 (𝐴𝐵 → ∃𝑓 𝑓:𝐴1-1𝐵)
76adantr 480 . . 3 ((𝐴𝐵𝐶𝐵) → ∃𝑓 𝑓:𝐴1-1𝐵)
8 f1f 6654 . . . . . . . 8 (𝑓:𝐴1-1𝐵𝑓:𝐴𝐵)
98frnd 6592 . . . . . . 7 (𝑓:𝐴1-1𝐵 → ran 𝑓𝐵)
109adantl 481 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
11 sdomnen 8724 . . . . . . . 8 (𝐴𝐵 → ¬ 𝐴𝐵)
1211ad2antrr 722 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ¬ 𝐴𝐵)
13 vex 3426 . . . . . . . . . . 11 𝑓 ∈ V
14 dff1o5 6709 . . . . . . . . . . . 12 (𝑓:𝐴1-1-onto𝐵 ↔ (𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵))
1514biimpri 227 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝑓:𝐴1-1-onto𝐵)
16 f1oen3g 8709 . . . . . . . . . . 11 ((𝑓 ∈ V ∧ 𝑓:𝐴1-1-onto𝐵) → 𝐴𝐵)
1713, 15, 16sylancr 586 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝐴𝐵)
1817ex 412 . . . . . . . . 9 (𝑓:𝐴1-1𝐵 → (ran 𝑓 = 𝐵𝐴𝐵))
1918necon3bd 2956 . . . . . . . 8 (𝑓:𝐴1-1𝐵 → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2019adantl 481 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2112, 20mpd 15 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
22 pssdifn0 4296 . . . . . 6 ((ran 𝑓𝐵 ∧ ran 𝑓𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
2310, 21, 22syl2anc 583 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
24 n0 4277 . . . . 5 ((𝐵 ∖ ran 𝑓) ≠ ∅ ↔ ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
2523, 24sylib 217 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
262brrelex1i 5634 . . . . . . . . 9 (𝐴𝐵𝐴 ∈ V)
2726ad2antrr 722 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ∈ V)
283ad2antrr 722 . . . . . . . . 9 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐵 ∈ V)
2928difexd 5248 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ∈ V)
30 eldifn 4058 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → ¬ 𝑥 ∈ ran 𝑓)
31 disjsn 4644 . . . . . . . . . . . . 13 ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ¬ 𝑥 ∈ ran 𝑓)
3230, 31sylibr 233 . . . . . . . . . . . 12 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → (ran 𝑓 ∩ {𝑥}) = ∅)
3332adantl 481 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → (ran 𝑓 ∩ {𝑥}) = ∅)
349adantr 480 . . . . . . . . . . . 12 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓𝐵)
35 reldisj 4382 . . . . . . . . . . . 12 (ran 𝑓𝐵 → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3634, 35syl 17 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3733, 36mpbid 231 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓 ⊆ (𝐵 ∖ {𝑥}))
38 f1ssr 6661 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
3937, 38syldan 590 . . . . . . . . 9 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
4039adantl 481 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
41 f1dom2g 8712 . . . . . . . 8 ((𝐴 ∈ V ∧ (𝐵 ∖ {𝑥}) ∈ V ∧ 𝑓:𝐴1-1→(𝐵 ∖ {𝑥})) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
4227, 29, 40, 41syl3anc 1369 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
43 eldifi 4057 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝑥𝐵)
4443ad2antll 725 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑥𝐵)
45 simplr 765 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐶𝐵)
46 difsnen 8794 . . . . . . . 8 ((𝐵 ∈ V ∧ 𝑥𝐵𝐶𝐵) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
4728, 44, 45, 46syl3anc 1369 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
48 domentr 8754 . . . . . . 7 ((𝐴 ≼ (𝐵 ∖ {𝑥}) ∧ (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶})) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
4942, 47, 48syl2anc 583 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5049expr 456 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5150exlimdv 1937 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5225, 51mpd 15 . . 3 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
537, 52exlimddv 1939 . 2 ((𝐴𝐵𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
541adantr 480 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴𝐵)
55 difsn 4728 . . . . 5 𝐶𝐵 → (𝐵 ∖ {𝐶}) = 𝐵)
5655breq2d 5082 . . . 4 𝐶𝐵 → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
5756adantl 481 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
5854, 57mpbird 256 . 2 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5953, 58pm2.61dan 809 1 (𝐴𝐵𝐴 ≼ (𝐵 ∖ {𝐶}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  Vcvv 3422  cdif 3880  cin 3882  wss 3883  c0 4253  {csn 4558   class class class wbr 5070  ran crn 5581  1-1wf1 6415  1-1-ontowf1o 6417  cen 8688  cdom 8689  csdm 8690
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-en 8692  df-dom 8693  df-sdom 8694
This theorem is referenced by:  domunsn  8863  marypha1lem  9122
  Copyright terms: Public domain W3C validator