ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  reusv3 GIF version

Theorem reusv3 4606
Description: Two ways to express single-valuedness of a class expression 𝐶(𝑦). See reusv1 4604 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 2307 . . . . 5 (𝑦 = 𝑧 → (𝐶 ∈ 𝐴 ↔ 𝐷 ∈ 𝐴))
41, 3anbi12d 477 . . . 4 (𝑦 = 𝑧 → ((𝜑 ∧ 𝐶 ∈ 𝐴) ↔ (𝜓 ∧ 𝐷 ∈ 𝐴)))
54cbvrexv 2787 . . 3 (∃𝑦 ∈ 𝐵 (𝜑 ∧ 𝐶 ∈ 𝐴) ↔ ∃𝑧 ∈ 𝐵 (𝜓 ∧ 𝐷 ∈ 𝐴))
6 nfra2xy 2592 . . . . 5 Ⅎ𝑧∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷)
7 nfv 1581 . . . . 5 Ⅎ𝑧∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)
86, 7nfim 1625 . . . 4 Ⅎ𝑧(∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶))
9 risset 2578 . . . . . 6 (𝐷 ∈ 𝐴 ↔ ∃𝑥 ∈ 𝐴 𝑥 = 𝐷)
10 ralcom 2714 . . . . . . . . . . . . . 14 (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷))
11 impexp 263 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ (𝜑 → (𝜓 → 𝐶 = 𝐷)))
12 bi2.04 248 . . . . . . . . . . . . . . . . . 18 ((𝜑 → (𝜓 → 𝐶 = 𝐷)) ↔ (𝜓 → (𝜑 → 𝐶 = 𝐷)))
1311, 12bitri 184 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → (𝜑 → 𝐶 = 𝐷)))
1413ralbii 2556 . . . . . . . . . . . . . . . 16 (∀𝑦 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ ∀𝑦 ∈ 𝐵 (𝜓 → (𝜑 → 𝐶 = 𝐷)))
15 r19.21v 2627 . . . . . . . . . . . . . . . 16 (∀𝑦 ∈ 𝐵 (𝜓 → (𝜑 → 𝐶 = 𝐷)) ↔ (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)))
1614, 15bitri 184 . . . . . . . . . . . . . . 15 (∀𝑦 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)))
1716ralbii 2556 . . . . . . . . . . . . . 14 (∀𝑧 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧 ∈ 𝐵 (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)))
1810, 17bitri 184 . . . . . . . . . . . . 13 (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ ∀𝑧 ∈ 𝐵 (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)))
19 rsp 2597 . . . . . . . . . . . . 13 (∀𝑧 ∈ 𝐵 (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)) → (𝑧 ∈ 𝐵 → (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷))))
2018, 19sylbi 121 . . . . . . . . . . . 12 (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → (𝑧 ∈ 𝐵 → (𝜓 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷))))
2120com3l 81 . . . . . . . . . . 11 (𝑧 ∈ 𝐵 → (𝜓 → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷))))
2221imp31 256 . . . . . . . . . 10 (((𝑧 ∈ 𝐵 ∧ 𝜓) ∧ ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷)) → ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷))
23 eqeq1 2245 . . . . . . . . . . . . 13 (𝑥 = 𝐷 → (𝑥 = 𝐶 ↔ 𝐷 = 𝐶))
24 eqcom 2240 . . . . . . . . . . . . 13 (𝐷 = 𝐶 ↔ 𝐶 = 𝐷)
2523, 24bitrdi 196 . . . . . . . . . . . 12 (𝑥 = 𝐷 → (𝑥 = 𝐶 ↔ 𝐶 = 𝐷))
2625imbi2d 230 . . . . . . . . . . 11 (𝑥 = 𝐷 → ((𝜑 → 𝑥 = 𝐶) ↔ (𝜑 → 𝐶 = 𝐷)))
2726ralbidv 2550 . . . . . . . . . 10 (𝑥 = 𝐷 → (∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶) ↔ ∀𝑦 ∈ 𝐵 (𝜑 → 𝐶 = 𝐷)))
2822, 27syl5ibrcom 157 . . . . . . . . 9 (((𝑧 ∈ 𝐵 ∧ 𝜓) ∧ ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷)) → (𝑥 = 𝐷 → ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)))
2928reximdv 2651 . . . . . . . 8 (((𝑧 ∈ 𝐵 ∧ 𝜓) ∧ ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷)) → (∃𝑥 ∈ 𝐴 𝑥 = 𝐷 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)))
3029ex 115 . . . . . . 7 ((𝑧 ∈ 𝐵 ∧ 𝜓) → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → (∃𝑥 ∈ 𝐴 𝑥 = 𝐷 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶))))
3130com23 78 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝜓) → (∃𝑥 ∈ 𝐴 𝑥 = 𝐷 → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶))))
329, 31biimtrid 152 . . . . 5 ((𝑧 ∈ 𝐵 ∧ 𝜓) → (𝐷 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶))))
3332expimpd 363 . . . 4 (𝑧 ∈ 𝐵 → ((𝜓 ∧ 𝐷 ∈ 𝐴) → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶))))
348, 33rexlimi 2661 . . 3 (∃𝑧 ∈ 𝐵 (𝜓 ∧ 𝐷 ∈ 𝐴) → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)))
355, 34sylbi 121 . 2 (∃𝑦 ∈ 𝐵 (𝜑 ∧ 𝐶 ∈ 𝐴) → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)))
361, 2reusv3i 4605 . 2 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶) → ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷))
3735, 36impbid1 142 1 (∃𝑦 ∈ 𝐵 (𝜑 ∧ 𝐶 ∈ 𝐴) → (∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐵 ((𝜑 ∧ 𝜓) → 𝐶 = 𝐷) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 (𝜑 → 𝑥 = 𝐶)))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-tru 1405  df-nf 1514  df-sb 1816  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator