| 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 12245 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0))) | |
| 2 | 1re 11232 | . . . . 5 ⊢ 1 ∈ ℝ | |
| 3 | 0re 11234 | . . . . 5 ⊢ 0 ∈ ℝ | |
| 4 | ifpr 4654 | . . . . 5 ⊢ ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0}) | |
| 5 | 2, 3, 4 | mp2an 705 | . . . 4 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0} |
| 6 | prcom 4693 | . . . 4 ⊢ {1, 0} = {0, 1} | |
| 7 | 5, 6 | eleqtri 2858 | . . 3 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1} |
| 8 | 7 | a1i 11 | . 2 ⊢ (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) ∧ 𝑥 ∈ 𝑂) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1}) |
| 9 | 1, 8 | fmpt3d 7109 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 ∈ wcel 2145 ⊆ wss 3899 ifcif 4482 {cpr 4586 ⟶wf 6529 ‘cfv 6533 ℝcr 11123 0cc0 11124 1c1 11125 𝟭cind 12242 |
| 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 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2732 ax-rep 5232 ax-sep 5251 ax-nul 5263 ax-pow 5330 ax-pr 5398 ax-1cn 11182 ax-icn 11183 ax-addcl 11184 ax-addrcl 11185 ax-mulcl 11186 ax-mulrcl 11187 ax-i2m1 11192 ax-1ne0 11193 ax-rnegex 11195 ax-rrecex 11196 ax-cnre 11197 |
| 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 2100 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3740 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-iun 4953 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-iota 6489 df-fun 6535 df-fn 6536 df-f 6537 df-f1 6538 df-fo 6539 df-f1o 6540 df-fv 6541 df-ov 7416 df-ind 12243 |
| This theorem is used by: fvindre 12250 indpi1 12256 indsumin 33307 prodindf 33308 indpreima 33311 indf1ofs 33312 indsupp 33313 indfsd 33314 elrgspnsubrunlem1 33687 gsumind 33785 mplmulmvr 34049 esplylem 34076 esplympl 34077 esplymhp 34078 esplyfv1 34079 esplyfv 34080 esplyfval3 34082 esplyfvaln 34084 esplyind 34085 vieta 34090 breprexpnat 35142 circlemethnat 35149 |
| Copyright terms: Public domain | W3C validator |