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

Theorem indv 12226
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 12225 . 2 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
2 pweq 4575 . . 3 (𝑜 = 𝑂 → 𝒫 𝑜 = 𝒫 𝑂)
3 mpteq1 5199 . . 3 (𝑜 = 𝑂 → (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0)) = (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0)))
42, 3mpteq12dv 5197 . 2 (𝑜 = 𝑂 → (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
5 elex 3475 . 2 (𝑂𝑉𝑂 ∈ V)
6 pwexg 5348 . . 3 (𝑂 ∈ V → 𝒫 𝑂 ∈ V)
7 mptexg 7219 . . 3 (𝒫 𝑂 ∈ V → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
85, 6, 73syl 19 . 2 (𝑂𝑉 → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
91, 4, 5, 8fvmptd3 7013 1 (𝑂𝑉 → (𝟭‘𝑂) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1569  wcel 2142  Vcvv 3454  ifcif 4486  𝒫 cpw 4561  cmpt 5191  cfv 6536  0cc0 11106  1c1 11107  𝟭cind 12224
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-rep 5237  ax-sep 5256  ax-nul 5268  ax-pow 5335  ax-pr 5403
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-nf 1813  df-sb 2096  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-reu 3369  df-rab 3416  df-v 3456  df-sbc 3744  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4487  df-pw 4563  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-iun 4957  df-br 5109  df-opab 5173  df-mpt 5192  df-id 5555  df-xp 5666  df-rel 5667  df-cnv 5668  df-co 5669  df-dm 5670  df-rn 5671  df-res 5672  df-ima 5673  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-ind 12225
This theorem is used by:  indval  12227  indval0  12228  indf1o  33195
  Copyright terms: Public domain W3C validator