| 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 12160 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴) = (𝑥 ∈ 𝑂 ↦ if(𝑥 ∈ 𝐴, 1, 0))) | |
| 2 | 1re 11142 | . . . . 5 ⊢ 1 ∈ ℝ | |
| 3 | 0re 11144 | . . . . 5 ⊢ 0 ∈ ℝ | |
| 4 | ifpr 4632 | . . . . 5 ⊢ ((1 ∈ ℝ ∧ 0 ∈ ℝ) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0}) | |
| 5 | 2, 3, 4 | mp2an 698 | . . . 4 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {1, 0} |
| 6 | prcom 4671 | . . . 4 ⊢ {1, 0} = {0, 1} | |
| 7 | 5, 6 | eleqtri 2838 | . . 3 ⊢ if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1} |
| 8 | 7 | a1i 11 | . 2 ⊢ (((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) ∧ 𝑥 ∈ 𝑂) → if(𝑥 ∈ 𝐴, 1, 0) ∈ {0, 1}) |
| 9 | 1, 8 | fmpt3d 7064 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂) → ((𝟭‘𝑂)‘𝐴):𝑂⟶{0, 1}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 396 ∈ wcel 2119 ⊆ wss 3890 ifcif 4461 {cpr 4564 ⟶wf 6488 ‘cfv 6492 ℝcr 11035 0cc0 11036 1c1 11037 𝟭cind 12157 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2712 ax-rep 5206 ax-sep 5225 ax-nul 5235 ax-pow 5301 ax-pr 5369 ax-1cn 11094 ax-icn 11095 ax-addcl 11096 ax-addrcl 11097 ax-mulcl 11098 ax-mulrcl 11099 ax-i2m1 11104 ax-1ne0 11105 ax-rnegex 11107 ax-rrecex 11108 ax-cnre 11109 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2719 df-cleq 2732 df-clel 2815 df-nfc 2889 df-ne 2936 df-ral 3055 df-rex 3065 df-reu 3346 df-rab 3393 df-v 3434 df-sbc 3731 df-csb 3839 df-dif 3893 df-un 3895 df-in 3897 df-ss 3907 df-nul 4269 df-if 4462 df-pw 4538 df-sn 4563 df-pr 4565 df-op 4569 df-uni 4846 df-iun 4930 df-br 5080 df-opab 5142 df-mpt 5161 df-id 5520 df-xp 5631 df-rel 5632 df-cnv 5633 df-co 5634 df-dm 5635 df-rn 5636 df-res 5637 df-ima 5638 df-iota 6448 df-fun 6494 df-fn 6495 df-f 6496 df-f1 6497 df-fo 6498 df-f1o 6499 df-fv 6500 df-ov 7366 df-ind 12158 |
| This theorem is referenced by: fvindre 12165 indpi1 12171 indsumin 32947 prodindf 32948 indpreima 32951 indf1ofs 32952 indsupp 32953 indfsd 32954 elrgspnsubrunlem1 33335 gsumind 33435 mplmulmvr 33730 esplylem 33757 esplympl 33758 esplymhp 33759 esplyfv1 33760 esplyfv 33761 esplyfval3 33763 esplyfvaln 33765 esplyind 33766 vieta 33771 breprexpnat 34825 circlemethnat 34832 |
| Copyright terms: Public domain | W3C validator |