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

Theorem 2ralunsn 4825
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 4824 . . 3 (𝐵 ∈ 𝐶 → (∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓)))
32ralbidv 3185 . 2 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})∀𝑦 ∈ (𝐴 ∪ {𝐵})𝜑 ↔ ∀𝑥 ∈ (𝐴 ∪ {𝐵})(∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓)))
4 2ralunsn.1 . . . . . 6 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
54ralbidv 3185 . . . . 5 (𝑥 = 𝐵 → (∀𝑦 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐴 𝜒))
6 2ralunsn.3 . . . . 5 (𝑥 = 𝐵 → (𝜓 ↔ 𝜃))
75, 6anbi12d 644 . . . 4 (𝑥 = 𝐵 → ((∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃)))
87ralunsn 4824 . . 3 (𝐵 ∈ 𝐶 → (∀𝑥 ∈ (𝐴 ∪ {𝐵})(∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ↔ (∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 𝜑 ∧ 𝜓) ∧ (∀𝑦 ∈ 𝐴 𝜒 ∧ 𝜃))))
9 r19.26 3122 . . . 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 1569   ∈ wcel 2144  ∀wral 3076   ∪ cun 4148  {csn 4584
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-v 3452  df-un 4150  df-sn 4585
This theorem is used by:  disjressuc2  39480
  Copyright terms: Public domain W3C validator