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

Theorem reusv2lem5 5379
Description: Lemma for reusv2 5380. (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 1576 . . . . . . . . 9 ⊤
2 biimt 363 . . . . . . . . 9 ((𝐶 ∈ 𝐴 ∧ ⊤) → (𝑥 = 𝐶 ↔ ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
31, 2mpan2 704 . . . . . . . 8 (𝐶 ∈ 𝐴 → (𝑥 = 𝐶 ↔ ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
4 ibar 538 . . . . . . . 8 (𝐶 ∈ 𝐴 → (𝑥 = 𝐶 ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
53, 4bitr3d 284 . . . . . . 7 (𝐶 ∈ 𝐴 → (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
6 eleq1 2863 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 ∈ 𝐴 ↔ 𝐶 ∈ 𝐴))
76pm5.32ri 586 . . . . . . 7 ((𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ (𝐶 ∈ 𝐴 ∧ 𝑥 = 𝐶))
85, 7bitr4di 292 . . . . . 6 (𝐶 ∈ 𝐴 → (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
98ralimi 3114 . . . . 5 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → ∀𝑦 ∈ 𝐵 (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
10 ralbi 3132 . . . . 5 (∀𝑦 ∈ 𝐵 (((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)) → (∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
119, 10syl 18 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
1211eubidv 2625 . . 3 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 → (∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶)))
13 r19.28zv 4472 . . . 4 (𝐵 ≠ ∅ → (∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
1413eubidv 2625 . . 3 (𝐵 ≠ ∅ → (∃!𝑥∀𝑦 ∈ 𝐵 (𝑥 ∈ 𝐴 ∧ 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
1512, 14sylan9bb 519 . 2 ((∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐴 ∧ 𝐵 ≠ ∅) → (∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 𝑥 = 𝐶)))
161biantrur 540 . . . . 5 (𝑥 = 𝐶 ↔ (⊤ ∧ 𝑥 = 𝐶))
1716rexbii 3124 . . . 4 (∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶))
1817reubii 3385 . . 3 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶))
19 reusv2lem4 5378 . . 3 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (⊤ ∧ 𝑥 = 𝐶) ↔ ∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶))
2018, 19bitri 278 . 2 (∃!𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑥 = 𝐶 ↔ ∃!𝑥∀𝑦 ∈ 𝐵 ((𝐶 ∈ 𝐴 ∧ ⊤) → 𝑥 = 𝐶))
21 df-reu 3377 . 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 1572  ⊤wtru 1573   ∈ wcel 2156  ∃!weu 2605   ≠ wne 2970  ∀wral 3091  ∃wrex 3101  ∃!wreu 3374  ∅c0 4288
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-nul 5274  ax-pow 5342
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-dif 4057  df-nul 4289
This theorem is used by:  reusv2  5380
  Copyright terms: Public domain W3C validator