Metamath Proof Explorer


Theorem opnneilem

Description: Lemma factoring out common proof steps of opnneil and opnneirv . (Contributed by Zhi Wang, 31-Aug-2024)

Ref Expression
Hypothesis opnneilem.1 φ x = y ψ χ
Assertion opnneilem φ x J S x ψ y J S y χ

Proof

Step Hyp Ref Expression
1 opnneilem.1 φ x = y ψ χ
2 sseq2 x = y S x S y
3 2 adantl φ x = y S x S y
4 3 1 anbi12d φ x = y S x ψ S y χ
5 4 cbvrexdva φ x J S x ψ y J S y χ