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

Theorem reusv2lem4 5193
 Description: Lemma for reusv2 5195. (Contributed by NM, 13-Dec-2012.)
Assertion
Ref Expression
reusv2lem4 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵   𝑥,𝐶   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦)   𝐵(𝑦)   𝐶(𝑦)

Proof of Theorem reusv2lem4
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-reu 3112 . 2 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
2 anass 469 . . . . . 6 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
3 rabid 3337 . . . . . . 7 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ (𝑦𝐵 ∧ (𝐶𝐴𝜑)))
43anbi1i 623 . . . . . 6 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶))
5 anass 469 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)))
6 eleq1 2870 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76anbi1d 629 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑥𝐴𝜑) ↔ (𝐶𝐴𝜑)))
87pm5.32ri 576 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
95, 8bitr3i 278 . . . . . . 7 ((𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
109anbi2i 622 . . . . . 6 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
112, 4, 103bitr4ri 305 . . . . 5 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶))
1211rexbii2 3209 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶)
13 r19.42v 3311 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
14 nfrab1 3344 . . . . 5 𝑦{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
15 nfcv 2949 . . . . 5 𝑧{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
16 nfv 1892 . . . . 5 𝑧 𝑥 = 𝐶
17 nfcsb1v 3833 . . . . . 6 𝑦𝑧 / 𝑦𝐶
1817nfeq2 2964 . . . . 5 𝑦 𝑥 = 𝑧 / 𝑦𝐶
19 csbeq1a 3824 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝑧 / 𝑦𝐶)
2019eqeq2d 2805 . . . . 5 (𝑦 = 𝑧 → (𝑥 = 𝐶𝑥 = 𝑧 / 𝑦𝐶))
2114, 15, 16, 18, 20cbvrexf 3398 . . . 4 (∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶 ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2212, 13, 213bitr3i 302 . . 3 ((𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2322eubii 2630 . 2 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
24 elex 3455 . . . . . . . 8 (𝐶𝐴𝐶 ∈ V)
2524ad2antrl 724 . . . . . . 7 ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝐶 ∈ V)
263, 25sylbi 218 . . . . . 6 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝐶 ∈ V)
2726rgen 3115 . . . . 5 𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V
28 nfv 1892 . . . . . 6 𝑧 𝐶 ∈ V
2917nfel1 2963 . . . . . 6 𝑦𝑧 / 𝑦𝐶 ∈ V
3019eleq1d 2867 . . . . . 6 (𝑦 = 𝑧 → (𝐶 ∈ V ↔ 𝑧 / 𝑦𝐶 ∈ V))
3114, 15, 28, 29, 30cbvralf 3397 . . . . 5 (∀𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V ↔ ∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V)
3227, 31mpbi 231 . . . 4 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V
33 reusv2lem3 5192 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V → (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶))
3432, 33ax-mp 5 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
35 df-ral 3110 . . . . 5 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
36 nfv 1892 . . . . . 6 𝑧(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶)
3714nfcri 2943 . . . . . . 7 𝑦 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}
3837, 18nfim 1878 . . . . . 6 𝑦(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)
39 eleq1 2870 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}))
4039, 20imbi12d 346 . . . . . 6 (𝑦 = 𝑧 → ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)))
4136, 38, 40cbvalv1 2320 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
423imbi1i 351 . . . . . . . 8 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶))
43 impexp 451 . . . . . . . 8 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4442, 43bitri 276 . . . . . . 7 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4544albii 1801 . . . . . 6 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
46 df-ral 3110 . . . . . 6 (∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4745, 46bitr4i 279 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4835, 41, 473bitr2i 300 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4948eubii 2630 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
5034, 49bitri 276 . 2 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
511, 23, 503bitri 298 1 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 207   ∧ wa 396  ∀wal 1520   = wceq 1522   ∈ wcel 2081  ∃!weu 2611  ∀wral 3105  ∃wrex 3106  ∃!wreu 3107  {crab 3109  Vcvv 3437  ⦋csb 3811 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1777  ax-4 1791  ax-5 1888  ax-6 1947  ax-7 1992  ax-8 2083  ax-9 2091  ax-10 2112  ax-11 2126  ax-12 2141  ax-13 2344  ax-ext 2769  ax-nul 5101  ax-pow 5157 This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-tru 1525  df-ex 1762  df-nf 1766  df-sb 2043  df-mo 2576  df-eu 2612  df-clab 2776  df-cleq 2788  df-clel 2863  df-nfc 2935  df-ne 2985  df-ral 3110  df-rex 3111  df-reu 3112  df-rab 3114  df-v 3439  df-sbc 3707  df-csb 3812  df-dif 3862  df-nul 4212 This theorem is referenced by:  reusv2lem5  5194
 Copyright terms: Public domain W3C validator