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

Theorem brdom4 10286
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 10284 . . 3 (𝐴𝐵 ↔ ∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
3 mormo 3360 . . . . . . 7 (∃*𝑦 𝑥𝑓𝑦 → ∃*𝑦𝐴 𝑥𝑓𝑦)
43alimi 1814 . . . . . 6 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦)
5 alral 3080 . . . . . 6 (∀𝑥∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
64, 5syl 17 . . . . 5 (∀𝑥∃*𝑦 𝑥𝑓𝑦 → ∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦)
76anim1i 615 . . . 4 ((∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
87eximi 1837 . . 3 (∃𝑓(∀𝑥∃*𝑦 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
92, 8sylbi 216 . 2 (𝐴𝐵 → ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
10 inss2 4163 . . . . . . . . . . . . . . 15 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴)
11 dmss 5811 . . . . . . . . . . . . . . 15 ((𝑓 ∩ (𝐵 × 𝐴)) ⊆ (𝐵 × 𝐴) → dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . . . . . . 14 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ dom (𝐵 × 𝐴)
13 dmxpss 6074 . . . . . . . . . . . . . 14 dom (𝐵 × 𝐴) ⊆ 𝐵
1412, 13sstri 3930 . . . . . . . . . . . . 13 dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵
1514sseli 3917 . . . . . . . . . . . 12 (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → 𝑥𝐵)
1610rnssi 5849 . . . . . . . . . . . . . . . . 17 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ ran (𝐵 × 𝐴)
17 rnxpss 6075 . . . . . . . . . . . . . . . . 17 ran (𝐵 × 𝐴) ⊆ 𝐴
1816, 17sstri 3930 . . . . . . . . . . . . . . . 16 ran (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐴
1918sseli 3917 . . . . . . . . . . . . . . 15 (𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) → 𝑦𝐴)
20 inss1 4162 . . . . . . . . . . . . . . . 16 (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝑓
2120ssbri 5119 . . . . . . . . . . . . . . 15 (𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦𝑥𝑓𝑦)
2219, 21anim12i 613 . . . . . . . . . . . . . 14 ((𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦) → (𝑦𝐴𝑥𝑓𝑦))
2322moimi 2545 . . . . . . . . . . . . 13 (∃*𝑦(𝑦𝐴𝑥𝑓𝑦) → ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
24 df-rmo 3071 . . . . . . . . . . . . 13 (∃*𝑦𝐴 𝑥𝑓𝑦 ↔ ∃*𝑦(𝑦𝐴𝑥𝑓𝑦))
25 df-rmo 3071 . . . . . . . . . . . . 13 (∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦 ↔ ∃*𝑦(𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴)) ∧ 𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2623, 24, 253imtr4i 292 . . . . . . . . . . . 12 (∃*𝑦𝐴 𝑥𝑓𝑦 → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
2715, 26imim12i 62 . . . . . . . . . . 11 ((𝑥𝐵 → ∃*𝑦𝐴 𝑥𝑓𝑦) → (𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴)) → ∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
2827ralimi2 3084 . . . . . . . . . 10 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦)
29 relinxp 5724 . . . . . . . . . 10 Rel (𝑓 ∩ (𝐵 × 𝐴))
3028, 29jctil 520 . . . . . . . . 9 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
31 dffun9 6463 . . . . . . . . 9 (Fun (𝑓 ∩ (𝐵 × 𝐴)) ↔ (Rel (𝑓 ∩ (𝐵 × 𝐴)) ∧ ∀𝑥 ∈ dom (𝑓 ∩ (𝐵 × 𝐴))∃*𝑦 ∈ ran (𝑓 ∩ (𝐵 × 𝐴))𝑥(𝑓 ∩ (𝐵 × 𝐴))𝑦))
3230, 31sylibr 233 . . . . . . . 8 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → Fun (𝑓 ∩ (𝐵 × 𝐴)))
3332funfnd 6465 . . . . . . 7 (∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 → (𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)))
34 rninxp 6082 . . . . . . . 8 (ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴 ↔ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥)
3534biimpri 227 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥 → ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴)
3633, 35anim12i 613 . . . . . 6 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
37 df-fo 6439 . . . . . 6 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴 ↔ ((𝑓 ∩ (𝐵 × 𝐴)) Fn dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ ran (𝑓 ∩ (𝐵 × 𝐴)) = 𝐴))
3836, 37sylibr 233 . . . . 5 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → (𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴)
39 vex 3436 . . . . . . . 8 𝑓 ∈ V
4039inex1 5241 . . . . . . 7 (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4140dmex 7758 . . . . . 6 dom (𝑓 ∩ (𝐵 × 𝐴)) ∈ V
4241fodom 10279 . . . . 5 ((𝑓 ∩ (𝐵 × 𝐴)):dom (𝑓 ∩ (𝐵 × 𝐴))–onto𝐴𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
4338, 42syl 17 . . . 4 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)))
44 ssdomg 8786 . . . . 5 (𝐵 ∈ V → (dom (𝑓 ∩ (𝐵 × 𝐴)) ⊆ 𝐵 → dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵))
451, 14, 44mp2 9 . . . 4 dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵
46 domtr 8793 . . . 4 ((𝐴 ≼ dom (𝑓 ∩ (𝐵 × 𝐴)) ∧ dom (𝑓 ∩ (𝐵 × 𝐴)) ≼ 𝐵) → 𝐴𝐵)
4743, 45, 46sylancl 586 . . 3 ((∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
4847exlimiv 1933 . 2 (∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥) → 𝐴𝐵)
499, 48impbii 208 1 (𝐴𝐵 ↔ ∃𝑓(∀𝑥𝐵 ∃*𝑦𝐴 𝑥𝑓𝑦 ∧ ∀𝑥𝐴𝑦𝐵 𝑦𝑓𝑥))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  ∃*wmo 2538  wral 3064  wrex 3065  ∃*wrmo 3067  Vcvv 3432  cin 3886  wss 3887   class class class wbr 5074   × cxp 5587  dom cdm 5589  ran crn 5590  Rel wrel 5594  Fun wfun 6427   Fn wfn 6428  ontowfo 6431  cdom 8731
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-ac2 10219
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-card 9697  df-acn 9700  df-ac 9872
This theorem is referenced by:  brdom7disj  10287
  Copyright terms: Public domain W3C validator