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 31281
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 31279 . 2 ((𝑂𝑉𝐴𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥𝑂 ↦ if(𝑥𝐴, 1, 0)))
2 1re 10627 . . . . 5 1 ∈ ℝ
3 0re 10629 . . . . 5 0 ∈ ℝ
4 ifpr 4615 . . . . 5 ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥𝐴, 1, 0) ∈ {1, 0})
52, 3, 4mp2an 690 . . . 4 if(𝑥𝐴, 1, 0) ∈ {1, 0}
6 prcom 4654 . . . 4 {1, 0} = {0, 1}
75, 6eleqtri 2911 . . 3 if(𝑥𝐴, 1, 0) ∈ {0, 1}
87a1i 11 . 2 (((𝑂𝑉𝐴𝑂) ∧ 𝑥𝑂) → if(𝑥𝐴, 1, 0) ∈ {0, 1})
91, 8fmpt3d 6866 1 ((𝑂𝑉𝐴𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wcel 2114  wss 3924  ifcif 4453  {cpr 4555  wf 6337  cfv 6341  cr 10522  0cc0 10523  1c1 10524  𝟭cind 31276
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 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5176  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-1cn 10581  ax-icn 10582  ax-addcl 10583  ax-addrcl 10584  ax-mulcl 10585  ax-mulrcl 10586  ax-i2m1 10591  ax-1ne0 10592  ax-rnegex 10594  ax-rrecex 10595  ax-cnre 10596
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-op 4560  df-uni 4825  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-id 5446  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-ov 7145  df-ind 31277
This theorem is referenced by:  indpi1  31286  indsum  31287  indsumin  31288  prodindf  31289  indpreima  31291  indf1ofs  31292  breprexpnat  31912  circlemethnat  31919
  Copyright terms: Public domain W3C validator