| 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 4591 | . . . 4 ⊢ {𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) | |
| 2 | iuneq1 4971 | . . . 4 ⊢ ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶) | |
| 3 | 1, 2 | ax-mp 5 | . . 3 ⊢ ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 |
| 4 | iunxun 5057 | . . 3 ⊢ ∪ 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) | |
| 5 | 3, 4 | eqtri 2786 | . 2 ⊢ ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) |
| 6 | iunxprg.1 | . . . . 5 ⊢ (𝑥 = 𝐴 → 𝐶 = 𝐷) | |
| 7 | 6 | iunxsng 5053 | . . . 4 ⊢ (𝐴 ∈ 𝑉 → ∪ 𝑥 ∈ {𝐴}𝐶 = 𝐷) |
| 8 | 7 | adantr 486 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐴}𝐶 = 𝐷) |
| 9 | iunxprg.2 | . . . . 5 ⊢ (𝑥 = 𝐵 → 𝐶 = 𝐸) | |
| 10 | 9 | iunxsng 5053 | . . . 4 ⊢ (𝐵 ∈ 𝑊 → ∪ 𝑥 ∈ {𝐵}𝐶 = 𝐸) |
| 11 | 10 | adantl 487 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐵}𝐶 = 𝐸) |
| 12 | 8, 11 | uneq12d 4171 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∪ 𝑥 ∈ {𝐴}𝐶 ∪ ∪ 𝑥 ∈ {𝐵}𝐶) = (𝐷 ∪ 𝐸)) |
| 13 | 5, 12 | eqtrid 2810 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∪ 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷 ∪ 𝐸)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1569 ∈ wcel 2146 ∪ cun 4152 {csn 4588 {cpr 4590 ∪ ciun 4954 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1944 ax-6 2001 ax-7 2042 ax-8 2148 ax-9 2156 ax-ext 2735 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1572 df-ex 1812 df-sb 2101 df-clab 2742 df-cleq 2755 df-clel 2839 df-ral 3081 df-rex 3091 df-v 3456 df-ss 3901 df-un 4154 df-sn 4589 df-pr 4591 df-iun 4956 |
| This theorem is used by: iunxunpr 33218 ovnsubadd2lem 47800 rnfdmpr 48496 |
| Copyright terms: Public domain | W3C validator |