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

Theorem reusv3 4802
Description: Two ways to express single-valuedness of a class expression 𝐶(𝑦). See reusv1 4792 for the connection to uniqueness. (Contributed by NM, 27-Dec-2012.)
Hypotheses
Ref Expression
reusv3.1 (𝑦 = 𝑧 → (𝜑𝜓))
reusv3.2 (𝑦 = 𝑧𝐶 = 𝐷)
Assertion
Ref Expression
reusv3 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝐶,𝑧   𝑥,𝐷,𝑦   𝜑,𝑥,𝑧   𝜓,𝑥,𝑦   𝑥,𝐴,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑧)   𝐶(𝑦)   𝐷(𝑧)

Proof of Theorem reusv3
StepHypRef Expression
1 reusv3.1 . . . . 5 (𝑦 = 𝑧 → (𝜑𝜓))
2 reusv3.2 . . . . . 6 (𝑦 = 𝑧𝐶 = 𝐷)
32eleq1d 2672 . . . . 5 (𝑦 = 𝑧 → (𝐶𝐴𝐷𝐴))
41, 3anbi12d 743 . . . 4 (𝑦 = 𝑧 → ((𝜑𝐶𝐴) ↔ (𝜓𝐷𝐴)))
54cbvrexv 3148 . . 3 (∃𝑦𝐵 (𝜑𝐶𝐴) ↔ ∃𝑧𝐵 (𝜓𝐷𝐴))
6 nfra2 2930 . . . . 5 𝑧𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)
7 nfv 1830 . . . . 5 𝑧𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)
86, 7nfim 1813 . . . 4 𝑧(∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))
9 risset 3044 . . . . . 6 (𝐷𝐴 ↔ ∃𝑥𝐴 𝑥 = 𝐷)
10 ralcom 3079 . . . . . . . . . . . . . 14 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷))
11 impexp 461 . . . . . . . . . . . . . . . . . 18 (((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜑 → (𝜓𝐶 = 𝐷)))
12 bi2.04 375 . . . . . . . . . . . . . . . . . 18 ((𝜑 → (𝜓𝐶 = 𝐷)) ↔ (𝜓 → (𝜑𝐶 = 𝐷)))
1311, 12bitri 263 . . . . . . . . . . . . . . . . 17 (((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → (𝜑𝐶 = 𝐷)))
1413ralbii 2963 . . . . . . . . . . . . . . . 16 (∀𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑦𝐵 (𝜓 → (𝜑𝐶 = 𝐷)))
15 r19.21v 2943 . . . . . . . . . . . . . . . 16 (∀𝑦𝐵 (𝜓 → (𝜑𝐶 = 𝐷)) ↔ (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1614, 15bitri 263 . . . . . . . . . . . . . . 15 (∀𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1716ralbii 2963 . . . . . . . . . . . . . 14 (∀𝑧𝐵𝑦𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
1810, 17bitri 263 . . . . . . . . . . . . 13 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
19 rsp 2913 . . . . . . . . . . . . 13 (∀𝑧𝐵 (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷)) → (𝑧𝐵 → (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2018, 19sylbi 206 . . . . . . . . . . . 12 (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → (𝑧𝐵 → (𝜓 → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2120com3l 87 . . . . . . . . . . 11 (𝑧𝐵 → (𝜓 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))))
2221imp31 447 . . . . . . . . . 10 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → ∀𝑦𝐵 (𝜑𝐶 = 𝐷))
23 eqeq1 2614 . . . . . . . . . . . . 13 (𝑥 = 𝐷 → (𝑥 = 𝐶𝐷 = 𝐶))
24 eqcom 2617 . . . . . . . . . . . . 13 (𝐷 = 𝐶𝐶 = 𝐷)
2523, 24syl6bb 275 . . . . . . . . . . . 12 (𝑥 = 𝐷 → (𝑥 = 𝐶𝐶 = 𝐷))
2625imbi2d 329 . . . . . . . . . . 11 (𝑥 = 𝐷 → ((𝜑𝑥 = 𝐶) ↔ (𝜑𝐶 = 𝐷)))
2726ralbidv 2969 . . . . . . . . . 10 (𝑥 = 𝐷 → (∀𝑦𝐵 (𝜑𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝜑𝐶 = 𝐷)))
2822, 27syl5ibrcom 236 . . . . . . . . 9 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → (𝑥 = 𝐷 → ∀𝑦𝐵 (𝜑𝑥 = 𝐶)))
2928reximdv 2999 . . . . . . . 8 (((𝑧𝐵𝜓) ∧ ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷)) → (∃𝑥𝐴 𝑥 = 𝐷 → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
3029ex 449 . . . . . . 7 ((𝑧𝐵𝜓) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → (∃𝑥𝐴 𝑥 = 𝐷 → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
3130com23 84 . . . . . 6 ((𝑧𝐵𝜓) → (∃𝑥𝐴 𝑥 = 𝐷 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
329, 31syl5bi 231 . . . . 5 ((𝑧𝐵𝜓) → (𝐷𝐴 → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
3332expimpd 627 . . . 4 (𝑧𝐵 → ((𝜓𝐷𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶))))
348, 33rexlimi 3006 . . 3 (∃𝑧𝐵 (𝜓𝐷𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
355, 34sylbi 206 . 2 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) → ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
361, 2reusv3i 4801 . 2 (∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶) → ∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷))
3735, 36impbid1 214 1 (∃𝑦𝐵 (𝜑𝐶𝐴) → (∀𝑦𝐵𝑧𝐵 ((𝜑𝜓) → 𝐶 = 𝐷) ↔ ∃𝑥𝐴𝑦𝐵 (𝜑𝑥 = 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-nul 3875
This theorem is referenced by:  cdleme25b  34660  cdleme29b  34681  cdlemk28-3  35214  dihlsscpre  35541  mapdh9a  36097  mapdh9aOLDN  36098
  Copyright terms: Public domain W3C validator