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

Theorem indv 12153
Description: Value of the indicator function generator with domain 𝑂. (Contributed by Thierry Arnoux, 23-Aug-2017.)
Assertion
Ref Expression
indv (𝑂𝑉 → (𝟭‘𝑂) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
Distinct variable groups:   𝑥,𝑎,𝑂   𝑉,𝑎
Allowed substitution hint:   𝑉(𝑥)

Proof of Theorem indv
Dummy variable 𝑜 is distinct from all other variables.
StepHypRef Expression
1 df-ind 12152 . 2 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
2 pweq 4544 . . 3 (𝑜 = 𝑂 → 𝒫 𝑜 = 𝒫 𝑂)
3 mpteq1 5162 . . 3 (𝑜 = 𝑂 → (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0)) = (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0)))
42, 3mpteq12dv 5160 . 2 (𝑜 = 𝑂 → (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
5 elex 3452 . 2 (𝑂𝑉𝑂 ∈ V)
6 pwexg 5308 . . 3 (𝑂 ∈ V → 𝒫 𝑂 ∈ V)
7 mptexg 7166 . . 3 (𝒫 𝑂 ∈ V → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
85, 6, 73syl 18 . 2 (𝑂𝑉 → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
91, 4, 5, 8fvmptd3 6960 1 (𝑂𝑉 → (𝟭‘𝑂) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1547  wcel 2119  Vcvv 3431  ifcif 4455  𝒫 cpw 4530  cmpt 5154  cfv 6486  0cc0 11030  1c1 11031  𝟭cind 12151
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 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711  ax-rep 5200  ax-sep 5219  ax-nul 5229  ax-pow 5295  ax-pr 5363
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-ral 3054  df-rex 3064  df-reu 3345  df-rab 3392  df-v 3433  df-sbc 3724  df-csb 3832  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4263  df-if 4456  df-pw 4532  df-sn 4557  df-pr 4559  df-op 4563  df-uni 4840  df-iun 4924  df-br 5074  df-opab 5136  df-mpt 5155  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-ind 12152
This theorem is referenced by:  indval  12154  indval0  12155  indf1o  32944
  Copyright terms: Public domain W3C validator