| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ind1a | Structured version Visualization version GIF version | ||
| Description: Value of the indicator function where it is 1. (Contributed by Thierry Arnoux, 22-Aug-2017.) |
| Ref | Expression |
|---|---|
| ind1a | ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((((𝟭‘𝑂)‘𝐴)‘𝑋) = 1 ↔ 𝑋 ∈ 𝐴)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | indfval 12202 | . . 3 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → (((𝟭‘𝑂)‘𝐴)‘𝑋) = if(𝑋 ∈ 𝐴, 1, 0)) | |
| 2 | 1 | eqeq1d 2764 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((((𝟭‘𝑂)‘𝐴)‘𝑋) = 1 ↔ if(𝑋 ∈ 𝐴, 1, 0) = 1)) |
| 3 | eqid 2762 | . . . . 5 ⊢ 1 = 1 | |
| 4 | 3 | biantru 537 | . . . 4 ⊢ (𝑋 ∈ 𝐴 ↔ (𝑋 ∈ 𝐴 ∧ 1 = 1)) |
| 5 | ax-1ne0 11142 | . . . . . 6 ⊢ 1 ≠ 0 | |
| 6 | 5 | neii 2959 | . . . . 5 ⊢ ¬ 1 = 0 |
| 7 | 6 | biorfri 950 | . . . 4 ⊢ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ 1 = 0)) |
| 8 | 6 | bianfi 541 | . . . . 5 ⊢ (1 = 0 ↔ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0)) |
| 9 | 8 | orbi2i 923 | . . . 4 ⊢ (((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ 1 = 0) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) |
| 10 | 4, 7, 9 | 3bitri 299 | . . 3 ⊢ (𝑋 ∈ 𝐴 ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) |
| 11 | eqif 4522 | . . 3 ⊢ (1 = if(𝑋 ∈ 𝐴, 1, 0) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) | |
| 12 | eqcom 2769 | . . 3 ⊢ (1 = if(𝑋 ∈ 𝐴, 1, 0) ↔ if(𝑋 ∈ 𝐴, 1, 0) = 1) | |
| 13 | 10, 11, 12 | 3bitr2ri 302 | . 2 ⊢ (if(𝑋 ∈ 𝐴, 1, 0) = 1 ↔ 𝑋 ∈ 𝐴) |
| 14 | 2, 13 | bitrdi 289 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((((𝟭‘𝑂)‘𝐴)‘𝑋) = 1 ↔ 𝑋 ∈ 𝐴)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 208 ∧ wa 399 ∨ wo 858 ∧ w3a 1098 = wceq 1560 ∈ wcel 2142 ⊆ wss 3904 ifcif 4480 ‘cfv 6521 0cc0 11073 1c1 11074 𝟭cind 12195 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-rep 5227 ax-sep 5246 ax-nul 5256 ax-pow 5322 ax-pr 5390 ax-1cn 11131 ax-icn 11132 ax-addcl 11133 ax-addrcl 11134 ax-mulcl 11135 ax-mulrcl 11136 ax-i2m1 11141 ax-1ne0 11142 ax-rnegex 11144 ax-rrecex 11145 ax-cnre 11146 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1100 df-tru 1563 df-fal 1573 df-ex 1800 df-nf 1804 df-sb 2091 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-ral 3077 df-rex 3087 df-reu 3368 df-rab 3415 df-v 3456 df-sbc 3745 df-csb 3853 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4481 df-pw 4557 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-iun 4951 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5542 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-iota 6477 df-fun 6523 df-fn 6524 df-f 6525 df-f1 6526 df-fo 6527 df-f1o 6528 df-fv 6529 df-ov 7399 df-ind 12196 |
| This theorem is referenced by: indpi1 12209 prodindf 33040 indpreima 33043 esplymhp 33865 |
| Copyright terms: Public domain | W3C validator |