Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfimafnf Structured version   Visualization version   GIF version

Theorem dfimafnf 30395
Description: Alternate definition of the image of a function. (Contributed by Raph Levien, 20-Nov-2006.) (Revised by Thierry Arnoux, 24-Apr-2017.)
Hypotheses
Ref Expression
dfimafnf.1 𝑥𝐴
dfimafnf.2 𝑥𝐹
Assertion
Ref Expression
dfimafnf ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)})
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑦,𝐹
Allowed substitution hints:   𝐴(𝑥)   𝐹(𝑥)

Proof of Theorem dfimafnf
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dfima2 5898 . . 3 (𝐹𝐴) = {𝑦 ∣ ∃𝑧𝐴 𝑧𝐹𝑦}
2 ssel 3908 . . . . . . 7 (𝐴 ⊆ dom 𝐹 → (𝑧𝐴𝑧 ∈ dom 𝐹))
3 eqcom 2805 . . . . . . . . 9 ((𝐹𝑧) = 𝑦𝑦 = (𝐹𝑧))
4 funbrfvb 6695 . . . . . . . . 9 ((Fun 𝐹𝑧 ∈ dom 𝐹) → ((𝐹𝑧) = 𝑦𝑧𝐹𝑦))
53, 4bitr3id 288 . . . . . . . 8 ((Fun 𝐹𝑧 ∈ dom 𝐹) → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))
65ex 416 . . . . . . 7 (Fun 𝐹 → (𝑧 ∈ dom 𝐹 → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦)))
72, 6syl9r 78 . . . . . 6 (Fun 𝐹 → (𝐴 ⊆ dom 𝐹 → (𝑧𝐴 → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))))
87imp31 421 . . . . 5 (((Fun 𝐹𝐴 ⊆ dom 𝐹) ∧ 𝑧𝐴) → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))
98rexbidva 3255 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (∃𝑧𝐴 𝑦 = (𝐹𝑧) ↔ ∃𝑧𝐴 𝑧𝐹𝑦))
109abbidv 2862 . . 3 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)} = {𝑦 ∣ ∃𝑧𝐴 𝑧𝐹𝑦})
111, 10eqtr4id 2852 . 2 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)})
12 nfcv 2955 . . . 4 𝑧𝐴
13 dfimafnf.1 . . . 4 𝑥𝐴
14 dfimafnf.2 . . . . . 6 𝑥𝐹
15 nfcv 2955 . . . . . 6 𝑥𝑧
1614, 15nffv 6655 . . . . 5 𝑥(𝐹𝑧)
1716nfeq2 2972 . . . 4 𝑥 𝑦 = (𝐹𝑧)
18 nfv 1915 . . . 4 𝑧 𝑦 = (𝐹𝑥)
19 fveq2 6645 . . . . 5 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
2019eqeq2d 2809 . . . 4 (𝑧 = 𝑥 → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹𝑥)))
2112, 13, 17, 18, 20cbvrexfw 3384 . . 3 (∃𝑧𝐴 𝑦 = (𝐹𝑧) ↔ ∃𝑥𝐴 𝑦 = (𝐹𝑥))
2221abbii 2863 . 2 {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)}
2311, 22eqtrdi 2849 1 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  {cab 2776  wnfc 2936  wrex 3107  wss 3881   class class class wbr 5030  dom cdm 5519  cima 5522  Fun wfun 6318  cfv 6324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-fv 6332
This theorem is referenced by:  funimass4f  30396
  Copyright terms: Public domain W3C validator