MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ralprgf Structured version   Visualization version   GIF version

Theorem ralprgf 4655
Description: Convert a restricted universal quantification over a pair to a conjunction, using bound-variable hypotheses instead of distinct variable conditions. (Contributed by NM, 17-Sep-2011.) (Revised by AV, 8-Apr-2023.)
Hypotheses
Ref Expression
ralprgf.1 Ⅎ𝑥𝜓
ralprgf.2 Ⅎ𝑥𝜒
ralprgf.a (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
ralprgf.b (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
Assertion
Ref Expression
ralprgf ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∧ 𝜒)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)   𝜒(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem ralprgf
StepHypRef Expression
1 df-pr 4587 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
21raleqi 3318 . . 3 (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ ∀𝑥 ∈ ({𝐴} ∪ {𝐵})𝜑)
3 ralunb 4143 . . 3 (∀𝑥 ∈ ({𝐴} ∪ {𝐵})𝜑 ↔ (∀𝑥 ∈ {𝐴}𝜑 ∧ ∀𝑥 ∈ {𝐵}𝜑))
42, 3bitri 278 . 2 (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (∀𝑥 ∈ {𝐴}𝜑 ∧ ∀𝑥 ∈ {𝐵}𝜑))
5 ralprgf.1 . . . 4 Ⅎ𝑥𝜓
6 ralprgf.a . . . 4 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
75, 6ralsngf 4634 . . 3 (𝐴 ∈ 𝑉 → (∀𝑥 ∈ {𝐴}𝜑 ↔ 𝜓))
8 ralprgf.2 . . . 4 Ⅎ𝑥𝜒
9 ralprgf.b . . . 4 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
108, 9ralsngf 4634 . . 3 (𝐵 ∈ 𝑊 → (∀𝑥 ∈ {𝐵}𝜑 ↔ 𝜒))
117, 10bi2anan9 650 . 2 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ((∀𝑥 ∈ {𝐴}𝜑 ∧ ∀𝑥 ∈ {𝐵}𝜑) ↔ (𝜓 ∧ 𝜒)))
124, 11bitrid 286 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝜑 ↔ (𝜓 ∧ 𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2145  ∀wral 3077   ∪ cun 3897  {csn 4584  {cpr 4586
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-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-v 3453  df-sbc 3740  df-un 3904  df-sn 4585  df-pr 4587
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator