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

Theorem dff3 6333
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 6022 . . 3 (𝐹:𝐴𝐵𝐹 ⊆ (𝐴 × 𝐵))
2 ffun 6010 . . . . . . . 8 (𝐹:𝐴𝐵 → Fun 𝐹)
3 fdm 6013 . . . . . . . . . 10 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
43eleq2d 2684 . . . . . . . . 9 (𝐹:𝐴𝐵 → (𝑥 ∈ dom 𝐹𝑥𝐴))
54biimpar 502 . . . . . . . 8 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥 ∈ dom 𝐹)
6 funfvop 6290 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
72, 5, 6syl2an2r 875 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
8 df-br 4619 . . . . . . 7 (𝑥𝐹(𝐹𝑥) ↔ ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
97, 8sylibr 224 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
10 fvex 6163 . . . . . . 7 (𝐹𝑥) ∈ V
11 breq2 4622 . . . . . . 7 (𝑦 = (𝐹𝑥) → (𝑥𝐹𝑦𝑥𝐹(𝐹𝑥)))
1210, 11spcev 3289 . . . . . 6 (𝑥𝐹(𝐹𝑥) → ∃𝑦 𝑥𝐹𝑦)
139, 12syl 17 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → ∃𝑦 𝑥𝐹𝑦)
14 funmo 5868 . . . . . . 7 (Fun 𝐹 → ∃*𝑦 𝑥𝐹𝑦)
152, 14syl 17 . . . . . 6 (𝐹:𝐴𝐵 → ∃*𝑦 𝑥𝐹𝑦)
1615adantr 481 . . . . 5 ((𝐹:𝐴𝐵𝑥𝐴) → ∃*𝑦 𝑥𝐹𝑦)
17 eu5 2495 . . . . 5 (∃!𝑦 𝑥𝐹𝑦 ↔ (∃𝑦 𝑥𝐹𝑦 ∧ ∃*𝑦 𝑥𝐹𝑦))
1813, 16, 17sylanbrc 697 . . . 4 ((𝐹:𝐴𝐵𝑥𝐴) → ∃!𝑦 𝑥𝐹𝑦)
1918ralrimiva 2961 . . 3 (𝐹:𝐴𝐵 → ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦)
201, 19jca 554 . 2 (𝐹:𝐴𝐵 → (𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦))
21 xpss 5192 . . . . . . . 8 (𝐴 × 𝐵) ⊆ (V × V)
22 sstr 3595 . . . . . . . 8 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝐴 × 𝐵) ⊆ (V × V)) → 𝐹 ⊆ (V × V))
2321, 22mpan2 706 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → 𝐹 ⊆ (V × V))
24 df-rel 5086 . . . . . . 7 (Rel 𝐹𝐹 ⊆ (V × V))
2523, 24sylibr 224 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → Rel 𝐹)
2625adantr 481 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → Rel 𝐹)
27 df-ral 2912 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 ↔ ∀𝑥(𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦))
28 eumo 2498 . . . . . . . . . . . 12 (∃!𝑦 𝑥𝐹𝑦 → ∃*𝑦 𝑥𝐹𝑦)
2928imim2i 16 . . . . . . . . . . 11 ((𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → (𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
3029adantl 482 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → (𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
31 df-br 4619 . . . . . . . . . . . . . . . 16 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
32 ssel 3581 . . . . . . . . . . . . . . . 16 (𝐹 ⊆ (𝐴 × 𝐵) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
3331, 32syl5bi 232 . . . . . . . . . . . . . . 15 (𝐹 ⊆ (𝐴 × 𝐵) → (𝑥𝐹𝑦 → ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
34 opelxp1 5115 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → 𝑥𝐴)
3533, 34syl6 35 . . . . . . . . . . . . . 14 (𝐹 ⊆ (𝐴 × 𝐵) → (𝑥𝐹𝑦𝑥𝐴))
3635exlimdv 1858 . . . . . . . . . . . . 13 (𝐹 ⊆ (𝐴 × 𝐵) → (∃𝑦 𝑥𝐹𝑦𝑥𝐴))
3736con3d 148 . . . . . . . . . . . 12 (𝐹 ⊆ (𝐴 × 𝐵) → (¬ 𝑥𝐴 → ¬ ∃𝑦 𝑥𝐹𝑦))
38 exmo 2494 . . . . . . . . . . . . 13 (∃𝑦 𝑥𝐹𝑦 ∨ ∃*𝑦 𝑥𝐹𝑦)
3938ori 390 . . . . . . . . . . . 12 (¬ ∃𝑦 𝑥𝐹𝑦 → ∃*𝑦 𝑥𝐹𝑦)
4037, 39syl6 35 . . . . . . . . . . 11 (𝐹 ⊆ (𝐴 × 𝐵) → (¬ 𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
4140adantr 481 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → (¬ 𝑥𝐴 → ∃*𝑦 𝑥𝐹𝑦))
4230, 41pm2.61d 170 . . . . . . . . 9 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦)) → ∃*𝑦 𝑥𝐹𝑦)
4342ex 450 . . . . . . . 8 (𝐹 ⊆ (𝐴 × 𝐵) → ((𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → ∃*𝑦 𝑥𝐹𝑦))
4443alimdv 1842 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → (∀𝑥(𝑥𝐴 → ∃!𝑦 𝑥𝐹𝑦) → ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4527, 44syl5bi 232 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4645imp 445 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → ∀𝑥∃*𝑦 𝑥𝐹𝑦)
47 dffun6 5867 . . . . 5 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
4826, 46, 47sylanbrc 697 . . . 4 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → Fun 𝐹)
49 dmss 5288 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → dom 𝐹 ⊆ dom (𝐴 × 𝐵))
50 dmxpss 5529 . . . . . . 7 dom (𝐴 × 𝐵) ⊆ 𝐴
5149, 50syl6ss 3599 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → dom 𝐹𝐴)
52 breq1 4621 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥𝐹𝑦𝑧𝐹𝑦))
5352eubidv 2489 . . . . . . . . 9 (𝑥 = 𝑧 → (∃!𝑦 𝑥𝐹𝑦 ↔ ∃!𝑦 𝑧𝐹𝑦))
5453rspccv 3295 . . . . . . . 8 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → (𝑧𝐴 → ∃!𝑦 𝑧𝐹𝑦))
55 euex 2493 . . . . . . . . 9 (∃!𝑦 𝑧𝐹𝑦 → ∃𝑦 𝑧𝐹𝑦)
56 vex 3192 . . . . . . . . . 10 𝑧 ∈ V
5756eldm 5286 . . . . . . . . 9 (𝑧 ∈ dom 𝐹 ↔ ∃𝑦 𝑧𝐹𝑦)
5855, 57sylibr 224 . . . . . . . 8 (∃!𝑦 𝑧𝐹𝑦𝑧 ∈ dom 𝐹)
5954, 58syl6 35 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦 → (𝑧𝐴𝑧 ∈ dom 𝐹))
6059ssrdv 3593 . . . . . 6 (∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦𝐴 ⊆ dom 𝐹)
6151, 60anim12i 589 . . . . 5 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → (dom 𝐹𝐴𝐴 ⊆ dom 𝐹))
62 eqss 3602 . . . . 5 (dom 𝐹 = 𝐴 ↔ (dom 𝐹𝐴𝐴 ⊆ dom 𝐹))
6361, 62sylibr 224 . . . 4 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → dom 𝐹 = 𝐴)
64 df-fn 5855 . . . 4 (𝐹 Fn 𝐴 ↔ (Fun 𝐹 ∧ dom 𝐹 = 𝐴))
6548, 63, 64sylanbrc 697 . . 3 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → 𝐹 Fn 𝐴)
66 rnss 5319 . . . . 5 (𝐹 ⊆ (𝐴 × 𝐵) → ran 𝐹 ⊆ ran (𝐴 × 𝐵))
67 rnxpss 5530 . . . . 5 ran (𝐴 × 𝐵) ⊆ 𝐵
6866, 67syl6ss 3599 . . . 4 (𝐹 ⊆ (𝐴 × 𝐵) → ran 𝐹𝐵)
6968adantr 481 . . 3 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → ran 𝐹𝐵)
70 df-f 5856 . . 3 (𝐹:𝐴𝐵 ↔ (𝐹 Fn 𝐴 ∧ ran 𝐹𝐵))
7165, 69, 70sylanbrc 697 . 2 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦) → 𝐹:𝐴𝐵)
7220, 71impbii 199 1 (𝐹:𝐴𝐵 ↔ (𝐹 ⊆ (𝐴 × 𝐵) ∧ ∀𝑥𝐴 ∃!𝑦 𝑥𝐹𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  wal 1478   = wceq 1480  wex 1701  wcel 1987  ∃!weu 2469  ∃*wmo 2470  wral 2907  Vcvv 3189  wss 3559  cop 4159   class class class wbr 4618   × cxp 5077  dom cdm 5079  ran crn 5080  Rel wrel 5084  Fun wfun 5846   Fn wfn 5847  wf 5848  cfv 5852
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-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4746  ax-nul 4754  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  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 2912  df-rex 2913  df-rab 2916  df-v 3191  df-sbc 3422  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-br 4619  df-opab 4679  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-fv 5860
This theorem is referenced by:  dff4  6334  seqomlem2  7498
  Copyright terms: Public domain W3C validator