Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-axrep2 Structured version   Visualization version   GIF version

Theorem bj-axrep2 32789
Description: Remove dependency on ax-13 2246 from axrep2 4773. (Contributed by BJ, 31-May-2019.) (Proof modification is discouraged.)
Assertion
Ref Expression
bj-axrep2 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
Distinct variable group:   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem bj-axrep2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfe1 2027 . . . . 5 𝑤𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤)
2 nfv 1843 . . . . 5 𝑤𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))
31, 2nfim 1825 . . . 4 𝑤(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
43nfex 2154 . . 3 𝑤𝑥(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
5 elequ2 2004 . . . . . . . . 9 (𝑤 = 𝑦 → (𝑥𝑤𝑥𝑦))
65anbi1d 741 . . . . . . . 8 (𝑤 = 𝑦 → ((𝑥𝑤 ∧ ∀𝑦𝜑) ↔ (𝑥𝑦 ∧ ∀𝑦𝜑)))
76exbidv 1850 . . . . . . 7 (𝑤 = 𝑦 → (∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
87bibi2d 332 . . . . . 6 (𝑤 = 𝑦 → ((𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)) ↔ (𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))))
98albidv 1849 . . . . 5 (𝑤 = 𝑦 → (∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)) ↔ ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))))
109imbi2d 330 . . . 4 (𝑤 = 𝑦 → ((∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑))) ↔ (∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))))
1110exbidv 1850 . . 3 (𝑤 = 𝑦 → (∃𝑥(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑))) ↔ ∃𝑥(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))))
12 bj-axrep1 32788 . . 3 𝑥(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑤 ∧ ∀𝑦𝜑)))
134, 11, 12bj-chvarv 32725 . 2 𝑥(∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
14 sp 2053 . . . . . . 7 (∀𝑦𝜑𝜑)
1514imim1i 63 . . . . . 6 ((𝜑𝑧 = 𝑦) → (∀𝑦𝜑𝑧 = 𝑦))
1615alimi 1739 . . . . 5 (∀𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦𝜑𝑧 = 𝑦))
1716eximi 1762 . . . 4 (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦))
18 nfv 1843 . . . . 5 𝑤𝑧(∀𝑦𝜑𝑧 = 𝑦)
19 nfa1 2028 . . . . . . 7 𝑦𝑦𝜑
20 nfv 1843 . . . . . . 7 𝑦 𝑧 = 𝑤
2119, 20nfim 1825 . . . . . 6 𝑦(∀𝑦𝜑𝑧 = 𝑤)
2221nfal 2153 . . . . 5 𝑦𝑧(∀𝑦𝜑𝑧 = 𝑤)
23 equequ2 1953 . . . . . . 7 (𝑦 = 𝑤 → (𝑧 = 𝑦𝑧 = 𝑤))
2423imbi2d 330 . . . . . 6 (𝑦 = 𝑤 → ((∀𝑦𝜑𝑧 = 𝑦) ↔ (∀𝑦𝜑𝑧 = 𝑤)))
2524albidv 1849 . . . . 5 (𝑦 = 𝑤 → (∀𝑧(∀𝑦𝜑𝑧 = 𝑦) ↔ ∀𝑧(∀𝑦𝜑𝑧 = 𝑤)))
2618, 22, 25cbvexv1 2176 . . . 4 (∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) ↔ ∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤))
2717, 26sylib 208 . . 3 (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤))
2827imim1i 63 . 2 ((∃𝑤𝑧(∀𝑦𝜑𝑧 = 𝑤) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))) → (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))))
2913, 28eximii 1764 1 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  wal 1481  wex 1704
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-rep 4771
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710
This theorem is referenced by:  bj-axrep3  32790
  Copyright terms: Public domain W3C validator