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

Theorem sbcfung 6381
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 3823 . . 3 ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ ([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2 sbcrel 5657 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]Rel 𝐹 ↔ Rel 𝐴 / 𝑥𝐹))
3 sbcal 3835 . . . . 5 ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
4 sbcex2 3836 . . . . . . 7 ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦))
5 sbcal 3835 . . . . . . . . 9 ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦))
6 sbcimg 3822 . . . . . . . . . . 11 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦)))
7 sbcbr123 5122 . . . . . . . . . . . . 13 ([𝐴 / 𝑥]𝑤𝐹𝑧𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧)
8 csbconstg 3904 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑤 = 𝑤)
9 csbconstg 3904 . . . . . . . . . . . . . 14 (𝐴𝑉𝐴 / 𝑥𝑧 = 𝑧)
108, 9breq12d 5081 . . . . . . . . . . . . 13 (𝐴𝑉 → (𝐴 / 𝑥𝑤𝐴 / 𝑥𝐹𝐴 / 𝑥𝑧𝑤𝐴 / 𝑥𝐹𝑧))
117, 10syl5bb 285 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝐹𝑧𝑤𝐴 / 𝑥𝐹𝑧))
12 sbcg 3849 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧 = 𝑦𝑧 = 𝑦))
1311, 12imbi12d 347 . . . . . . . . . . 11 (𝐴𝑉 → (([𝐴 / 𝑥]𝑤𝐹𝑧[𝐴 / 𝑥]𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
146, 13bitrd 281 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ (𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1514albidv 1921 . . . . . . . . 9 (𝐴𝑉 → (∀𝑧[𝐴 / 𝑥](𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
165, 15syl5bb 285 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1716exbidv 1922 . . . . . . 7 (𝐴𝑉 → (∃𝑦[𝐴 / 𝑥]𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
184, 17syl5bb 285 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∃𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
1918albidv 1921 . . . . 5 (𝐴𝑉 → (∀𝑤[𝐴 / 𝑥]𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
203, 19syl5bb 285 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦) ↔ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
212, 20anbi12d 632 . . 3 (𝐴𝑉 → (([𝐴 / 𝑥]Rel 𝐹[𝐴 / 𝑥]𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
221, 21syl5bb 285 . 2 (𝐴𝑉 → ([𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)) ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦))))
23 dffun3 6368 . . 3 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
2423sbcbii 3831 . 2 ([𝐴 / 𝑥]Fun 𝐹[𝐴 / 𝑥](Rel 𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐹𝑧𝑧 = 𝑦)))
25 dffun3 6368 . 2 (Fun 𝐴 / 𝑥𝐹 ↔ (Rel 𝐴 / 𝑥𝐹 ∧ ∀𝑤𝑦𝑧(𝑤𝐴 / 𝑥𝐹𝑧𝑧 = 𝑦)))
2622, 24, 253bitr4g 316 1 (𝐴𝑉 → ([𝐴 / 𝑥]Fun 𝐹 ↔ Fun 𝐴 / 𝑥𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535  wex 1780  wcel 2114  [wsbc 3774  csb 3885   class class class wbr 5068  Rel wrel 5562  Fun wfun 6351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-id 5462  df-rel 5564  df-cnv 5565  df-co 5566  df-fun 6359
This theorem is referenced by:  sbcfng  6513  esum2dlem  31353
  Copyright terms: Public domain W3C validator