Metamath Proof Explorer


Theorem bj-ax12ig

Description: A lemma used to prove a weak form of the axiom of substitution. A generalization of bj-ax12i . (Contributed by BJ, 19-Dec-2020)

Ref Expression
Hypotheses bj-ax12ig.1
|- ( ph -> ( ps <-> ch ) )
bj-ax12ig.2
|- ( ph -> ( ch -> A. x ch ) )
Assertion bj-ax12ig
|- ( ph -> ( ps -> A. x ( ph -> ps ) ) )

Proof

Step Hyp Ref Expression
1 bj-ax12ig.1
 |-  ( ph -> ( ps <-> ch ) )
2 bj-ax12ig.2
 |-  ( ph -> ( ch -> A. x ch ) )
3 1 biimpd
 |-  ( ph -> ( ps -> ch ) )
4 3 2 syld
 |-  ( ph -> ( ps -> A. x ch ) )
5 1 biimprcd
 |-  ( ch -> ( ph -> ps ) )
6 5 alimi
 |-  ( A. x ch -> A. x ( ph -> ps ) )
7 4 6 syl6
 |-  ( ph -> ( ps -> A. x ( ph -> ps ) ) )