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

Theorem sbcfung 6348
Description: Distribute proper substitution through the function predicate. (Contributed by Alexander van der Vekens, 23-Jul-2017.)
Assertion
Ref Expression
sbcfung (𝐴𝑉 → ([𝐴 / 𝑥]Fun 𝐹 ↔ Fun 𝐴 / 𝑥𝐹))

Proof of Theorem sbcfung
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sbcan 3768 . . 3 ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ ([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2 sbcrel 5619 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]Rel 𝐹 ↔ Rel 𝐴 / 𝑥𝐹))
3 sbcal 3780 . . . . 5 ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
4 sbcex2 3781 . . . . . . 7 ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
5 sbcal 3780 . . . . . . . . 9 ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦))
6 sbcimg 3767 . . . . . . . . . . 11 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦)))
7 sbcbr123 5084 . . . . . . . . . . . . 13 ([𝐴 / 𝑥]𝑤𝐹𝑧𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧)
8 csbconstg 3847 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑤 = 𝑤)
9 csbconstg 3847 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑧 = 𝑧)
108, 9breq12d 5043 . . . . . . . . . . . . 13 (𝐴𝑉 → (𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧𝑤𝐴 / 𝑥𝐹𝑧))
117, 10syl5bb 286 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝐹𝑧𝑤𝐴 / 𝑥𝐹𝑧))
12 sbcg 3793 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧 = 𝑦𝑧 = 𝑦))
1311, 12imbi12d 348 . . . . . . . . . . 11 (𝐴𝑉 → (([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
146, 13bitrd 282 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1514albidv 1921 . . . . . . . . 9 (𝐴𝑉 → (∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
165, 15syl5bb 286 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1716exbidv 1922 . . . . . . 7 (𝐴𝑉 → (∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
184, 17syl5bb 286 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1918albidv 1921 . . . . 5 (𝐴𝑉 → (∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
203, 19syl5bb 286 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
212, 20anbi12d 633 . . 3 (𝐴𝑉 → (([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
221, 21syl5bb 286 . 2 (𝐴𝑉 → ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
23 dffun3 6335 . . 3 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2423sbcbii 3776 . 2 ([𝐴 / 𝑥]Fun 𝐹[𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
25 dffun3 6335 . 2 (Fun 𝐴 / 𝑥𝐹 ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
2622, 24, 253bitr4g 317 1 (𝐴𝑉 → ([𝐴 / 𝑥]Fun 𝐹 ↔ Fun 𝐴 / 𝑥𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1536  wex 1781  wcel 2111  [wsbc 3720  csb 3828   class class class wbr 5030  Rel wrel 5524  Fun wfun 6318
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-fal 1551  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-v 3443  df-sbc 3721  df-csb 3829  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-br 5031  df-opab 5093  df-id 5425  df-rel 5526  df-cnv 5527  df-co 5528  df-fun 6326
This theorem is referenced by:  sbcfng  6484  esum2dlem  31461
  Copyright terms: Public domain W3C validator