| Mathbox for Glauco Siliprandi |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > rnmptpr | Structured version Visualization version GIF version | ||
| Description: Range of a function defined on an unordered pair. (Contributed by Glauco Siliprandi, 17-Aug-2020.) |
| Ref | Expression |
|---|---|
| rnmptpr.a | ⊢ (𝜑 → 𝐴 ∈ 𝑉) |
| rnmptpr.b | ⊢ (𝜑 → 𝐵 ∈ 𝑊) |
| rnmptpr.f | ⊢ 𝐹 = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐶) |
| rnmptpr.d | ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐷) |
| rnmptpr.e | ⊢ (𝑥 = 𝐵 → 𝐶 = 𝐸) |
| Ref | Expression |
|---|---|
| rnmptpr | ⊢ (𝜑 → ran 𝐹 = {𝐷, 𝐸}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | rnmptpr.a | . . . 4 ⊢ (𝜑 → 𝐴 ∈ 𝑉) | |
| 2 | rnmptpr.b | . . . 4 ⊢ (𝜑 → 𝐵 ∈ 𝑊) | |
| 3 | rnmptpr.d | . . . . . 6 ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐷) | |
| 4 | 3 | eqeq2d 2771 | . . . . 5 ⊢ (𝑥 = 𝐴 → (𝑦 = 𝐶 ↔ 𝑦 = 𝐷)) |
| 5 | rnmptpr.e | . . . . . 6 ⊢ (𝑥 = 𝐵 → 𝐶 = 𝐸) | |
| 6 | 5 | eqeq2d 2771 | . . . . 5 ⊢ (𝑥 = 𝐵 → (𝑦 = 𝐶 ↔ 𝑦 = 𝐸)) |
| 7 | 4, 6 | rexprg 4658 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝑦 = 𝐶 ↔ (𝑦 = 𝐷 ∨ 𝑦 = 𝐸))) |
| 8 | 1, 2, 7 | syl2anc 596 | . . 3 ⊢ (𝜑 → (∃𝑥 ∈ {𝐴, 𝐵}𝑦 = 𝐶 ↔ (𝑦 = 𝐷 ∨ 𝑦 = 𝐸))) |
| 9 | rnmptpr.f | . . . . 5 ⊢ 𝐹 = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐶) | |
| 10 | 9 | elrnmpt 5942 | . . . 4 ⊢ (𝑦 ∈ V → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ {𝐴, 𝐵}𝑦 = 𝐶)) |
| 11 | 10 | elv 3455 | . . 3 ⊢ (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ {𝐴, 𝐵}𝑦 = 𝐶) |
| 12 | vex 3454 | . . . 4 ⊢ 𝑦 ∈ V | |
| 13 | 12 | elpr 4609 | . . 3 ⊢ (𝑦 ∈ {𝐷, 𝐸} ↔ (𝑦 = 𝐷 ∨ 𝑦 = 𝐸)) |
| 14 | 8, 11, 13 | 3bitr4g 317 | . 2 ⊢ (𝜑 → (𝑦 ∈ ran 𝐹 ↔ 𝑦 ∈ {𝐷, 𝐸})) |
| 15 | 14 | eqrdv 2758 | 1 ⊢ (𝜑 → ran 𝐹 = {𝐷, 𝐸}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∨ wo 861 = wceq 1570 ∈ wcel 2145 ∃wrex 3086 Vcvv 3450 {cpr 4586 ↦ cmpt 5186 ran crn 5656 |
| 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-sep 5251 ax-pr 5398 |
| 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-ral 3077 df-rex 3087 df-rab 3413 df-v 3452 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-br 5104 df-opab 5168 df-mpt 5187 df-cnv 5663 df-dm 5665 df-rn 5666 |
| This theorem is used by: sge0pr 47225 |
| Copyright terms: Public domain | W3C validator |