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

Theorem indv 12199
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 12198 . 2 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
2 pweq 4571 . . 3 (𝑜 = 𝑂 → 𝒫 𝑜 = 𝒫 𝑂)
3 mpteq1 5191 . . 3 (𝑜 = 𝑂 → (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0)) = (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0)))
42, 3mpteq12dv 5189 . 2 (𝑜 = 𝑂 → (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
5 elex 3477 . 2 (𝑂𝑉𝑂 ∈ V)
6 pwexg 5337 . . 3 (𝑂 ∈ V → 𝒫 𝑂 ∈ V)
7 mptexg 7207 . . 3 (𝒫 𝑂 ∈ V → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
85, 6, 73syl 18 . 2 (𝑂𝑉 → (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))) ∈ V)
91, 4, 5, 8fvmptd3 7001 1 (𝑂𝑉 → (𝟭‘𝑂) = (𝑎 ∈ 𝒫 𝑂 ↦ (𝑥𝑂 ↦ if(𝑥𝑎, 1, 0))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1562  wcel 2144  Vcvv 3456  ifcif 4482  𝒫 cpw 4557  cmpt 5183  cfv 6523  0cc0 11075  1c1 11076  𝟭cind 12197
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-rep 5229  ax-sep 5248  ax-nul 5258  ax-pow 5324  ax-pr 5392
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3079  df-rex 3089  df-reu 3370  df-rab 3417  df-v 3458  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5544  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-iota 6479  df-fun 6525  df-fn 6526  df-f 6527  df-f1 6528  df-fo 6529  df-f1o 6530  df-fv 6531  df-ind 12198
This theorem is referenced by:  indval  12200  indval0  12201  indf1o  33044
  Copyright terms: Public domain W3C validator