| 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 32783 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0))) | |
| 2 | 1re 11181 | . . . . 5 ⊢ 1 ∈ ℝ | |
| 3 | 0re 11183 | . . . . 5 ⊢ 0 ∈ ℝ | |
| 4 | ifpr 4660 | . . . . 5 ⊢ ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0}) | |
| 5 | 2, 3, 4 | mp2an 692 | . . . 4 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0} |
| 6 | prcom 4699 | . . . 4 ⊢ {1, 0} = {0, 1} | |
| 7 | 5, 6 | eleqtri 2827 | . . 3 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1} |
| 8 | 7 | a1i 11 | . 2 ⊢ (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) ∧ 𝑥 ∈ 𝑂) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1}) |
| 9 | 1, 8 | fmpt3d 7091 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∈ wcel 2109 ⊆ wss 3917 ifcif 4491 {cpr 4594 ⟶wf 6510 ‘cfv 6514 ℝcr 11074 0cc0 11075 1c1 11076 𝟭cind 32780 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-rep 5237 ax-sep 5254 ax-nul 5264 ax-pow 5323 ax-pr 5390 ax-1cn 11133 ax-icn 11134 ax-addcl 11135 ax-addrcl 11136 ax-mulcl 11137 ax-mulrcl 11138 ax-i2m1 11143 ax-1ne0 11144 ax-rnegex 11146 ax-rrecex 11147 ax-cnre 11148 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-ral 3046 df-rex 3055 df-reu 3357 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-nul 4300 df-if 4492 df-pw 4568 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-iun 4960 df-br 5111 df-opab 5173 df-mpt 5192 df-id 5536 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-f1 6519 df-fo 6520 df-f1o 6521 df-fv 6522 df-ov 7393 df-ind 32781 |
| This theorem is referenced by: indpi1 32790 indsum 32791 indsumin 32792 prodindf 32793 indpreima 32795 indf1ofs 32796 indsupp 32797 elrgspnsubrunlem1 33205 breprexpnat 34632 circlemethnat 34639 |
| Copyright terms: Public domain | W3C validator |