![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > rextpg | Structured version Visualization version GIF version |
Description: Convert a restricted existential quantification over a triple to a disjunction. (Contributed by Mario Carneiro, 23-Apr-2015.) |
Ref | Expression |
---|---|
ralprg.1 | ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) |
ralprg.2 | ⊢ (𝑥 = 𝐵 → (𝜑 ↔ 𝜒)) |
raltpg.3 | ⊢ (𝑥 = 𝐶 → (𝜑 ↔ 𝜃)) |
Ref | Expression |
---|---|
rextpg | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ 𝐶 ∈ 𝑋) → (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓 ∨ 𝜒 ∨ 𝜃))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ralprg.1 | . . . . . 6 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) | |
2 | ralprg.2 | . . . . . 6 ⊢ (𝑥 = 𝐵 → (𝜑 ↔ 𝜒)) | |
3 | 1, 2 | rexprg 4662 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∨ 𝜒))) |
4 | 3 | orbi1d 916 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ((∃𝑥 ∈ {𝐴, 𝐵}𝜑 ∨ ∃𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∨ 𝜒) ∨ ∃𝑥 ∈ {𝐶}𝜑))) |
5 | raltpg.3 | . . . . . 6 ⊢ (𝑥 = 𝐶 → (𝜑 ↔ 𝜃)) | |
6 | 5 | rexsng 4640 | . . . . 5 ⊢ (𝐶 ∈ 𝑋 → (∃𝑥 ∈ {𝐶}𝜑 ↔ 𝜃)) |
7 | 6 | orbi2d 915 | . . . 4 ⊢ (𝐶 ∈ 𝑋 → (((𝜓 ∨ 𝜒) ∨ ∃𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∨ 𝜒) ∨ 𝜃))) |
8 | 4, 7 | sylan9bb 511 | . . 3 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ 𝐶 ∈ 𝑋) → ((∃𝑥 ∈ {𝐴, 𝐵}𝜑 ∨ ∃𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∨ 𝜒) ∨ 𝜃))) |
9 | 8 | 3impa 1111 | . 2 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ 𝐶 ∈ 𝑋) → ((∃𝑥 ∈ {𝐴, 𝐵}𝜑 ∨ ∃𝑥 ∈ {𝐶}𝜑) ↔ ((𝜓 ∨ 𝜒) ∨ 𝜃))) |
10 | df-tp 4596 | . . . 4 ⊢ {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶}) | |
11 | 10 | rexeqi 3315 | . . 3 ⊢ (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ ∃𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑) |
12 | rexun 4155 | . . 3 ⊢ (∃𝑥 ∈ ({𝐴, 𝐵} ∪ {𝐶})𝜑 ↔ (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ∨ ∃𝑥 ∈ {𝐶}𝜑)) | |
13 | 11, 12 | bitri 275 | . 2 ⊢ (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (∃𝑥 ∈ {𝐴, 𝐵}𝜑 ∨ ∃𝑥 ∈ {𝐶}𝜑)) |
14 | df-3or 1089 | . 2 ⊢ ((𝜓 ∨ 𝜒 ∨ 𝜃) ↔ ((𝜓 ∨ 𝜒) ∨ 𝜃)) | |
15 | 9, 13, 14 | 3bitr4g 314 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊 ∧ 𝐶 ∈ 𝑋) → (∃𝑥 ∈ {𝐴, 𝐵, 𝐶}𝜑 ↔ (𝜓 ∨ 𝜒 ∨ 𝜃))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 397 ∨ wo 846 ∨ w3o 1087 ∧ w3a 1088 = wceq 1542 ∈ wcel 2107 ∃wrex 3074 ∪ cun 3913 {csn 4591 {cpr 4593 {ctp 4595 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-ext 2708 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-3or 1089 df-3an 1090 df-tru 1545 df-ex 1783 df-sb 2069 df-clab 2715 df-cleq 2729 df-clel 2815 df-ral 3066 df-rex 3075 df-v 3450 df-un 3920 df-sn 4592 df-pr 4594 df-tp 4596 |
This theorem is referenced by: rextp 4672 fr3nr 7711 nb3grprlem2 28371 frgr3vlem2 29260 3vfriswmgr 29264 |
Copyright terms: Public domain | W3C validator |