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

Theorem ceqex 2807
Description: Equality implies equivalence with substitution. (Contributed by NM, 2-Mar-1995.)
Assertion
Ref Expression
ceqex (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem ceqex
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 19.8a 1569 . . 3 (𝑥 = 𝐴 → ∃𝑥 𝑥 = 𝐴)
2 isset 2687 . . 3 (𝐴 ∈ V ↔ ∃𝑥 𝑥 = 𝐴)
31, 2sylibr 133 . 2 (𝑥 = 𝐴𝐴 ∈ V)
4 eqeq2 2147 . . . 4 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
54anbi1d 460 . . . . . 6 (𝑦 = 𝐴 → ((𝑥 = 𝑦𝜑) ↔ (𝑥 = 𝐴𝜑)))
65exbidv 1797 . . . . 5 (𝑦 = 𝐴 → (∃𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
76bibi2d 231 . . . 4 (𝑦 = 𝐴 → ((𝜑 ↔ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (𝜑 ↔ ∃𝑥(𝑥 = 𝐴𝜑))))
84, 7imbi12d 233 . . 3 (𝑦 = 𝐴 → ((𝑥 = 𝑦 → (𝜑 ↔ ∃𝑥(𝑥 = 𝑦𝜑))) ↔ (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴𝜑)))))
9 19.8a 1569 . . . . 5 ((𝑥 = 𝑦𝜑) → ∃𝑥(𝑥 = 𝑦𝜑))
109ex 114 . . . 4 (𝑥 = 𝑦 → (𝜑 → ∃𝑥(𝑥 = 𝑦𝜑)))
11 vex 2684 . . . . . 6 𝑦 ∈ V
1211alexeq 2806 . . . . 5 (∀𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥(𝑥 = 𝑦𝜑))
13 sp 1488 . . . . . 6 (∀𝑥(𝑥 = 𝑦𝜑) → (𝑥 = 𝑦𝜑))
1413com12 30 . . . . 5 (𝑥 = 𝑦 → (∀𝑥(𝑥 = 𝑦𝜑) → 𝜑))
1512, 14syl5bir 152 . . . 4 (𝑥 = 𝑦 → (∃𝑥(𝑥 = 𝑦𝜑) → 𝜑))
1610, 15impbid 128 . . 3 (𝑥 = 𝑦 → (𝜑 ↔ ∃𝑥(𝑥 = 𝑦𝜑)))
178, 16vtoclg 2741 . 2 (𝐴 ∈ V → (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴𝜑))))
183, 17mpcom 36 1 (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1329   = wceq 1331  wex 1468  wcel 1480  Vcvv 2681
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-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-v 2683
This theorem is referenced by:  ceqsexg  2808  sbc6g  2928
  Copyright terms: Public domain W3C validator