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

Theorem reusv2lem4 5324
Description: Lemma for reusv2 5326. (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 3072 . 2 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
2 anass 469 . . . . . 6 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
3 rabid 3310 . . . . . . 7 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ (𝑦𝐵 ∧ (𝐶𝐴𝜑)))
43anbi1i 624 . . . . . 6 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶))
5 anass 469 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)))
6 eleq1 2826 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76anbi1d 630 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑥𝐴𝜑) ↔ (𝐶𝐴𝜑)))
87pm5.32ri 576 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
95, 8bitr3i 276 . . . . . . 7 ((𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
109anbi2i 623 . . . . . 6 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
112, 4, 103bitr4ri 304 . . . . 5 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶))
1211rexbii2 3179 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶)
13 r19.42v 3279 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
14 nfrab1 3317 . . . . 5 𝑦{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
15 nfcv 2907 . . . . 5 𝑧{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
16 nfv 1917 . . . . 5 𝑧 𝑥 = 𝐶
17 nfcsb1v 3857 . . . . . 6 𝑦𝑧 / 𝑦𝐶
1817nfeq2 2924 . . . . 5 𝑦 𝑥 = 𝑧 / 𝑦𝐶
19 csbeq1a 3846 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝑧 / 𝑦𝐶)
2019eqeq2d 2749 . . . . 5 (𝑦 = 𝑧 → (𝑥 = 𝐶𝑥 = 𝑧 / 𝑦𝐶))
2114, 15, 16, 18, 20cbvrexfw 3370 . . . 4 (∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶 ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2212, 13, 213bitr3i 301 . . 3 ((𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2322eubii 2585 . 2 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
24 elex 3450 . . . . . . . 8 (𝐶𝐴𝐶 ∈ V)
2524ad2antrl 725 . . . . . . 7 ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝐶 ∈ V)
263, 25sylbi 216 . . . . . 6 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝐶 ∈ V)
2726rgen 3074 . . . . 5 𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V
28 nfv 1917 . . . . . 6 𝑧 𝐶 ∈ V
2917nfel1 2923 . . . . . 6 𝑦𝑧 / 𝑦𝐶 ∈ V
3019eleq1d 2823 . . . . . 6 (𝑦 = 𝑧 → (𝐶 ∈ V ↔ 𝑧 / 𝑦𝐶 ∈ V))
3114, 15, 28, 29, 30cbvralfw 3368 . . . . 5 (∀𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V ↔ ∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V)
3227, 31mpbi 229 . . . 4 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V
33 reusv2lem3 5323 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V → (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶))
3432, 33ax-mp 5 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
35 df-ral 3069 . . . . 5 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
36 nfv 1917 . . . . . 6 𝑧(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶)
3714nfcri 2894 . . . . . . 7 𝑦 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}
3837, 18nfim 1899 . . . . . 6 𝑦(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)
39 eleq1 2826 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}))
4039, 20imbi12d 345 . . . . . 6 (𝑦 = 𝑧 → ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)))
4136, 38, 40cbvalv1 2338 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
423imbi1i 350 . . . . . . . 8 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶))
43 impexp 451 . . . . . . . 8 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4442, 43bitri 274 . . . . . . 7 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4544albii 1822 . . . . . 6 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
46 df-ral 3069 . . . . . 6 (∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4745, 46bitr4i 277 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4835, 41, 473bitr2i 299 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4948eubii 2585 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
5034, 49bitri 274 . 2 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
511, 23, 503bitri 297 1 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  ∃!weu 2568  wral 3064  wrex 3065  ∃!wreu 3066  {crab 3068  Vcvv 3432  csb 3832
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230  ax-pow 5288
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-nul 4257
This theorem is referenced by:  reusv2lem5  5325
  Copyright terms: Public domain W3C validator