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

Theorem indfval 12365
Description: Value of the indicator function. (Contributed by Thierry Arnoux, 13-Aug-2017.)
Assertion
Ref Expression
indfval ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → (((𝟭‘𝑂)‘𝐴)‘𝑋) = if(𝑋 ∈ 𝐴, 1, 0))

Proof of Theorem indfval
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 indval 12361 . . 3 ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0)))
213adant3 1150 . 2 ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0)))
3 simpr 490 . . . 4 (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) ∧ 𝑥 = 𝑋) → 𝑥 = 𝑋)
43eleq1d 2849 . . 3 (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) ∧ 𝑥 = 𝑋) → (𝑥 ∈ 𝐴 ↔ 𝑋 ∈ 𝐴))
54ifbid 4509 . 2 (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) ∧ 𝑥 = 𝑋) → if(𝑥 ∈ 𝐴, 1, 0) = if(𝑋 ∈ 𝐴, 1, 0))
6 simp3 1156 . 2 ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → 𝑋 ∈ 𝑂)
7 1re 11345 . . . 4 1 ∈ ℝ
8 0re 11347 . . . 4 0 ∈ ℝ
97, 8ifcli 4533 . . 3 if(𝑋 ∈ 𝐴, 1, 0) ∈ ℝ
109a1i 11 . 2 ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → if(𝑋 ∈ 𝐴, 1, 0) ∈ ℝ)
112, 5, 6, 10fvmptd 7030 1 ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → (((𝟭‘𝑂)‘𝐴)‘𝑋) = if(𝑋 ∈ 𝐴, 1, 0))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900  ifcif 4485   ↦ cmpt 5190  ‘cfv 6564  ℝcr 11236  0cc0 11237  1c1 11238  𝟭cind 12358
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-1cn 11295  ax-icn 11296  ax-addcl 11297  ax-addrcl 11298  ax-mulcl 11299  ax-mulrcl 11300  ax-i2m1 11305  ax-1ne0 11306  ax-rnegex 11308  ax-rrecex 11309  ax-cnre 11310
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-f1 6569  df-fo 6570  df-f1o 6571  df-fv 6572  df-ov 7452  df-ind 12359
This theorem is used by:  ind1  12367  ind0  12368  ind1a  12369  esplyfv1  34305  esplyfvaln  34310  eulerpartlemgvv  35112
  Copyright terms: Public domain W3C validator