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

Theorem reusv2lem4 5328
Description: Lemma for reusv2 5330. (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 3073 . 2 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
2 anass 469 . . . . . 6 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
3 rabid 3309 . . . . . . 7 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ (𝑦𝐵 ∧ (𝐶𝐴𝜑)))
43anbi1i 624 . . . . . 6 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶))
5 anass 469 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)))
6 eleq1 2828 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76anbi1d 630 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑥𝐴𝜑) ↔ (𝐶𝐴𝜑)))
87pm5.32ri 576 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
95, 8bitr3i 276 . . . . . . 7 ((𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
109anbi2i 623 . . . . . 6 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
112, 4, 103bitr4ri 304 . . . . 5 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶))
1211rexbii2 3178 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶)
13 r19.42v 3279 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
14 nfrab1 3316 . . . . 5 𝑦{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
15 nfcv 2909 . . . . 5 𝑧{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
16 nfv 1921 . . . . 5 𝑧 𝑥 = 𝐶
17 nfcsb1v 3862 . . . . . 6 𝑦𝑧 / 𝑦𝐶
1817nfeq2 2926 . . . . 5 𝑦 𝑥 = 𝑧 / 𝑦𝐶
19 csbeq1a 3851 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝑧 / 𝑦𝐶)
2019eqeq2d 2751 . . . . 5 (𝑦 = 𝑧 → (𝑥 = 𝐶𝑥 = 𝑧 / 𝑦𝐶))
2114, 15, 16, 18, 20cbvrexfw 3369 . . . 4 (∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶 ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2212, 13, 213bitr3i 301 . . 3 ((𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2322eubii 2587 . 2 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
24 elex 3449 . . . . . . . 8 (𝐶𝐴𝐶 ∈ V)
2524ad2antrl 725 . . . . . . 7 ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝐶 ∈ V)
263, 25sylbi 216 . . . . . 6 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝐶 ∈ V)
2726rgen 3076 . . . . 5 𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V
28 nfv 1921 . . . . . 6 𝑧 𝐶 ∈ V
2917nfel1 2925 . . . . . 6 𝑦𝑧 / 𝑦𝐶 ∈ V
3019eleq1d 2825 . . . . . 6 (𝑦 = 𝑧 → (𝐶 ∈ V ↔ 𝑧 / 𝑦𝐶 ∈ V))
3114, 15, 28, 29, 30cbvralfw 3367 . . . . 5 (∀𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V ↔ ∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V)
3227, 31mpbi 229 . . . 4 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V
33 reusv2lem3 5327 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V → (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶))
3432, 33ax-mp 5 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
35 df-ral 3071 . . . . 5 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
36 nfv 1921 . . . . . 6 𝑧(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶)
3714nfcri 2896 . . . . . . 7 𝑦 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}
3837, 18nfim 1903 . . . . . 6 𝑦(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)
39 eleq1 2828 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}))
4039, 20imbi12d 345 . . . . . 6 (𝑦 = 𝑧 → ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)))
4136, 38, 40cbvalv1 2342 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
423imbi1i 350 . . . . . . . 8 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶))
43 impexp 451 . . . . . . . 8 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4442, 43bitri 274 . . . . . . 7 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4544albii 1826 . . . . . 6 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
46 df-ral 3071 . . . . . 6 (∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4745, 46bitr4i 277 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4835, 41, 473bitr2i 299 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4948eubii 2587 . . 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 1540   = wceq 1542  wcel 2110  ∃!weu 2570  wral 3066  wrex 3067  ∃!wreu 3068  {crab 3070  Vcvv 3431  csb 3837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-nul 5234  ax-pow 5292
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-nul 4263
This theorem is referenced by:  reusv2lem5  5329
  Copyright terms: Public domain W3C validator