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

Theorem sbcfung 6372
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 3818 . . 3 ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ ([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2 sbcrel 5648 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]Rel 𝐹 ↔ Rel 𝐴 / 𝑥𝐹))
3 sbcal 3830 . . . . 5 ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
4 sbcex2 3831 . . . . . . 7 ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
5 sbcal 3830 . . . . . . . . 9 ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦))
6 sbcimg 3817 . . . . . . . . . . 11 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦)))
7 sbcbr123 5111 . . . . . . . . . . . . 13 ([𝐴 / 𝑥]𝑤𝐹𝑧𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧)
8 csbconstg 3899 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑤 = 𝑤)
9 csbconstg 3899 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑧 = 𝑧)
108, 9breq12d 5070 . . . . . . . . . . . . 13 (𝐴𝑉 → (𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧𝑤𝐴 / 𝑥𝐹𝑧))
117, 10syl5bb 284 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝐹𝑧𝑤𝐴 / 𝑥𝐹𝑧))
12 sbcg 3844 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧 = 𝑦𝑧 = 𝑦))
1311, 12imbi12d 346 . . . . . . . . . . 11 (𝐴𝑉 → (([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
146, 13bitrd 280 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1514albidv 1912 . . . . . . . . 9 (𝐴𝑉 → (∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
165, 15syl5bb 284 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1716exbidv 1913 . . . . . . 7 (𝐴𝑉 → (∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
184, 17syl5bb 284 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1918albidv 1912 . . . . 5 (𝐴𝑉 → (∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
203, 19syl5bb 284 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
212, 20anbi12d 630 . . 3 (𝐴𝑉 → (([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
221, 21syl5bb 284 . 2 (𝐴𝑉 → ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
23 dffun3 6359 . . 3 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2423sbcbii 3826 . 2 ([𝐴 / 𝑥]Fun 𝐹[𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
25 dffun3 6359 . 2 (Fun 𝐴 / 𝑥𝐹 ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
2622, 24, 253bitr4g 315 1 (𝐴𝑉 → ([𝐴 / 𝑥]Fun 𝐹 ↔ Fun 𝐴 / 𝑥𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526  wex 1771  wcel 2105  [wsbc 3769  csb 3880   class class class wbr 5057  Rel wrel 5553  Fun wfun 6342
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-fal 1541  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-id 5453  df-rel 5555  df-cnv 5556  df-co 5557  df-fun 6350
This theorem is referenced by:  sbcfng  6504  esum2dlem  31250
  Copyright terms: Public domain W3C validator