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

Theorem dff3 6958
Description: Alternate definition of a mapping. (Contributed by NM, 20-Mar-2007.)
Assertion
Ref Expression
dff3 (𝐹:𝐴𝐵 ↔ (𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦

Proof of Theorem dff3
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 fssxp 6612 . . 3 (𝐹:𝐴𝐵𝐹 ⊆ (𝐴 × 𝐵))
2 ffun 6587 . . . . . . . 8 (𝐹:𝐴𝐵 → Fun 𝐹)
3 fdm 6593 . . . . . . . . . 10 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
43eleq2d 2824 . . . . . . . . 9 (𝐹:𝐴𝐵 → (𝑥 ∈ dom 𝐹𝑥𝐴))
54biimpar 477 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝐹)
6 funfvop 6909 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
72, 5, 6syl2an2r 681 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
8 df-br 5071 . . . . . . 7 (𝑥𝐹(𝐹𝑥) ↔ ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
97, 8sylibr 233 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
10 fvex 6769 . . . . . . 7 (𝐹𝑥) ∈ V
11 breq2 5074 . . . . . . 7 (𝑦 = (𝐹𝑥) → (𝑥𝐹𝑦𝑥𝐹(𝐹𝑥)))
1210, 11spcev 3535 . . . . . 6 (𝑥𝐹(𝐹𝑥) → ∃𝑦 𝑥𝐹𝑦)
139, 12syl 17 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → ∃𝑦 𝑥𝐹𝑦)
14 funmo 6434 . . . . . . 7 (Fun 𝐹 → ∃*𝑦 𝑥𝐹𝑦)
152, 14syl 17 . . . . . 6 (𝐹:𝐴𝐵 → ∃*𝑦 𝑥𝐹𝑦)
1615adantr 480 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → ∃*𝑦 𝑥𝐹𝑦)
17 df-eu 2569 . . . . 5 (∃!𝑦 𝑥𝐹𝑦 ↔ (∃𝑦 𝑥𝐹𝑦 ∧ ∃*𝑦 𝑥𝐹𝑦))
1813, 16, 17sylanbrc 582 . . . 4 ((𝐹:𝐴𝐵𝑥𝐴) → ∃!𝑦 𝑥𝐹𝑦)
1918ralrimiva 3107 . . 3 (𝐹:𝐴𝐵 → ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦)
201, 19jca 511 . 2 (𝐹:𝐴𝐵 → (𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦))
21 xpss 5596 . . . . . . . 8 (𝐴 × 𝐵) ⊆ (V × V)
22 sstr 3925 . . . . . . . 8 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝐴 × 𝐵) ⊆ (V × V)) → 𝐹 ⊆ (V × V))
2321, 22mpan2 687 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → 𝐹 ⊆ (V × V))
24 df-rel 5587 . . . . . . 7 (Rel 𝐹𝐹 ⊆ (V × V))
2523, 24sylibr 233 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → Rel 𝐹)
2625adantr 480 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → Rel 𝐹)
27 df-ral 3068 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 ↔ ∀𝑥(𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦))
28 eumo 2578 . . . . . . . . . . . 12 (∃!𝑦 𝑥𝐹𝑦 → ∃*𝑦 𝑥𝐹𝑦)
2928imim2i 16 . . . . . . . . . . 11 ((𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → (𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
3029adantl 481 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → (𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
31 df-br 5071 . . . . . . . . . . . . . . . 16 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
32 ssel 3910 . . . . . . . . . . . . . . . 16 (𝐹 ⊆ (𝐴 × 𝐵) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
3331, 32syl5bi 241 . . . . . . . . . . . . . . 15 (𝐹 ⊆ (𝐴 × 𝐵) → (𝑥𝐹𝑦 → ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
34 opelxp1 5621 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → 𝑥𝐴)
3533, 34syl6 35 . . . . . . . . . . . . . 14 (𝐹 ⊆ (𝐴 × 𝐵) → (𝑥𝐹𝑦𝑥𝐴))
3635exlimdv 1937 . . . . . . . . . . . . 13 (𝐹 ⊆ (𝐴 × 𝐵) → (∃𝑦 𝑥𝐹𝑦𝑥𝐴))
3736con3d 152 . . . . . . . . . . . 12 (𝐹 ⊆ (𝐴 × 𝐵) → (¬ 𝑥𝐴 → ¬ ∃𝑦 𝑥𝐹𝑦))
38 nexmo 2541 . . . . . . . . . . . 12 (¬ ∃𝑦 𝑥𝐹𝑦 → ∃*𝑦 𝑥𝐹𝑦)
3937, 38syl6 35 . . . . . . . . . . 11 (𝐹 ⊆ (𝐴 × 𝐵) → (¬ 𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
4039adantr 480 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → (¬ 𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
4130, 40pm2.61d 179 . . . . . . . . 9 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → ∃*𝑦 𝑥𝐹𝑦)
4241ex 412 . . . . . . . 8 (𝐹 ⊆ (𝐴 × 𝐵) → ((𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → ∃*𝑦 𝑥𝐹𝑦))
4342alimdv 1920 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → (∀𝑥(𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4427, 43syl5bi 241 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4544imp 406 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → ∀𝑥∃*𝑦 𝑥𝐹𝑦)
46 dffun6 6433 . . . . 5 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4726, 45, 46sylanbrc 582 . . . 4 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → Fun 𝐹)
48 dmss 5800 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → dom 𝐹 ⊆ dom (𝐴 × 𝐵))
49 dmxpss 6063 . . . . . . 7 dom (𝐴 × 𝐵) ⊆ 𝐴
5048, 49sstrdi 3929 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → dom 𝐹𝐴)
51 breq1 5073 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥𝐹𝑦𝑧𝐹𝑦))
5251eubidv 2586 . . . . . . . . 9 (𝑥 = 𝑧 → (∃!𝑦 𝑥𝐹𝑦 ↔ ∃!𝑦 𝑧𝐹𝑦))
5352rspccv 3549 . . . . . . . 8 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → (𝑧𝐴 → ∃!𝑦 𝑧𝐹𝑦))
54 euex 2577 . . . . . . . . 9 (∃!𝑦 𝑧𝐹𝑦 → ∃𝑦 𝑧𝐹𝑦)
55 vex 3426 . . . . . . . . . 10 𝑧 ∈ V
5655eldm 5798 . . . . . . . . 9 (𝑧 ∈ dom 𝐹 ↔ ∃𝑦 𝑧𝐹𝑦)
5754, 56sylibr 233 . . . . . . . 8 (∃!𝑦 𝑧𝐹𝑦𝑧 ∈ dom 𝐹)
5853, 57syl6 35 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → (𝑧𝐴𝑧 ∈ dom 𝐹))
5958ssrdv 3923 . . . . . 6 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦𝐴 ⊆ dom 𝐹)
6050, 59anim12i 612 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → (dom 𝐹𝐴𝐴 ⊆ dom 𝐹))
61 eqss 3932 . . . . 5 (dom 𝐹 = 𝐴 ↔ (dom 𝐹𝐴𝐴 ⊆ dom 𝐹))
6260, 61sylibr 233 . . . 4 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → dom 𝐹 = 𝐴)
63 df-fn 6421 . . . 4 (𝐹 Fn 𝐴 ↔ (Fun 𝐹 ∧ dom 𝐹 = 𝐴))
6447, 62, 63sylanbrc 582 . . 3 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → 𝐹 Fn 𝐴)
65 rnss 5837 . . . . 5 (𝐹 ⊆ (𝐴 × 𝐵) → ran 𝐹 ⊆ ran (𝐴 × 𝐵))
66 rnxpss 6064 . . . . 5 ran (𝐴 × 𝐵) ⊆ 𝐵
6765, 66sstrdi 3929 . . . 4 (𝐹 ⊆ (𝐴 × 𝐵) → ran 𝐹𝐵)
6867adantr 480 . . 3 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → ran 𝐹𝐵)
69 df-f 6422 . . 3 (𝐹:𝐴𝐵 ↔ (𝐹 Fn 𝐴 ∧ ran 𝐹𝐵))
7064, 68, 69sylanbrc 582 . 2 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → 𝐹:𝐴𝐵)
7120, 70impbii 208 1 (𝐹:𝐴𝐵 ↔ (𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  ∃*wmo 2538  ∃!weu 2568  wral 3063  Vcvv 3422  wss 3883  cop 4564   class class class wbr 5070   × cxp 5578  dom cdm 5580  ran crn 5581  Rel wrel 5585  Fun wfun 6412   Fn wfn 6413  wf 6414  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426
This theorem is referenced by:  dff4  6959  seqomlem2  8252
  Copyright terms: Public domain W3C validator