| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 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 12222 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0))) | |
| 2 | 1re 11209 | . . . . 5 ⊢ 1 ∈ ℝ | |
| 3 | 0re 11211 | . . . . 5 ⊢ 0 ∈ ℝ | |
| 4 | ifpr 4660 | . . . . 5 ⊢ ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0}) | |
| 5 | 2, 3, 4 | mp2an 704 | . . . 4 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0} |
| 6 | prcom 4699 | . . . 4 ⊢ {1, 0} = {0, 1} | |
| 7 | 5, 6 | eleqtri 2861 | . . 3 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1} |
| 8 | 7 | a1i 11 | . 2 ⊢ (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) ∧ 𝑥 ∈ 𝑂) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1}) |
| 9 | 1, 8 | fmpt3d 7113 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 400 ∈ wcel 2143 ⊆ wss 3906 ifcif 4488 {cpr 4592 ⟶wf 6534 ‘cfv 6538 ℝcr 11100 0cc0 11101 1c1 11102 𝟭cind 12219 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-rep 5239 ax-sep 5258 ax-nul 5270 ax-pow 5338 ax-pr 5406 ax-1cn 11159 ax-icn 11160 ax-addcl 11161 ax-addrcl 11162 ax-mulcl 11163 ax-mulrcl 11164 ax-i2m1 11169 ax-1ne0 11170 ax-rnegex 11172 ax-rrecex 11173 ax-cnre 11174 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-ral 3080 df-rex 3090 df-reu 3370 df-rab 3417 df-v 3457 df-sbc 3746 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4489 df-pw 4565 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-iun 4959 df-br 5111 df-opab 5175 df-mpt 5194 df-id 5558 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-ov 7415 df-ind 12220 |
| This theorem is referenced by: fvindre 12227 indpi1 12233 indsumin 33162 prodindf 33163 indpreima 33166 indf1ofs 33167 indsupp 33168 indfsd 33169 elrgspnsubrunlem1 33548 gsumind 33646 mplmulmvr 33910 esplylem 33937 esplympl 33938 esplymhp 33939 esplyfv1 33940 esplyfv 33941 esplyfval3 33943 esplyfvaln 33945 esplyind 33946 vieta 33951 breprexpnat 35002 circlemethnat 35009 |
| Copyright terms: Public domain | W3C validator |