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

Theorem bj-elabd2ALT 35113
Description: Alternate proof of elabd2 3601 bypassing elab6g 3600 (and using sbiedvw 2096 instead of the 𝑥(𝑥 = 𝑦𝜓) idiom). (Contributed by BJ, 16-Oct-2024.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
bj-elabd2ALT.ex (𝜑𝐴𝑉)
bj-elabd2ALT.eq (𝜑𝐵 = {𝑥𝜓})
bj-elabd2ALT.is ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
bj-elabd2ALT (𝜑 → (𝐴𝐵𝜒))
Distinct variable groups:   𝜑,𝑥   𝜒,𝑥   𝑥,𝐴
Allowed substitution hints:   𝜓(𝑥)   𝐵(𝑥)   𝑉(𝑥)

Proof of Theorem bj-elabd2ALT
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 bj-elabd2ALT.ex . 2 (𝜑𝐴𝑉)
2 simpr 485 . . . 4 ((𝜑𝑦 = 𝐴) → 𝑦 = 𝐴)
3 bj-elabd2ALT.eq . . . . . 6 (𝜑𝐵 = {𝑥𝜓})
43eqcomd 2744 . . . . 5 (𝜑 → {𝑥𝜓} = 𝐵)
54adantr 481 . . . 4 ((𝜑𝑦 = 𝐴) → {𝑥𝜓} = 𝐵)
62, 5eleq12d 2833 . . 3 ((𝜑𝑦 = 𝐴) → (𝑦 ∈ {𝑥𝜓} ↔ 𝐴𝐵))
7 eqeq1 2742 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝐴𝑦 = 𝐴))
87biimparc 480 . . . . . . 7 ((𝑦 = 𝐴𝑥 = 𝑦) → 𝑥 = 𝐴)
98anim2i 617 . . . . . 6 ((𝜑 ∧ (𝑦 = 𝐴𝑥 = 𝑦)) → (𝜑𝑥 = 𝐴))
109anassrs 468 . . . . 5 (((𝜑𝑦 = 𝐴) ∧ 𝑥 = 𝑦) → (𝜑𝑥 = 𝐴))
11 bj-elabd2ALT.is . . . . 5 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
1210, 11syl 17 . . . 4 (((𝜑𝑦 = 𝐴) ∧ 𝑥 = 𝑦) → (𝜓𝜒))
1312sbiedvw 2096 . . 3 ((𝜑𝑦 = 𝐴) → ([𝑦 / 𝑥]𝜓𝜒))
146, 13bibi12d 346 . 2 ((𝜑𝑦 = 𝐴) → ((𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓) ↔ (𝐴𝐵𝜒)))
15 df-clab 2716 . . 3 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
1615a1i 11 . 2 (𝜑 → (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓))
171, 14, 16vtocld 3494 1 (𝜑 → (𝐴𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  [wsb 2067  wcel 2106  {cab 2715
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator