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 12326
Description: Define the indicator function generator. It generates an indicator function ((𝟭‘𝑂)‘𝐴) for a given domain 𝑂 and a given subset 𝐴 of the domain, see indval 12328. 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 12325 . 2 class 𝟭
2 vo . . 3 setvar 𝑜
3 cvv 3450 . . 3 class V
4 va . . . 4 setvar 𝑎
52cv 1568 . . . . 5 class 𝑜
65cpw 4556 . . . 4 class 𝒫 𝑜
7 vx . . . . 5 setvar 𝑥
87, 4wel 2145 . . . . . 6 wff 𝑥 ∈ 𝑎
9 c1 11206 . . . . . 6 class 1
10 cc0 11205 . . . . . 6 class 0
118, 9, 10cif 4481 . . . . 5 class if(𝑥 ∈ 𝑎, 1, 0)
127, 5, 11cmpt 5185 . . . 4 class (𝑥 ∈ 𝑜 ↦ if(𝑥 ∈ 𝑎, 1, 0))
134, 6, 12cmpt 5185 . . 3 class (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥 ∈ 𝑜 ↦ if(𝑥 ∈ 𝑎, 1, 0)))
142, 3, 13cmpt 5185 . 2 class (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥 ∈ 𝑜 ↦ if(𝑥 ∈ 𝑎, 1, 0))))
151, 14wceq 1569 1 wff 𝟭 = (𝑜 ∈ V ↦ (𝑎 ∈ 𝒫 𝑜 ↦ (𝑥 ∈ 𝑜 ↦ if(𝑥 ∈ 𝑎, 1, 0))))
Colors of variables:    wff setvar class
This definition is used by:  indv  12327
  Copyright terms: Public domain W3C validator