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

Theorem 2ralunsn 4855
Description: Double restricted quantification over the union of a set and a singleton, using implicit substitution. (Contributed by Paul Chapman, 17-Nov-2012.)
Hypotheses
Ref Expression
2ralunsn.1 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
2ralunsn.2 (𝑦 = 𝐵 → (𝜑 ↔ 𝜓))
2ralunsn.3 (𝑥 = 𝐵 → (𝜓 ↔ 𝜃))
Assertion
Ref Expression
2ralunsn (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃))))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶   𝜒,𝑥   𝜓,𝑦   𝜃,𝑥
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜓(𝑥)   𝜒(𝑦)   𝜃(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem 2ralunsn
StepHypRef Expression
1 2ralunsn.2 . . . 4 (𝑦 = 𝐵 → (𝜑 ↔ 𝜓))
21ralunsn 4854 . . 3 (𝐵 ∈ 𝐶 → (∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓)))
32ralbidv 3186 . 2 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ ∀𝑥 ∈ (𝐴 ∪ {𝐵})(∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓)))
4 2ralunsn.1 . . . . . 6 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
54ralbidv 3186 . . . . 5 (𝑥 = 𝐵 → (∀𝑦 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐴 𝜒))
6 2ralunsn.3 . . . . 5 (𝑥 = 𝐵 → (𝜓 ↔ 𝜃))
75, 6anbi12d 644 . . . 4 (𝑥 = 𝐵 → ((∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃)))
87ralunsn 4854 . . 3 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})(∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ (∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃))))
9 r19.26 3123 . . . 4 (∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 𝜓))
109anbi1i 636 . . 3 ((∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃)) ↔ ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃)))
118, 10bitrdi 290 . 2 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})(∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃))))
123, 11bitrd 282 1 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ ((∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝜑 ∧ ∀𝑥 ∈ 𝐴 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077   ∪ cun 3897  {csn 4584
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-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-v 3453  df-un 3904  df-sn 4585
This theorem is used by:  disjressuc2  39343
  Copyright terms: Public domain W3C validator