| 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 12225 | . . 3 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → (((𝟭‘𝑂)‘𝐴)‘𝑋) = if(𝑋 ∈ 𝐴, 1, 0)) | |
| 2 | 1 | eqeq1d 2771 | . 2 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((((𝟭‘𝑂)‘𝐴)‘𝑋) = 1 ↔ if(𝑋 ∈ 𝐴, 1, 0) = 1)) |
| 3 | eqid 2769 | . . . . 5 ⊢ 1 = 1 | |
| 4 | 3 | biantru 538 | . . . 4 ⊢ (𝑋 ∈ 𝐴 ↔ (𝑋 ∈ 𝐴 ∧ 1 = 1)) |
| 5 | ax-1ne0 11169 | . . . . . 6 ⊢ 1 ≠ 0 | |
| 6 | 5 | neii 2966 | . . . . 5 ⊢ ¬ 1 = 0 |
| 7 | 6 | biorfri 952 | . . . 4 ⊢ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ 1 = 0)) |
| 8 | 6 | bianfi 542 | . . . . 5 ⊢ (1 = 0 ↔ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0)) |
| 9 | 8 | orbi2i 925 | . . . 4 ⊢ (((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ 1 = 0) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) |
| 10 | 4, 7, 9 | 3bitri 300 | . . 3 ⊢ (𝑋 ∈ 𝐴 ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) |
| 11 | eqif 4534 | . . 3 ⊢ (1 = if(𝑋 ∈ 𝐴, 1, 0) ↔ ((𝑋 ∈ 𝐴 ∧ 1 = 1) ∨ (¬ 𝑋 ∈ 𝐴 ∧ 1 = 0))) | |
| 12 | eqcom 2776 | . . 3 ⊢ (1 = if(𝑋 ∈ 𝐴, 1, 0) ↔ if(𝑋 ∈ 𝐴, 1, 0) = 1) | |
| 13 | 10, 11, 12 | 3bitr2ri 303 | . 2 ⊢ (if(𝑋 ∈ 𝐴, 1, 0) = 1 ↔ 𝑋 ∈ 𝐴) |
| 14 | 2, 13 | bitrdi 290 | 1 ⊢ ((𝑂 ∈ 𝑉 ∧ 𝐴 ⊆ 𝑂 ∧ 𝑋 ∈ 𝑂) → ((((𝟭‘𝑂)‘𝐴)‘𝑋) = 1 ↔ 𝑋 ∈ 𝐴)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 400 ∨ wo 860 ∧ w3a 1101 = wceq 1567 ∈ wcel 2149 ⊆ wss 3913 ifcif 4492 ‘cfv 6537 0cc0 11100 1c1 11101 𝟭cind 12218 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1822 ax-4 1836 ax-5 1937 ax-6 1994 ax-7 2035 ax-8 2151 ax-9 2159 ax-10 2182 ax-11 2198 ax-12 2219 ax-ext 2741 ax-rep 5242 ax-sep 5261 ax-nul 5271 ax-pow 5337 ax-pr 5405 ax-1cn 11158 ax-icn 11159 ax-addcl 11160 ax-addrcl 11161 ax-mulcl 11162 ax-mulrcl 11163 ax-i2m1 11168 ax-1ne0 11169 ax-rnegex 11171 ax-rrecex 11172 ax-cnre 11173 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1570 df-fal 1580 df-ex 1807 df-nf 1811 df-sb 2098 df-mo 2573 df-eu 2603 df-clab 2748 df-cleq 2761 df-clel 2844 df-nfc 2918 df-ne 2965 df-ral 3086 df-rex 3096 df-reu 3377 df-rab 3424 df-v 3465 df-sbc 3754 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4877 df-iun 4962 df-br 5114 df-opab 5178 df-mpt 5197 df-id 5557 df-xp 5668 df-rel 5669 df-cnv 5670 df-co 5671 df-dm 5672 df-rn 5673 df-res 5674 df-ima 5675 df-iota 6493 df-fun 6539 df-fn 6540 df-f 6541 df-f1 6542 df-fo 6543 df-f1o 6544 df-fv 6545 df-ov 7414 df-ind 12219 |
| This theorem is referenced by: indpi1 12232 prodindf 33123 indpreima 33126 esplymhp 33903 |
| Copyright terms: Public domain | W3C validator |