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

Theorem reusv2lem4 5319
Description: Lemma for reusv2 5321. (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 3070 . 2 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
2 anass 468 . . . . . 6 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
3 rabid 3304 . . . . . . 7 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ (𝑦𝐵 ∧ (𝐶𝐴𝜑)))
43anbi1i 623 . . . . . 6 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) ∧ 𝑥 = 𝐶))
5 anass 468 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)))
6 eleq1 2826 . . . . . . . . . 10 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76anbi1d 629 . . . . . . . . 9 (𝑥 = 𝐶 → ((𝑥𝐴𝜑) ↔ (𝐶𝐴𝜑)))
87pm5.32ri 575 . . . . . . . 8 (((𝑥𝐴𝜑) ∧ 𝑥 = 𝐶) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
95, 8bitr3i 276 . . . . . . 7 ((𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶))
109anbi2i 622 . . . . . 6 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦𝐵 ∧ ((𝐶𝐴𝜑) ∧ 𝑥 = 𝐶)))
112, 4, 103bitr4ri 303 . . . . 5 ((𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶))) ↔ (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ∧ 𝑥 = 𝐶))
1211rexbii2 3175 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ ∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶)
13 r19.42v 3276 . . . 4 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝜑𝑥 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)))
14 nfrab1 3310 . . . . 5 𝑦{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
15 nfcv 2906 . . . . 5 𝑧{𝑦𝐵 ∣ (𝐶𝐴𝜑)}
16 nfv 1918 . . . . 5 𝑧 𝑥 = 𝐶
17 nfcsb1v 3853 . . . . . 6 𝑦𝑧 / 𝑦𝐶
1817nfeq2 2923 . . . . 5 𝑦 𝑥 = 𝑧 / 𝑦𝐶
19 csbeq1a 3842 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝑧 / 𝑦𝐶)
2019eqeq2d 2749 . . . . 5 (𝑦 = 𝑧 → (𝑥 = 𝐶𝑥 = 𝑧 / 𝑦𝐶))
2114, 15, 16, 18, 20cbvrexfw 3360 . . . 4 (∃𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝐶 ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2212, 13, 213bitr3i 300 . . 3 ((𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
2322eubii 2585 . 2 (∃!𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝜑𝑥 = 𝐶)) ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
24 elex 3440 . . . . . . . 8 (𝐶𝐴𝐶 ∈ V)
2524ad2antrl 724 . . . . . . 7 ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝐶 ∈ V)
263, 25sylbi 216 . . . . . 6 (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝐶 ∈ V)
2726rgen 3073 . . . . 5 𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V
28 nfv 1918 . . . . . 6 𝑧 𝐶 ∈ V
2917nfel1 2922 . . . . . 6 𝑦𝑧 / 𝑦𝐶 ∈ V
3019eleq1d 2823 . . . . . 6 (𝑦 = 𝑧 → (𝐶 ∈ V ↔ 𝑧 / 𝑦𝐶 ∈ V))
3114, 15, 28, 29, 30cbvralfw 3358 . . . . 5 (∀𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝐶 ∈ V ↔ ∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V)
3227, 31mpbi 229 . . . 4 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V
33 reusv2lem3 5318 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑧 / 𝑦𝐶 ∈ V → (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶))
3432, 33ax-mp 5 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶)
35 df-ral 3068 . . . . 5 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
36 nfv 1918 . . . . . 6 𝑧(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶)
3714nfcri 2893 . . . . . . 7 𝑦 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}
3837, 18nfim 1900 . . . . . 6 𝑦(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)
39 eleq1 2826 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} ↔ 𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}))
4039, 20imbi12d 344 . . . . . 6 (𝑦 = 𝑧 → ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶)))
4136, 38, 40cbvalv1 2340 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑧(𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝑧 / 𝑦𝐶))
423imbi1i 349 . . . . . . . 8 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶))
43 impexp 450 . . . . . . . 8 (((𝑦𝐵 ∧ (𝐶𝐴𝜑)) → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4442, 43bitri 274 . . . . . . 7 ((𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ (𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4544albii 1823 . . . . . 6 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
46 df-ral 3068 . . . . . 6 (∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶) ↔ ∀𝑦(𝑦𝐵 → ((𝐶𝐴𝜑) → 𝑥 = 𝐶)))
4745, 46bitr4i 277 . . . . 5 (∀𝑦(𝑦 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)} → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4835, 41, 473bitr2i 298 . . . 4 (∀𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∀𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
4948eubii 2585 . . 3 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
5034, 49bitri 274 . 2 (∃!𝑥𝑧 ∈ {𝑦𝐵 ∣ (𝐶𝐴𝜑)}𝑥 = 𝑧 / 𝑦𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
511, 23, 503bitri 296 1 (∃!𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴𝜑) → 𝑥 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  ∃!weu 2568  wral 3063  wrex 3064  ∃!wreu 3065  {crab 3067  Vcvv 3422  csb 3828
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225  ax-pow 5283
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-nul 4254
This theorem is referenced by:  reusv2lem5  5320
  Copyright terms: Public domain W3C validator