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

Theorem reusv2lem5 5364
Description: Lemma for reusv2 5365. (Contributed by NM, 4-Jan-2013.) (Proof shortened by Mario Carneiro, 19-Nov-2016.)
Assertion
Ref Expression
reusv2lem5 ((∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 ∧ 𝐵 ≠ ∅) → (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝑥 = 𝐶))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶
Allowed substitution hint:   𝐶(𝑦)

Proof of Theorem reusv2lem5
StepHypRef Expression
1 tru 1573 . . . . . . . . 9 ⊤
2 biimt 363 . . . . . . . . 9 ((𝐶 ∈ 𝐴 ∧ ⊤) → (𝑥 = 𝐶 ↔ ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
31, 2mpan2 704 . . . . . . . 8 (𝐶 ∈ 𝐴 → (𝑥 = 𝐶 ↔ ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
4 ibar 538 . . . . . . . 8 (𝐶 ∈ 𝐴 → (𝑥 = 𝐶 ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
53, 4bitr3d 284 . . . . . . 7 (𝐶 ∈ 𝐴 → (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
6 eleq1 2848 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 ∈ 𝐴 ↔ 𝐶 ∈ 𝐴))
76pm5.32ri 586 . . . . . . 7 ((𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶))
85, 7bitr4di 292 . . . . . 6 (𝐶 ∈ 𝐴 → (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
98ralimi 3099 . . . . 5 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → ∀𝑦 ∈ 𝐵 (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
10 ralbi 3117 . . . . 5 (∀𝑦 ∈ 𝐵 (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)) → (∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
119, 10syl 18 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
1211eubidv 2611 . . 3 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → (∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
13 r19.28zv 4461 . . . 4 (𝐵 ≠ ∅ → (∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
1413eubidv 2611 . . 3 (𝐵 ≠ ∅ → (∃!𝑥∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
1512, 14sylan9bb 519 . 2 ((∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 ∧ 𝐵 ≠ ∅) → (∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
161biantrur 540 . . . . 5 (𝑥 = 𝐶 ↔ (⊤ ∧ 𝑥 = 𝐶))
1716rexbii 3109 . . . 4 (∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶))
1817reubii 3374 . . 3 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶))
19 reusv2lem4 5363 . . 3 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶) ↔ ∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶))
2018, 19bitri 278 . 2 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶))
21 df-reu 3366 . 2 (∃!𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶))
2215, 20, 213bitr4g 317 1 ((∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 ∧ 𝐵 ≠ ∅) → (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝑥 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ⊤wtru 1570   ∈ wcel 2144  ∃!weu 2593   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ∃!wreu 3363  ∅c0 4277
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-nul 5259  ax-pow 5327
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-dif 4046  df-nul 4278
This theorem is used by:  reusv2  5365
  Copyright terms: Public domain W3C validator