| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > iunxprg | Structured version Visualization version GIF version | ||
| Description: A pair index picks out two instances of an indexed union's argument. (Contributed by Alexander van der Vekens, 2-Feb-2018.) |
| Ref | Expression |
|---|---|
| iunxprg.1 | ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐷) |
| iunxprg.2 | ⊢ (𝑥 = 𝐵 → 𝐶 = 𝐸) |
| Ref | Expression |
|---|---|
| iunxprg | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷 ∪ 𝐸)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-pr 4585 | . . . 4 ⊢ {𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) | |
| 2 | iuneq1 4966 | . . . 4 ⊢ ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶) | |
| 3 | 1, 2 | ax-mp 5 | . . 3 ⊢ ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 |
| 4 | iunxun 5051 | . . 3 ⊢ ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) | |
| 5 | 3, 4 | eqtri 2785 | . 2 ⊢ ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) |
| 6 | iunxprg.1 | . . . . 5 ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐷) | |
| 7 | 6 | iunxsng 5047 | . . . 4 ⊢ (𝐴 ∈ 𝑉 → ∪ 𝑥 ∈ {𝐴}𝐶 = 𝐷) |
| 8 | 7 | adantr 484 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐴}𝐶 = 𝐷) |
| 9 | iunxprg.2 | . . . . 5 ⊢ (𝑥 = 𝐵 → 𝐶 = 𝐸) | |
| 10 | 9 | iunxsng 5047 | . . . 4 ⊢ (𝐵 ∈ 𝑊 → ∪ 𝑥 ∈ {𝐵}𝐶 = 𝐸) |
| 11 | 10 | adantl 485 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐵}𝐶 = 𝐸) |
| 12 | 8, 11 | uneq12d 4122 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) = (𝐷 ∪ 𝐸)) |
| 13 | 5, 12 | eqtrid 2809 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷 ∪ 𝐸)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 399 = wceq 1560 ∈ wcel 2142 ∪ cun 3902 {csn 4582 {cpr 4584 ∪ ciun 4949 |
| 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-ext 2734 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-tru 1563 df-ex 1800 df-sb 2091 df-clab 2741 df-cleq 2754 df-clel 2837 df-ral 3077 df-rex 3087 df-v 3456 df-un 3909 df-ss 3921 df-sn 4583 df-pr 4585 df-iun 4951 |
| This theorem is referenced by: iunxunpr 32767 ovnsubadd2lem 47219 rnfdmpr 47875 |
| Copyright terms: Public domain | W3C validator |