| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > rexprgf | Structured version Visualization version GIF version | ||
| Description: Convert a restricted existential quantification over a pair to a disjunction, using bound-variable hypotheses instead of distinct variable conditions. (Contributed by NM, 17-Sep-2011.) (Revised by AV, 2-Apr-2023.) |
| Ref | Expression |
|---|---|
| ralprgf.1 | ⊢ Ⅎ𝑥𝜓 |
| ralprgf.2 | ⊢ Ⅎ𝑥𝜒 |
| ralprgf.a | ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) |
| ralprgf.b | ⊢ (𝑥 = 𝐵 → (𝜑 ↔ 𝜒)) |
| Ref | Expression |
|---|---|
| rexprgf | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∨ 𝜒))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-pr 4584 | . . . 4 ⊢ {𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) | |
| 2 | 1 | rexeqi 3318 | . . 3 ⊢ (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ ∃𝑥 ∈ ({𝐴} ∪ {𝐵})𝜑) |
| 3 | rexun 4148 | . . 3 ⊢ (∃𝑥 ∈ ({𝐴} ∪ {𝐵})𝜑 ↔ (∃𝑥 ∈ {𝐴}𝜑 ∨ ∃𝑥 ∈ {𝐵}𝜑)) | |
| 4 | 2, 3 | bitri 277 | . 2 ⊢ (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (∃𝑥 ∈ {𝐴}𝜑 ∨ ∃𝑥 ∈ {𝐵}𝜑)) |
| 5 | ralprgf.1 | . . . . 5 ⊢ Ⅎ𝑥𝜓 | |
| 6 | ralprgf.a | . . . . 5 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) | |
| 7 | 5, 6 | rexsngf 4630 | . . . 4 ⊢ (𝐴 ∈ 𝑉 → (∃𝑥 ∈ {𝐴}𝜑 ↔ 𝜓)) |
| 8 | 7 | orbi1d 927 | . . 3 ⊢ (𝐴 ∈ 𝑉 → ((∃𝑥 ∈ {𝐴}𝜑 ∨ ∃𝑥 ∈ {𝐵}𝜑) ↔ (𝜓 ∨ ∃𝑥 ∈ {𝐵}𝜑))) |
| 9 | ralprgf.2 | . . . . 5 ⊢ Ⅎ𝑥𝜒 | |
| 10 | ralprgf.b | . . . . 5 ⊢ (𝑥 = 𝐵 → (𝜑 ↔ 𝜒)) | |
| 11 | 9, 10 | rexsngf 4630 | . . . 4 ⊢ (𝐵 ∈ 𝑊 → (∃𝑥 ∈ {𝐵}𝜑 ↔ 𝜒)) |
| 12 | 11 | orbi2d 926 | . . 3 ⊢ (𝐵 ∈ 𝑊 → ((𝜓 ∨ ∃𝑥 ∈ {𝐵}𝜑) ↔ (𝜓 ∨ 𝜒))) |
| 13 | 8, 12 | sylan9bb 517 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ((∃𝑥 ∈ {𝐴}𝜑 ∨ ∃𝑥 ∈ {𝐵}𝜑) ↔ (𝜓 ∨ 𝜒))) |
| 14 | 4, 13 | bitrid 285 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∨ 𝜒))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∧ wa 399 ∨ wo 858 = wceq 1559 Ⅎwnf 1802 ∈ wcel 2141 ∃wrex 3085 ∪ cun 3902 {csn 4581 {cpr 4583 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-8 2143 ax-9 2151 ax-10 2174 ax-12 2211 ax-ext 2733 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1099 df-tru 1562 df-ex 1799 df-nf 1803 df-sb 2090 df-clab 2740 df-cleq 2753 df-clel 2836 df-rex 3086 df-v 3455 df-sbc 3745 df-un 3909 df-sn 4582 df-pr 4584 |
| This theorem is referenced by: reuprg0 4660 |
| Copyright terms: Public domain | W3C validator |