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 12215
Description: Define the indicator function generator. It generates an indicator function ((𝟭‘𝑂)‘𝐴) for a given domain 𝑂 and a given subset 𝐴 of the domain, see indval 12217. 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 12214 . 2 class 𝟭
2 vo . . 3 setvar 𝑜
3 cvv 3463 . . 3 class V
4 va . . . 4 setvar 𝑎
52cv 1566 . . . . 5 class 𝑜
65cpw 4564 . . . 4 class 𝒫 𝑜
7 vx . . . . 5 setvar 𝑥
87, 4wel 2150 . . . . . 6 wff 𝑥𝑎
9 c1 11097 . . . . . 6 class 1
10 cc0 11096 . . . . . 6 class 0
118, 9, 10cif 4489 . . . . 5 class if(𝑥𝑎, 1, 0)
127, 5, 11cmpt 5193 . . . 4 class (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))
134, 6, 12cmpt 5193 . . 3 class (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0)))
142, 3, 13cmpt 5193 . 2 class (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
151, 14wceq 1567 1 wff 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥𝑜 ↦ if(𝑥𝑎, 1, 0))))
Colors of variables: wff setvar class
This definition is referenced by:  indv  12216
  Copyright terms: Public domain W3C validator