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 30967
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 5970 . . 3 (𝐹𝐴) = {𝑦 ∣ ∃𝑧𝐴 𝑧𝐹𝑦}
2 ssel 3919 . . . . . . 7 (𝐴 ⊆ dom 𝐹 → (𝑧𝐴𝑧 ∈ dom 𝐹))
3 eqcom 2747 . . . . . . . . 9 ((𝐹𝑧) = 𝑦𝑦 = (𝐹𝑧))
4 funbrfvb 6821 . . . . . . . . 9 ((Fun 𝐹𝑧 ∈ dom 𝐹) → ((𝐹𝑧) = 𝑦𝑧𝐹𝑦))
53, 4bitr3id 285 . . . . . . . 8 ((Fun 𝐹𝑧 ∈ dom 𝐹) → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))
65ex 413 . . . . . . 7 (Fun 𝐹 → (𝑧 ∈ dom 𝐹 → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦)))
72, 6syl9r 78 . . . . . 6 (Fun 𝐹 → (𝐴 ⊆ dom 𝐹 → (𝑧𝐴 → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))))
87imp31 418 . . . . 5 (((Fun 𝐹𝐴 ⊆ dom 𝐹) ∧ 𝑧𝐴) → (𝑦 = (𝐹𝑧) ↔ 𝑧𝐹𝑦))
98rexbidva 3227 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (∃𝑧𝐴 𝑦 = (𝐹𝑧) ↔ ∃𝑧𝐴 𝑧𝐹𝑦))
109abbidv 2809 . . 3 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)} = {𝑦 ∣ ∃𝑧𝐴 𝑧𝐹𝑦})
111, 10eqtr4id 2799 . 2 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)})
12 nfcv 2909 . . . 4 𝑧𝐴
13 dfimafnf.1 . . . 4 𝑥𝐴
14 dfimafnf.2 . . . . . 6 𝑥𝐹
15 nfcv 2909 . . . . . 6 𝑥𝑧
1614, 15nffv 6781 . . . . 5 𝑥(𝐹𝑧)
1716nfeq2 2926 . . . 4 𝑥 𝑦 = (𝐹𝑧)
18 nfv 1921 . . . 4 𝑧 𝑦 = (𝐹𝑥)
19 fveq2 6771 . . . . 5 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
2019eqeq2d 2751 . . . 4 (𝑧 = 𝑥 → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹𝑥)))
2112, 13, 17, 18, 20cbvrexfw 3369 . . 3 (∃𝑧𝐴 𝑦 = (𝐹𝑧) ↔ ∃𝑥𝐴 𝑦 = (𝐹𝑥))
2221abbii 2810 . 2 {𝑦 ∣ ∃𝑧𝐴 𝑦 = (𝐹𝑧)} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)}
2311, 22eqtrdi 2796 1 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴) = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  {cab 2717  wnfc 2889  wrex 3067  wss 3892   class class class wbr 5079  dom cdm 5590  cima 5593  Fun wfun 6426  cfv 6432
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-fv 6440
This theorem is referenced by:  funimass4f  30968
  Copyright terms: Public domain W3C validator