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

Theorem fvmptdf 6257
Description: Alternate deduction version of fvmpt 6244, suitable for iteration. (Contributed by Mario Carneiro, 7-Jan-2017.)
Hypotheses
Ref Expression
fvmptdf.1 (𝜑𝐴𝐷)
fvmptdf.2 ((𝜑𝑥 = 𝐴) → 𝐵𝑉)
fvmptdf.3 ((𝜑𝑥 = 𝐴) → ((𝐹𝐴) = 𝐵𝜓))
fvmptdf.4 𝑥𝐹
fvmptdf.5 𝑥𝜓
Assertion
Ref Expression
fvmptdf (𝜑 → (𝐹 = (𝑥𝐷𝐵) → 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐷   𝜑,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝐵(𝑥)   𝐹(𝑥)   𝑉(𝑥)

Proof of Theorem fvmptdf
StepHypRef Expression
1 nfv 1840 . 2 𝑥𝜑
2 fvmptdf.4 . . . 4 𝑥𝐹
3 nfmpt1 4712 . . . 4 𝑥(𝑥𝐷𝐵)
42, 3nfeq 2772 . . 3 𝑥 𝐹 = (𝑥𝐷𝐵)
5 fvmptdf.5 . . 3 𝑥𝜓
64, 5nfim 1822 . 2 𝑥(𝐹 = (𝑥𝐷𝐵) → 𝜓)
7 fvmptdf.1 . . . 4 (𝜑𝐴𝐷)
87elexd 3203 . . 3 (𝜑𝐴 ∈ V)
9 isset 3196 . . 3 (𝐴 ∈ V ↔ ∃𝑥 𝑥 = 𝐴)
108, 9sylib 208 . 2 (𝜑 → ∃𝑥 𝑥 = 𝐴)
11 fveq1 6152 . . 3 (𝐹 = (𝑥𝐷𝐵) → (𝐹𝐴) = ((𝑥𝐷𝐵)‘𝐴))
12 simpr 477 . . . . . . 7 ((𝜑𝑥 = 𝐴) → 𝑥 = 𝐴)
1312fveq2d 6157 . . . . . 6 ((𝜑𝑥 = 𝐴) → ((𝑥𝐷𝐵)‘𝑥) = ((𝑥𝐷𝐵)‘𝐴))
147adantr 481 . . . . . . . 8 ((𝜑𝑥 = 𝐴) → 𝐴𝐷)
1512, 14eqeltrd 2698 . . . . . . 7 ((𝜑𝑥 = 𝐴) → 𝑥𝐷)
16 fvmptdf.2 . . . . . . 7 ((𝜑𝑥 = 𝐴) → 𝐵𝑉)
17 eqid 2621 . . . . . . . 8 (𝑥𝐷𝐵) = (𝑥𝐷𝐵)
1817fvmpt2 6253 . . . . . . 7 ((𝑥𝐷𝐵𝑉) → ((𝑥𝐷𝐵)‘𝑥) = 𝐵)
1915, 16, 18syl2anc 692 . . . . . 6 ((𝜑𝑥 = 𝐴) → ((𝑥𝐷𝐵)‘𝑥) = 𝐵)
2013, 19eqtr3d 2657 . . . . 5 ((𝜑𝑥 = 𝐴) → ((𝑥𝐷𝐵)‘𝐴) = 𝐵)
2120eqeq2d 2631 . . . 4 ((𝜑𝑥 = 𝐴) → ((𝐹𝐴) = ((𝑥𝐷𝐵)‘𝐴) ↔ (𝐹𝐴) = 𝐵))
22 fvmptdf.3 . . . 4 ((𝜑𝑥 = 𝐴) → ((𝐹𝐴) = 𝐵𝜓))
2321, 22sylbid 230 . . 3 ((𝜑𝑥 = 𝐴) → ((𝐹𝐴) = ((𝑥𝐷𝐵)‘𝐴) → 𝜓))
2411, 23syl5 34 . 2 ((𝜑𝑥 = 𝐴) → (𝐹 = (𝑥𝐷𝐵) → 𝜓))
251, 6, 10, 24exlimdd 2086 1 (𝜑 → (𝐹 = (𝑥𝐷𝐵) → 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wex 1701  wnf 1705  wcel 1987  wnfc 2748  Vcvv 3189  cmpt 4678  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-8 1989  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-pow 4808  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-ral 2912  df-rex 2913  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  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-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5815  df-fun 5854  df-fv 5860
This theorem is referenced by:  fvmptdv  6258  yonedalem4b  16844
  Copyright terms: Public domain W3C validator