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

Theorem brdom4 9312
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 9310 . . 3 (𝐴𝐵 ↔ ∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
3 mormo 3151 . . . . . . 7 (∃*𝑦 𝑥𝑓𝑦 → ∃*𝑦𝐴 𝑥𝑓𝑦)
43alimi 1736 . . . . . 6 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦)
5 alral 2924 . . . . . 6 (∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
64, 5syl 17 . . . . 5 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
76anim1i 591 . . . 4 ((∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
87eximi 1759 . . 3 (∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
92, 8sylbi 207 . 2 (𝐴𝐵 → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
10 inss2 3818 . . . . . . . . . . . . . . 15 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴)
11 dmss 5293 . . . . . . . . . . . . . . 15 ((𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴) → dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . . . . . . 14 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴)
13 dmxpss 5534 . . . . . . . . . . . . . 14 dom (𝐵 × 𝐴) ⊆ 𝐵
1412, 13sstri 3597 . . . . . . . . . . . . 13 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵
1514sseli 3584 . . . . . . . . . . . 12 (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → 𝑥𝐵)
16 rnss 5324 . . . . . . . . . . . . . . . . . 18 ((𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴) → ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ ran (𝐵 × 𝐴))
1710, 16ax-mp 5 . . . . . . . . . . . . . . . . 17 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ ran (𝐵 × 𝐴)
18 rnxpss 5535 . . . . . . . . . . . . . . . . 17 ran (𝐵 × 𝐴) ⊆ 𝐴
1917, 18sstri 3597 . . . . . . . . . . . . . . . 16 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐴
2019sseli 3584 . . . . . . . . . . . . . . 15 (𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) → 𝑦𝐴)
21 inss1 3817 . . . . . . . . . . . . . . . 16 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝑓
2221ssbri 4667 . . . . . . . . . . . . . . 15 (𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦𝑥𝑓𝑦)
2320, 22anim12i 589 . . . . . . . . . . . . . 14 ((𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦) → (𝑦𝐴𝑥𝑓𝑦))
2423moimi 2519 . . . . . . . . . . . . 13 (∃*𝑦(𝑦𝐴𝑥𝑓𝑦) → ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
25 df-rmo 2916 . . . . . . . . . . . . 13 (∃*𝑦𝐴 𝑥𝑓𝑦 ↔ ∃*𝑦(𝑦𝐴𝑥𝑓𝑦))
26 df-rmo 2916 . . . . . . . . . . . . 13 (∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦 ↔ ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2724, 25, 263imtr4i 281 . . . . . . . . . . . 12 (∃*𝑦𝐴 𝑥𝑓𝑦 → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
2815, 27imim12i 62 . . . . . . . . . . 11 ((𝑥𝐵 → ∃*𝑦𝐴 𝑥𝑓𝑦) → (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2928ralimi2 2945 . . . . . . . . . 10 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
30 relxp 5198 . . . . . . . . . . 11 Rel (𝐵 × 𝐴)
31 relin2 5208 . . . . . . . . . . 11 (Rel (𝐵 × 𝐴) → Rel (𝑓 ∩ (𝐵 × 𝐴)))
3230, 31ax-mp 5 . . . . . . . . . 10 Rel (𝑓 ∩ (𝐵 × 𝐴))
3329, 32jctil 559 . . . . . . . . 9 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
34 dffun9 5886 . . . . . . . . 9 (Fun (𝑓 ∩ (𝐵 × 𝐴)) ↔ (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
3533, 34sylibr 224 . . . . . . . 8 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → Fun (𝑓 ∩ (𝐵 × 𝐴)))
36 funfn 5887 . . . . . . . 8 (Fun (𝑓 ∩ (𝐵 × 𝐴)) ↔ (𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)))
3735, 36sylib 208 . . . . . . 7 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)))
38 rninxp 5542 . . . . . . . 8 (ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴 ↔ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥)
3938biimpri 218 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥 → ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴)
4037, 39anim12i 589 . . . . . 6 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
41 df-fo 5863 . . . . . 6 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴 ↔ ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
4240, 41sylibr 224 . . . . 5 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴)
43 vex 3193 . . . . . . . 8 𝑓 ∈ V
4443inex1 4769 . . . . . . 7 (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4544dmex 7061 . . . . . 6 dom (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4645fodom 9304 . . . . 5 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
4742, 46syl 17 . . . 4 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
48 ssdomg 7961 . . . . 5 (𝐵 ∈ V → (dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵 → dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵))
491, 14, 48mp2 9 . . . 4 dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵
50 domtr 7969 . . . 4 ((𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵) → 𝐴𝐵)
5147, 49, 50sylancl 693 . . 3 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
5251exlimiv 1855 . 2 (∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
539, 52impbii 199 1 (𝐴𝐵 ↔ ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384  wal 1478   = wceq 1480  wex 1701  wcel 1987  ∃*wmo 2470  wral 2908  wrex 2909  ∃*wrmo 2911  Vcvv 3190  cin 3559  wss 3560   class class class wbr 4623   × cxp 5082  dom cdm 5084  ran crn 5085  Rel wrel 5089  Fun wfun 5851   Fn wfn 5852  ontowfo 5855  cdom 7913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4741  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-ac2 9245
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2913  df-rex 2914  df-reu 2915  df-rmo 2916  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-int 4448  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-se 5044  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-isom 5866  df-riota 6576  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-1st 7128  df-2nd 7129  df-wrecs 7367  df-recs 7428  df-er 7702  df-map 7819  df-en 7916  df-dom 7917  df-sdom 7918  df-card 8725  df-acn 8728  df-ac 8899
This theorem is referenced by:  brdom7disj  9313
  Copyright terms: Public domain W3C validator