Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  indf Structured version   Visualization version   GIF version

Theorem indf 32281
Description: An indicator function as a function with domain and codomain. (Contributed by Thierry Arnoux, 13-Aug-2017.)
Assertion
Ref Expression
indf ((𝑂𝑉𝐴𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1})

Proof of Theorem indf
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 indval 32279 . 2 ((𝑂𝑉𝐴𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥𝑂 ↦ if(𝑥𝐴, 1, 0)))
2 1re 11077 . . . . 5 1 ∈ ℝ
3 0re 11079 . . . . 5 0 ∈ ℝ
4 ifpr 4640 . . . . 5 ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥𝐴, 1, 0) ∈ {1, 0})
52, 3, 4mp2an 689 . . . 4 if(𝑥𝐴, 1, 0) ∈ {1, 0}
6 prcom 4681 . . . 4 {1, 0} = {0, 1}
75, 6eleqtri 2835 . . 3 if(𝑥𝐴, 1, 0) ∈ {0, 1}
87a1i 11 . 2 (((𝑂𝑉𝐴𝑂) ∧ 𝑥𝑂) → if(𝑥𝐴, 1, 0) ∈ {0, 1})
91, 8fmpt3d 7047 1 ((𝑂𝑉𝐴𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wcel 2105  wss 3898  ifcif 4474  {cpr 4576  wf 6476  cfv 6480  cr 10972  0cc0 10973  1c1 10974  𝟭cind 32276
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2707  ax-rep 5230  ax-sep 5244  ax-nul 5251  ax-pow 5309  ax-pr 5373  ax-1cn 11031  ax-icn 11032  ax-addcl 11033  ax-addrcl 11034  ax-mulcl 11035  ax-mulrcl 11036  ax-i2m1 11041  ax-1ne0 11042  ax-rnegex 11044  ax-rrecex 11045  ax-cnre 11046
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3350  df-rab 3404  df-v 3443  df-sbc 3728  df-csb 3844  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4271  df-if 4475  df-pw 4550  df-sn 4575  df-pr 4577  df-op 4581  df-uni 4854  df-iun 4944  df-br 5094  df-opab 5156  df-mpt 5177  df-id 5519  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-rn 5632  df-res 5633  df-ima 5634  df-iota 6432  df-fun 6482  df-fn 6483  df-f 6484  df-f1 6485  df-fo 6486  df-f1o 6487  df-fv 6488  df-ov 7341  df-ind 32277
This theorem is referenced by:  indpi1  32286  indsum  32287  indsumin  32288  prodindf  32289  indpreima  32291  indf1ofs  32292  breprexpnat  32914  circlemethnat  32921
  Copyright terms: Public domain W3C validator