Metamath Proof Explorer


Theorem bj-subst

Description: Equivalent form of the axiom of substitution bj-ax12 . Although both sides need a DV condition on x , t (or as in bj-ax12v3 on t , ph ) to hold, their equivalence holds without DV conditions. The forward implication is proved in modal (K4) while the reverse implication is proved in modal (T5). The LHS has the advantage of not involving nested quantifiers on the same variable. Its metaweakening is proved from the core axiom schemes in bj-substw . Note that in the LHS, the reverse implication holds by equs4 (or equs4v if a DV condition is added on x , t as in bj-ax12 ).

The LHS can be read as saying that if there exists a setvar equal to a given term witnessing ph , then all setvars equal to that term also witness ph . An equivalent suggestive form for the LHS is -. ( E. x ( x = t /\ ph ) /\ E. x ( x = t /\ -. ph ) ) , which expresses that there can be no two variables both equal to a given term, one witnessing ph and the other witnessing -. ph . (Contributed by BJ, 21-May-2024) (Proof modification is discouraged.)

Ref Expression
Assertion bj-subst x x = t φ x x = t φ x x = t φ x x = t φ

Proof

Step Hyp Ref Expression
1 bj-modal4 x x = t φ x x x = t φ
2 1 imim2i x x = t φ x x = t φ x x = t φ x x x = t φ
3 19.38 x x = t φ x x x = t φ x x = t φ x x = t φ
4 2 3 syl x x = t φ x x = t φ x x = t φ x x = t φ
5 hbe1a x x x = t φ x x = t φ
6 5 1 syl x x x = t φ x x x = t φ
7 bj-exlimg x x x = t φ x x x = t φ x x = t φ x x = t φ x x = t φ x x x = t φ
8 6 7 ax-mp x x = t φ x x = t φ x x = t φ x x x = t φ
9 sp x x x = t φ x x = t φ
10 9 imim2i x x = t φ x x x = t φ x x = t φ x x = t φ
11 8 10 syl x x = t φ x x = t φ x x = t φ x x = t φ
12 4 11 impbii x x = t φ x x = t φ x x = t φ x x = t φ
13 impexp x = t φ x x = t φ x = t φ x x = t φ
14 13 albii x x = t φ x x = t φ x x = t φ x x = t φ
15 12 14 bitri x x = t φ x x = t φ x x = t φ x x = t φ