Metamath Proof Explorer


Theorem bj-cbveximd0

Description: A lemma for alpha-renaming of variables bound by an existential quantifier. In applications, x = y will be substituted for ps and ax6evr will prove Hypothesis bj-cbveximd0.denote. When ax6evr is not available but only its universal closure is, then bj-cbveximd or bj-cbveximdv should be used (see bj-cbveximdlem , bj-cbvex ). This theorem is a special case of bj-cbveximd (Hypotheses bj-cbveximd0.nf0 and bj-cbveximd0.denote imply Hypothesis bj-cbveximd.denote by sylg ), but its proof is more direct: existential generalization by bj-spime followed by existential elimination by bj-exlimd . (Contributed by BJ, 18-Nov-2026)

Ref Expression
Hypotheses bj-cbveximd0.nf0
|- ( ph -> A. x ph )
bj-cbveximd0.nf1
|- ( ph -> A. y ph )
bj-cbveximd0.nfch
|- ( ph -> ( ch -> A. y ch ) )
bj-cbveximd0.nfth
|- ( ph -> ( E. x th -> th ) )
bj-cbveximd0.denote
|- ( ph -> E. y ps )
bj-cbveximd0.maj
|- ( ( ph /\ ps ) -> ( ch -> th ) )
Assertion bj-cbveximd0
|- ( ph -> ( E. x ch -> E. y th ) )

Proof

Step Hyp Ref Expression
1 bj-cbveximd0.nf0
 |-  ( ph -> A. x ph )
2 bj-cbveximd0.nf1
 |-  ( ph -> A. y ph )
3 bj-cbveximd0.nfch
 |-  ( ph -> ( ch -> A. y ch ) )
4 bj-cbveximd0.nfth
 |-  ( ph -> ( E. x th -> th ) )
5 bj-cbveximd0.denote
 |-  ( ph -> E. y ps )
6 bj-cbveximd0.maj
 |-  ( ( ph /\ ps ) -> ( ch -> th ) )
7 excomim
 |-  ( E. x E. y th -> E. y E. x th )
8 2 4 eximdh
 |-  ( ph -> ( E. y E. x th -> E. y th ) )
9 7 8 syl5
 |-  ( ph -> ( E. x E. y th -> E. y th ) )
10 2 3 5 6 bj-spime
 |-  ( ph -> ( ch -> E. y th ) )
11 1 9 10 bj-exlimd
 |-  ( ph -> ( E. x ch -> E. y th ) )