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

Theorem sbcg 3816
Description: Substitution for a variable not occurring in a wff does not affect it. Distinct variable form of sbcgf 3814. (Contributed by Alan Sare, 10-Nov-2012.) Reduce axiom usage. (Revised by GG, 12-Oct-2024.)
Assertion
Ref Expression
sbcg (𝐴 ∈ 𝑉 → ([𝐴 / 𝑥]𝜑 ↔ 𝜑))
Distinct variable group:   𝜑,𝑥
Allowed substitution hints:   𝐴(𝑥)   𝑉(𝑥)

Proof of Theorem sbcg
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-sbc 3745 . . 3 ([𝐴 / 𝑥]𝜑 ↔ 𝐴 ∈ {𝑥 ∣ 𝜑})
2 dfclel 2846 . . 3 (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ {𝑥 ∣ 𝜑}))
3 df-clab 2748 . . . . . 6 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
4 sbv 2131 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ 𝜑)
53, 4bitri 278 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑)
65anbi2i 635 . . . 4 ((𝑦 = 𝐴 ∧ 𝑦 ∈ {𝑥 ∣ 𝜑}) ↔ (𝑦 = 𝐴 ∧ 𝜑))
76exbii 1883 . . 3 (∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ {𝑥 ∣ 𝜑}) ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝜑))
81, 2, 73bitrri 301 . 2 (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) ↔ [𝐴 / 𝑥]𝜑)
9 dfclel 2846 . . . 4 (𝐴 ∈ 𝑉 ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉))
109biimpi 219 . . 3 (𝐴 ∈ 𝑉 → ∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉))
11 simpr 490 . . . . . 6 ((𝑦 = 𝐴 ∧ 𝜑) → 𝜑)
1211ax-gen 1830 . . . . 5 ∀𝑦((𝑦 = 𝐴 ∧ 𝜑) → 𝜑)
13 19.23v 1979 . . . . . 6 (∀𝑦((𝑦 = 𝐴 ∧ 𝜑) → 𝜑) ↔ (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) → 𝜑))
1413biimpi 219 . . . . 5 (∀𝑦((𝑦 = 𝐴 ∧ 𝜑) → 𝜑) → (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) → 𝜑))
1512, 14mp1i 14 . . . 4 (∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) → 𝜑))
16 2a1 29 . . . . . . . 8 (𝑦 = 𝐴 → (𝑦 ∈ 𝑉 → (𝜑 → 𝑦 = 𝐴)))
1716imp 412 . . . . . . 7 ((𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → (𝜑 → 𝑦 = 𝐴))
1817ancrd 561 . . . . . 6 ((𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → (𝜑 → (𝑦 = 𝐴 ∧ 𝜑)))
1918eximi 1870 . . . . 5 (∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → ∃𝑦(𝜑 → (𝑦 = 𝐴 ∧ 𝜑)))
20 19.37imv 1984 . . . . 5 (∃𝑦(𝜑 → (𝑦 = 𝐴 ∧ 𝜑)) → (𝜑 → ∃𝑦(𝑦 = 𝐴 ∧ 𝜑)))
2119, 20syl 18 . . . 4 (∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → (𝜑 → ∃𝑦(𝑦 = 𝐴 ∧ 𝜑)))
2215, 21impbid 215 . . 3 (∃𝑦(𝑦 = 𝐴 ∧ 𝑦 ∈ 𝑉) → (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) ↔ 𝜑))
2310, 22syl 18 . 2 (𝐴 ∈ 𝑉 → (∃𝑦(𝑦 = 𝐴 ∧ 𝜑) ↔ 𝜑))
248, 23bitr3id 288 1 (𝐴 ∈ 𝑉 → ([𝐴 / 𝑥]𝜑 ↔ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814  [wsb 2104   ∈ wcel 2151  {cab 2747  [wsbc 3744
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1815  df-sb 2105  df-clab 2748  df-clel 2845  df-sbc 3745
This theorem is used by:  sbcfal  3818  sbcabel  3831  csbconstg  3872  2nreu  4407  csbuni  4906  csbxp  5763  sbcfungOLD  6596  fmptsnd  7209  f1od2  8149  csbfrecsg  8344  opsbc2ie  33184  bnj89  35474  bnj525  35491  bnj1128  35742  csbrdgg  38540  csboprabg  38541  mptsnunlem  38549  topdifinffinlem  38558  relowlpssretop  38575  rdgeqoa  38581  csbfinxpg  38599  gm-sbtru  39324  sbfal  39325  cdlemk40  42260  cdlemkid3N  42276  cdlemkid4  42277  frege70  45271  frege77  45278  frege116  45317  frege118  45319  trsbc  45860  trsbcVD  46196  csbxpgVD  46213  csbunigVD  46217
  Copyright terms: Public domain W3C validator