Metamath Proof Explorer


Theorem relexpind

Description: Principle of transitive induction, finite version. The first three hypotheses give various existences, the next four give necessary substitutions and the last two are the basis and the induction hypothesis. (Contributed by Drahflow, 12-Nov-2015) (Revised by RP, 30-May-2020) (Revised by AV, 13-Jul-2024)

Ref Expression
Hypotheses relexpind.1 η Rel R
relexpind.2 η S V
relexpind.3 η X W
relexpind.4 i = S φ χ
relexpind.5 i = x φ ψ
relexpind.6 i = j φ θ
relexpind.7 x = X ψ τ
relexpind.8 η χ
relexpind.9 η j R x θ ψ
Assertion relexpind η n 0 S R r n X τ

Proof

Step Hyp Ref Expression
1 relexpind.1 η Rel R
2 relexpind.2 η S V
3 relexpind.3 η X W
4 relexpind.4 i = S φ χ
5 relexpind.5 i = x φ ψ
6 relexpind.6 i = j φ θ
7 relexpind.7 x = X ψ τ
8 relexpind.8 η χ
9 relexpind.9 η j R x θ ψ
10 breq2 x = X S R r n x S R r n X
11 10 imbi1d x = X S R r n x τ S R r n X τ
12 11 imbi2d x = X n 0 S R r n x τ n 0 S R r n X τ
13 12 imbi2d x = X η n 0 S R r n x τ η n 0 S R r n X τ
14 imbi2 ψ τ S R r n x ψ S R r n x τ
15 14 imbi2d ψ τ n 0 S R r n x ψ n 0 S R r n x τ
16 15 imbi2d ψ τ η n 0 S R r n x ψ η n 0 S R r n x τ
17 16 bibi1d ψ τ η n 0 S R r n x ψ η n 0 S R r n X τ η n 0 S R r n x τ η n 0 S R r n X τ
18 13 17 syl5ibr ψ τ x = X η n 0 S R r n x ψ η n 0 S R r n X τ
19 7 18 mpcom x = X η n 0 S R r n x ψ η n 0 S R r n X τ
20 1 2 4 5 6 8 9 relexpindlem η n 0 S R r n x ψ
21 19 20 vtoclg X W η n 0 S R r n X τ
22 3 21 mpcom η n 0 S R r n X τ