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

Theorem domdifsn 9136
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 9064 . . . . 5 (𝐴 ≺ 𝐵 → 𝐴 ≼ 𝐵)
2 relsdom 9037 . . . . . . 7 Rel ≺
32brrelex2i 5723 . . . . . 6 (𝐴 ≺ 𝐵 → 𝐵 ∈ V)
4 brdomg 9042 . . . . . 6 (𝐵 ∈ V → (𝐴 ≼ 𝐵 ↔ ∃𝑓 𝑓:𝐴⟶1-1𝐵))
53, 4syl 18 . . . . 5 (𝐴 ≺ 𝐵 → (𝐴 ≼ 𝐵 ↔ ∃𝑓 𝑓:𝐴⟶1-1𝐵))
61, 5mpbid 235 . . . 4 (𝐴 ≺ 𝐵 → ∃𝑓 𝑓:𝐴⟶1-1𝐵)
76adantr 486 . . 3 ((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) → ∃𝑓 𝑓:𝐴⟶1-1𝐵)
8 f1f 6826 . . . . . . . 8 (𝑓:𝐴⟶1-1𝐵 → 𝑓:𝐴⟶𝐵)
98frnd 6766 . . . . . . 7 (𝑓:𝐴⟶1-1𝐵 → ran 𝑓 ⊆ 𝐵)
109adantl 487 . . . . . 6 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → ran 𝑓 ⊆ 𝐵)
11 sdomnen 9065 . . . . . . . 8 (𝐴 ≺ 𝐵 → ¬ 𝐴 ≈ 𝐵)
1211ad2antrr 739 . . . . . . 7 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → ¬ 𝐴 ≈ 𝐵)
13 vex 3465 . . . . . . . . . . 11 𝑓 ∈ V
14 dff1o5 6882 . . . . . . . . . . . 12 (𝑓:𝐴⟶1-1onto𝐵 ↔ (𝑓:𝐴⟶1-1𝐵 ∧ ran 𝑓 = 𝐵))
1514biimpri 231 . . . . . . . . . . 11 ((𝑓:𝐴⟶1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝑓:𝐴⟶1-1onto𝐵)
16 f1oen3g 9050 . . . . . . . . . . 11 ((𝑓 ∈ V ∧ 𝑓:𝐴⟶1-1onto𝐵) → 𝐴 ≈ 𝐵)
1713, 15, 16sylancr 599 . . . . . . . . . 10 ((𝑓:𝐴⟶1-1𝐵 ∧ ran 𝑓 = 𝐵) → 𝐴 ≈ 𝐵)
1817ex 418 . . . . . . . . 9 (𝑓:𝐴⟶1-1𝐵 → (ran 𝑓 = 𝐵 → 𝐴 ≈ 𝐵))
1918necon3bd 2984 . . . . . . . 8 (𝑓:𝐴⟶1-1𝐵 → (¬ 𝐴 ≈ 𝐵 → ran 𝑓 ≠ 𝐵))
2019adantl 487 . . . . . . 7 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → (¬ 𝐴 ≈ 𝐵 → ran 𝑓 ≠ 𝐵))
2112, 20mpd 16 . . . . . 6 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → ran 𝑓 ≠ 𝐵)
22 pssdifn0 4326 . . . . . 6 ((ran 𝑓 ⊆ 𝐵 ∧ ran 𝑓 ≠ 𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
2310, 21, 22syl2anc 596 . . . . 5 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → (𝐵 ∖ ran 𝑓) ≠ ∅)
24 n0 4310 . . . . 5 ((𝐵 ∖ ran 𝑓) ≠ ∅ ↔ ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
2523, 24sylib 221 . . . 4 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → ∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓))
262brrelex1i 5722 . . . . . . . . 9 (𝐴 ≺ 𝐵 → 𝐴 ∈ V)
2726ad2antrr 739 . . . . . . . 8 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ∈ V)
283ad2antrr 739 . . . . . . . . 9 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐵 ∈ V)
2928difexd 5308 . . . . . . . 8 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ∈ V)
30 eldifn 4078 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → ¬ 𝑥 ∈ ran 𝑓)
31 disjsn 4680 . . . . . . . . . . . . 13 ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ¬ 𝑥 ∈ ran 𝑓)
3230, 31sylibr 237 . . . . . . . . . . . 12 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → (ran 𝑓 ∩ {𝑥}) = ∅)
3332adantl 487 . . . . . . . . . . 11 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓)) → (ran 𝑓 ∩ {𝑥}) = ∅)
349adantr 486 . . . . . . . . . . . 12 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓 ⊆ 𝐵)
35 reldisj 4416 . . . . . . . . . . . 12 (ran 𝑓 ⊆ 𝐵 → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3634, 35syl 18 . . . . . . . . . . 11 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ((ran 𝑓 ∩ {𝑥}) = ∅ ↔ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})))
3733, 36mpbid 235 . . . . . . . . . 10 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓)) → ran 𝑓 ⊆ (𝐵 ∖ {𝑥}))
38 f1ssr 6834 . . . . . . . . . 10 ((𝑓:𝐴⟶1-1𝐵 ∧ ran 𝑓 ⊆ (𝐵 ∖ {𝑥})) → 𝑓:𝐴⟶1-1(𝐵 ∖ {𝑥}))
3937, 38syldan 603 . . . . . . . . 9 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓)) → 𝑓:𝐴⟶1-1(𝐵 ∖ {𝑥}))
4039adantl 487 . . . . . . . 8 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑓:𝐴⟶1-1(𝐵 ∖ {𝑥}))
41 f1dom2g 9053 . . . . . . . 8 ((𝐴 ∈ V ∧ (𝐵 ∖ {𝑥}) ∈ V ∧ 𝑓:𝐴⟶1-1(𝐵 ∖ {𝑥})) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
4227, 29, 40, 41syl3anc 1401 . . . . . . 7 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝑥}))
43 eldifi 4077 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝑥 ∈ 𝐵)
4443ad2antll 742 . . . . . . . 8 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝑥 ∈ 𝐵)
45 simplr 781 . . . . . . . 8 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐶 ∈ 𝐵)
46 difsnen 9135 . . . . . . . 8 ((𝐵 ∈ V ∧ 𝑥 ∈ 𝐵 ∧ 𝐶 ∈ 𝐵) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
4728, 44, 45, 46syl3anc 1401 . . . . . . 7 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶}))
48 domentr 9097 . . . . . . 7 ((𝐴 ≼ (𝐵 ∖ {𝑥}) ∧ (𝐵 ∖ {𝑥}) ≈ (𝐵 ∖ {𝐶})) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
4942, 47, 48syl2anc 596 . . . . . 6 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑥 ∈ (𝐵 ∖ ran 𝑓))) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5049expr 462 . . . . 5 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → (𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5150exlimdv 1975 . . . 4 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → (∃𝑥 𝑥 ∈ (𝐵 ∖ ran 𝑓) → 𝐴 ≼ (𝐵 ∖ {𝐶})))
5225, 51mpd 16 . . 3 (((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) ∧ 𝑓:𝐴⟶1-1𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
537, 52exlimddv 1977 . 2 ((𝐴 ≺ 𝐵 ∧ 𝐶 ∈ 𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
541adantr 486 . . 3 ((𝐴 ≺ 𝐵 ∧ ¬ 𝐶 ∈ 𝐵) → 𝐴 ≼ 𝐵)
55 difsn 4771 . . . . 5 (¬ 𝐶 ∈ 𝐵 → (𝐵 ∖ {𝐶}) = 𝐵)
5655breq2d 5128 . . . 4 (¬ 𝐶 ∈ 𝐵 → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴 ≼ 𝐵))
5756adantl 487 . . 3 ((𝐴 ≺ 𝐵 ∧ ¬ 𝐶 ∈ 𝐵) → (𝐴 ≼ (𝐵 ∖ {𝐶}) ↔ 𝐴 ≼ 𝐵))
5854, 57mpbird 260 . 2 ((𝐴 ≺ 𝐵 ∧ ¬ 𝐶 ∈ 𝐵) → 𝐴 ≼ (𝐵 ∖ {𝐶}))
5953, 58pm2.61dan 825 1 (𝐴 ≺ 𝐵 → 𝐴 ≼ (𝐵 ∖ {𝐶}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156   ≠ wne 2970  Vcvv 3461   ⊆ wss 3907   ∖ cdif 4055   ∩ cin 4099  ∅c0 4288  {csn 4595   class class class wbr 5116  ran crn 5667  ⟶1-1wf1 6576  ⟶1-1ontowf1o 6578   ≈ cen 9027   ≼ cdom 9028   ≺ csdm 9029
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-en 9031  df-dom 9032  df-sdom 9033
This theorem is used by:  domunsn  9203  marypha1lem  9481
  Copyright terms: Public domain W3C validator