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

Theorem cbvexdh 1914
Description: Deduction used to change bound variables, using implicit substitition, particularly useful in conjunction with dvelim 2005. (Contributed by NM, 2-Jan-2002.) (Proof rewritten by Jim Kingdon, 30-Dec-2017.)
Hypotheses
Ref Expression
cbvexdh.1 (𝜑 → ∀𝑦𝜑)
cbvexdh.2 (𝜑 → (𝜓 → ∀𝑦𝜓))
cbvexdh.3 (𝜑 → (𝑥 = 𝑦 → (𝜓𝜒)))
Assertion
Ref Expression
cbvexdh (𝜑 → (∃𝑥𝜓 ↔ ∃𝑦𝜒))
Distinct variable groups:   𝜑,𝑥   𝜒,𝑥
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑥,𝑦)   𝜒(𝑦)

Proof of Theorem cbvexdh
StepHypRef Expression
1 ax-17 1514 . . 3 (𝜑 → ∀𝑥𝜑)
2 ax-17 1514 . . . 4 (𝜒 → ∀𝑥𝜒)
32hbex 1624 . . 3 (∃𝑦𝜒 → ∀𝑥𝑦𝜒)
4 cbvexdh.1 . . . . 5 (𝜑 → ∀𝑦𝜑)
5 cbvexdh.2 . . . . 5 (𝜑 → (𝜓 → ∀𝑦𝜓))
6 cbvexdh.3 . . . . . 6 (𝜑 → (𝑥 = 𝑦 → (𝜓𝜒)))
7 equcomi 1692 . . . . . . 7 (𝑦 = 𝑥𝑥 = 𝑦)
8 bicom1 130 . . . . . . 7 ((𝜓𝜒) → (𝜒𝜓))
97, 8imim12i 59 . . . . . 6 ((𝑥 = 𝑦 → (𝜓𝜒)) → (𝑦 = 𝑥 → (𝜒𝜓)))
106, 9syl 14 . . . . 5 (𝜑 → (𝑦 = 𝑥 → (𝜒𝜓)))
114, 5, 10equsexd 1717 . . . 4 (𝜑 → (∃𝑦(𝑦 = 𝑥𝜒) ↔ 𝜓))
12 simpr 109 . . . . 5 ((𝑦 = 𝑥𝜒) → 𝜒)
1312eximi 1588 . . . 4 (∃𝑦(𝑦 = 𝑥𝜒) → ∃𝑦𝜒)
1411, 13syl6bir 163 . . 3 (𝜑 → (𝜓 → ∃𝑦𝜒))
151, 3, 14exlimdh 1584 . 2 (𝜑 → (∃𝑥𝜓 → ∃𝑦𝜒))
161, 5eximdh 1599 . . . 4 (𝜑 → (∃𝑥𝜓 → ∃𝑥𝑦𝜓))
17 19.12 1653 . . . 4 (∃𝑥𝑦𝜓 → ∀𝑦𝑥𝜓)
1816, 17syl6 33 . . 3 (𝜑 → (∃𝑥𝜓 → ∀𝑦𝑥𝜓))
192a1i 9 . . . . 5 (𝜑 → (𝜒 → ∀𝑥𝜒))
201, 19, 6equsexd 1717 . . . 4 (𝜑 → (∃𝑥(𝑥 = 𝑦𝜓) ↔ 𝜒))
21 simpr 109 . . . . 5 ((𝑥 = 𝑦𝜓) → 𝜓)
2221eximi 1588 . . . 4 (∃𝑥(𝑥 = 𝑦𝜓) → ∃𝑥𝜓)
2320, 22syl6bir 163 . . 3 (𝜑 → (𝜒 → ∃𝑥𝜓))
244, 18, 23exlimd2 1583 . 2 (𝜑 → (∃𝑦𝜒 → ∃𝑥𝜓))
2515, 24impbid 128 1 (𝜑 → (∃𝑥𝜓 ↔ ∃𝑦𝜒))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341   = wceq 1343  wex 1480
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522
This theorem depends on definitions:  df-bi 116
This theorem is referenced by:  cbvexd  1915
  Copyright terms: Public domain W3C validator