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

Theorem brdom4 9390
Description: An equivalence to a dominance relation. (Contributed by NM, 28-Mar-2007.) (Revised by NM, 16-Jun-2017.)
Hypothesis
Ref Expression
brdom3.2 𝐵 ∈ V
Assertion
Ref Expression
brdom4 (𝐴𝐵 ↔ ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
Distinct variable groups:   𝑥,𝑓,𝑦,𝐴   𝐵,𝑓,𝑥,𝑦

Proof of Theorem brdom4
StepHypRef Expression
1 brdom3.2 . . . 4 𝐵 ∈ V
21brdom3 9388 . . 3 (𝐴𝐵 ↔ ∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
3 mormo 3188 . . . . . . 7 (∃*𝑦 𝑥𝑓𝑦 → ∃*𝑦𝐴 𝑥𝑓𝑦)
43alimi 1779 . . . . . 6 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦)
5 alral 2957 . . . . . 6 (∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
64, 5syl 17 . . . . 5 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
76anim1i 591 . . . 4 ((∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
87eximi 1802 . . 3 (∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
92, 8sylbi 207 . 2 (𝐴𝐵 → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
10 inss2 3867 . . . . . . . . . . . . . . 15 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴)
11 dmss 5355 . . . . . . . . . . . . . . 15 ((𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴) → dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . . . . . . 14 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴)
13 dmxpss 5600 . . . . . . . . . . . . . 14 dom (𝐵 × 𝐴) ⊆ 𝐵
1412, 13sstri 3645 . . . . . . . . . . . . 13 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵
1514sseli 3632 . . . . . . . . . . . 12 (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → 𝑥𝐵)
16 rnss 5386 . . . . . . . . . . . . . . . . . 18 ((𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴) → ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ ran (𝐵 × 𝐴))
1710, 16ax-mp 5 . . . . . . . . . . . . . . . . 17 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ ran (𝐵 × 𝐴)
18 rnxpss 5601 . . . . . . . . . . . . . . . . 17 ran (𝐵 × 𝐴) ⊆ 𝐴
1917, 18sstri 3645 . . . . . . . . . . . . . . . 16 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐴
2019sseli 3632 . . . . . . . . . . . . . . 15 (𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) → 𝑦𝐴)
21 inss1 3866 . . . . . . . . . . . . . . . 16 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝑓
2221ssbri 4730 . . . . . . . . . . . . . . 15 (𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦𝑥𝑓𝑦)
2320, 22anim12i 589 . . . . . . . . . . . . . 14 ((𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦) → (𝑦𝐴𝑥𝑓𝑦))
2423moimi 2549 . . . . . . . . . . . . 13 (∃*𝑦(𝑦𝐴𝑥𝑓𝑦) → ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
25 df-rmo 2949 . . . . . . . . . . . . 13 (∃*𝑦𝐴 𝑥𝑓𝑦 ↔ ∃*𝑦(𝑦𝐴𝑥𝑓𝑦))
26 df-rmo 2949 . . . . . . . . . . . . 13 (∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦 ↔ ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2724, 25, 263imtr4i 281 . . . . . . . . . . . 12 (∃*𝑦𝐴 𝑥𝑓𝑦 → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
2815, 27imim12i 62 . . . . . . . . . . 11 ((𝑥𝐵 → ∃*𝑦𝐴 𝑥𝑓𝑦) → (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2928ralimi2 2978 . . . . . . . . . 10 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
30 relxp 5160 . . . . . . . . . . 11 Rel (𝐵 × 𝐴)
31 relin2 5270 . . . . . . . . . . 11 (Rel (𝐵 × 𝐴) → Rel (𝑓 ∩ (𝐵 × 𝐴)))
3230, 31ax-mp 5 . . . . . . . . . 10 Rel (𝑓 ∩ (𝐵 × 𝐴))
3329, 32jctil 559 . . . . . . . . 9 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
34 dffun9 5955 . . . . . . . . 9 (Fun (𝑓 ∩ (𝐵 × 𝐴)) ↔ (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
3533, 34sylibr 224 . . . . . . . 8 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → Fun (𝑓 ∩ (𝐵 × 𝐴)))
36 funfn 5956 . . . . . . . 8 (Fun (𝑓 ∩ (𝐵 × 𝐴)) ↔ (𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)))
3735, 36sylib 208 . . . . . . 7 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)))
38 rninxp 5608 . . . . . . . 8 (ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴 ↔ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥)
3938biimpri 218 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥 → ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴)
4037, 39anim12i 589 . . . . . 6 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
41 df-fo 5932 . . . . . 6 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴 ↔ ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
4240, 41sylibr 224 . . . . 5 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴)
43 vex 3234 . . . . . . . 8 𝑓 ∈ V
4443inex1 4832 . . . . . . 7 (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4544dmex 7141 . . . . . 6 dom (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4645fodom 9382 . . . . 5 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
4742, 46syl 17 . . . 4 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
48 ssdomg 8043 . . . . 5 (𝐵 ∈ V → (dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵 → dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵))
491, 14, 48mp2 9 . . . 4 dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵
50 domtr 8050 . . . 4 ((𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵) → 𝐴𝐵)
5147, 49, 50sylancl 695 . . 3 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
5251exlimiv 1898 . 2 (∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
539, 52impbii 199 1 (𝐴𝐵 ↔ ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383  wal 1521   = wceq 1523  wex 1744  wcel 2030  ∃*wmo 2499  wral 2941  wrex 2942  ∃*wrmo 2944  Vcvv 3231  cin 3606  wss 3607   class class class wbr 4685   × cxp 5141  dom cdm 5143  ran crn 5144  Rel wrel 5148  Fun wfun 5920   Fn wfn 5921  ontowfo 5924  cdom 7995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-ac2 9323
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-isom 5935  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-er 7787  df-map 7901  df-en 7998  df-dom 7999  df-sdom 8000  df-card 8803  df-acn 8806  df-ac 8977
This theorem is referenced by:  brdom7disj  9391
  Copyright terms: Public domain W3C validator