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

Theorem domdifsn 7928
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 7869 . . . . 5 (𝐴𝐵𝐴𝐵)
2 relsdom 7848 . . . . . . 7 Rel ≺
32brrelex2i 5083 . . . . . 6 (𝐴𝐵𝐵 ∈ V)
4 brdomg 7851 . . . . . 6 (𝐵 ∈ V → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
53, 4syl 17 . . . . 5 (𝐴𝐵 → (𝐴𝐵 ↔ ∃𝑓 𝑓:𝐴1-1𝐵))
61, 5mpbid 221 . . . 4 (𝐴𝐵 → ∃𝑓 𝑓:𝐴1-1𝐵)
76adantr 480 . . 3 ((𝐴𝐵𝐶𝐵) → ∃𝑓 𝑓:𝐴1-1𝐵)
8 f1f 6014 . . . . . . . 8 (𝑓:𝐴1-1𝐵𝑓:𝐴𝐵)
9 frn 5966 . . . . . . . 8 (𝑓:𝐴𝐵 → ran 𝑓𝐵)
108, 9syl 17 . . . . . . 7 (𝑓:𝐴1-1𝐵 → ran 𝑓𝐵)
1110adantl 481 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
12 sdomnen 7870 . . . . . . . 8 (𝐴𝐵 → ¬ 𝐴𝐵)
1312ad2antrr 758 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ¬ 𝐴𝐵)
14 vex 3176 . . . . . . . . . . 11 𝑓 ∈ V
15 dff1o5 6059 . . . . . . . . . . . 12 (𝑓:𝐴1-1-onto𝐵 ↔ (𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵))
1615biimpri 217 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝑓:𝐴1-1-onto𝐵)
17 f1oen3g 7857 . . . . . . . . . . 11 ((𝑓 ∈ V ∧ 𝑓:𝐴1-1-onto𝐵) → 𝐴𝐵)
1814, 16, 17sylancr 694 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝐴𝐵)
1918ex 449 . . . . . . . . 9 (𝑓:𝐴1-1𝐵 → (ran 𝑓 = 𝐵𝐴𝐵))
2019necon3bd 2796 . . . . . . . 8 (𝑓:𝐴1-1𝐵 → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2120adantl 481 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (¬ 𝐴𝐵 → ran 𝑓𝐵))
2213, 21mpd 15 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ran 𝑓𝐵)
23 pssdifn0 3898 . . . . . 6 ((ran 𝑓𝐵 ∧ ran 𝑓𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
2411, 22, 23syl2anc 691 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
25 n0 3890 . . . . 5 ((𝐵 ∖ ran 𝑓) ≠ ∅ ↔ ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
2624, 25sylib 207 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
272brrelexi 5082 . . . . . . . . 9 (𝐴𝐵𝐴 ∈ V)
2827ad2antrr 758 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ∈ V)
293ad2antrr 758 . . . . . . . . 9 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐵 ∈ V)
30 difexg 4735 . . . . . . . . 9 (𝐵 ∈ V → (𝐵 ∖ {𝑥}) ∈ V)
3129, 30syl 17 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ∈ V)
32 eldifn 3695 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → ¬ 𝑥 ∈ ran 𝑓)
33 disjsn 4192 . . . . . . . . . . . . 13 ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ¬ 𝑥 ∈ ran 𝑓)
3432, 33sylibr 223 . . . . . . . . . . . 12 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → (ran 𝑓 ∩ {𝑥}) = ∅)
3534adantl 481 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → (ran 𝑓 ∩ {𝑥}) = ∅)
3610adantr 480 . . . . . . . . . . . 12 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓𝐵)
37 reldisj 3972 . . . . . . . . . . . 12 (ran 𝑓𝐵 → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3836, 37syl 17 . . . . . . . . . . 11 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3935, 38mpbid 221 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓 ⊆ (𝐵 ∖ {𝑥}))
40 f1ssr 6020 . . . . . . . . . 10 ((𝑓:𝐴1-1𝐵 ∧ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
4139, 40syldan 486 . . . . . . . . 9 ((𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓)) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
4241adantl 481 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑓:𝐴1-1→(𝐵 ∖ {𝑥}))
43 f1dom2g 7859 . . . . . . . 8 ((𝐴 ∈ V ∧ (𝐵 ∖ {𝑥}) ∈ V ∧ 𝑓:𝐴1-1→(𝐵 ∖ {𝑥})) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
4428, 31, 42, 43syl3anc 1318 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
45 eldifi 3694 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝑥𝐵)
4645ad2antll 761 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑥𝐵)
47 simplr 788 . . . . . . . 8 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐶𝐵)
48 difsnen 7927 . . . . . . . 8 ((𝐵 ∈ V ∧ 𝑥𝐵𝐶𝐵) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
4929, 46, 47, 48syl3anc 1318 . . . . . . 7 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
50 domentr 7901 . . . . . . 7 ((𝐴 ≼ (𝐵 ∖ {𝑥}) ∧ (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶})) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5144, 49, 50syl2anc 691 . . . . . 6 (((𝐴𝐵𝐶𝐵) ∧ (𝑓:𝐴1-1𝐵𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5251expr 641 . . . . 5 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5352exlimdv 1848 . . . 4 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → (∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5426, 53mpd 15 . . 3 (((𝐴𝐵𝐶𝐵) ∧ 𝑓:𝐴1-1𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
557, 54exlimddv 1850 . 2 ((𝐴𝐵𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
561adantr 480 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴𝐵)
57 difsn 4269 . . . . 5 𝐶𝐵 → (𝐵 ∖ {𝐶}) = 𝐵)
5857breq2d 4595 . . . 4 𝐶𝐵 → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
5958adantl 481 . . 3 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴𝐵))
6056, 59mpbird 246 . 2 ((𝐴𝐵 ∧ ¬ 𝐶𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
6155, 60pm2.61dan 828 1 (𝐴𝐵𝐴 ≼ (𝐵 ∖ {𝐶}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  wne 2780  Vcvv 3173  cdif 3537  cin 3539  wss 3540  c0 3874  {csn 4125   class class class wbr 4583  ran crn 5039  wf 5800  1-1wf1 5801  1-1-ontowf1o 5803  cen 7838  cdom 7839  csdm 7840
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-suc 5646  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-1o 7447  df-er 7629  df-en 7842  df-dom 7843  df-sdom 7844
This theorem is referenced by:  domunsn  7995  marypha1lem  8222
  Copyright terms: Public domain W3C validator