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

Definition df-ind 12230
Description: Define the indicator function generator. It generates an indicator function ((𝟭‘𝑂)‘𝐴) for a given domain 𝑂 and a given subset 𝐴 of the domain, see indval 12232. In contrast to the definitions and notations in Wikipedia and [Lang2] p. 3, the domain and the subset are always mentioned explicitly. (Contributed by Thierry Arnoux, 20-Jan-2017.)
Assertion
Ref Expression
df-ind 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
Distinct variable group:   𝑜,𝑎,𝑥

Detailed syntax breakdown of Definition df-ind
StepHypRef Expression
1 cind 12229 . 2 class 𝟭
2 vo . . 3 setvar 𝑜
3 cvv 3457 . . 3 class V
4 va . . . 4 setvar 𝑎
52cv 1569 . . . . 5 class 𝑜
65cpw 4564 . . . 4 class 𝒫 𝑜
7 vx . . . . 5 setvar 𝑥
87, 4wel 2147 . . . . . 6 wff 𝑥𝑎
9 c1 11112 . . . . . 6 class 1
10 cc0 11111 . . . . . 6 class 0
118, 9, 10cif 4489 . . . . 5 class if(𝑥𝑎, 1, 0)
127, 5, 11cmpt 5194 . . . 4 class (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))
134, 6, 12cmpt 5194 . . 3 class (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0)))
142, 3, 13cmpt 5194 . 2 class (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
151, 14wceq 1570 1 wff 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
Colors of variables:    wff setvar class
This definition is used by:  indv  12231
  Copyright terms: Public domain W3C validator