Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > indf | Structured version Visualization version GIF version |
Description: An indicator function as a function with domain and codomain. (Contributed by Thierry Arnoux, 13-Aug-2017.) |
Ref | Expression |
---|---|
indf | ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1}) |
Step | Hyp | Ref | 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}) | |
5 | 2, 3, 4 | mp2an 689 | . . . 4 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0} |
6 | prcom 4681 | . . . 4 ⊢ {1, 0} = {0, 1} | |
7 | 5, 6 | eleqtri 2835 | . . 3 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1} |
8 | 7 | a1i 11 | . 2 ⊢ (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) ∧ 𝑥 ∈ 𝑂) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1}) |
9 | 1, 8 | fmpt3d 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 |