Users' Mathboxes Mathbox for ML < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rdgeqoa Structured version   Visualization version   GIF version

Theorem rdgeqoa 33555
Description: If a recursive function with an initial value 𝐴 at step 𝑁 is equal to itself with an initial value 𝐵 at step 𝑀, then every finite number of successor steps will also be equal. (Contributed by ML, 21-Oct-2020.)
Assertion
Ref Expression
rdgeqoa ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))

Proof of Theorem rdgeqoa
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simp3 1132 . 2 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → 𝑋 ∈ ω)
2 eleq1 2838 . . . . 5 (𝑥 = 𝑋 → (𝑥 ∈ ω ↔ 𝑋 ∈ ω))
323anbi3d 1553 . . . 4 (𝑥 = 𝑋 → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω)))
4 oveq2 6801 . . . . . . 7 (𝑥 = 𝑋 → (𝑁 +𝑜 𝑥) = (𝑁 +𝑜 𝑋))
54fveq2d 6336 . . . . . 6 (𝑥 = 𝑋 → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)))
6 oveq2 6801 . . . . . . 7 (𝑥 = 𝑋 → (𝑀 +𝑜 𝑥) = (𝑀 +𝑜 𝑋))
76fveq2d 6336 . . . . . 6 (𝑥 = 𝑋 → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋)))
85, 7eqeq12d 2786 . . . . 5 (𝑥 = 𝑋 → ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))
98imbi2d 329 . . . 4 (𝑥 = 𝑋 → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋)))))
103, 9imbi12d 333 . . 3 (𝑥 = 𝑋 → (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))))
11 peano1 7232 . . . . 5 ∅ ∈ ω
12 oa0 7750 . . . . . . . . . . . 12 (𝑁 ∈ On → (𝑁 +𝑜 ∅) = 𝑁)
1312fveq2d 6336 . . . . . . . . . . 11 (𝑁 ∈ On → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐴)‘𝑁))
1413eqcomd 2777 . . . . . . . . . 10 (𝑁 ∈ On → (rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)))
15 oa0 7750 . . . . . . . . . . . 12 (𝑀 ∈ On → (𝑀 +𝑜 ∅) = 𝑀)
1615fveq2d 6336 . . . . . . . . . . 11 (𝑀 ∈ On → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘𝑀))
1716eqcomd 2777 . . . . . . . . . 10 (𝑀 ∈ On → (rec(𝐹, 𝐵)‘𝑀) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))
1814, 17eqeqan12d 2787 . . . . . . . . 9 ((𝑁 ∈ On ∧ 𝑀 ∈ On) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
1918biimpd 219 . . . . . . . 8 ((𝑁 ∈ On ∧ 𝑀 ∈ On) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
20 eleq1 2838 . . . . . . . . . . 11 (𝑥 = ∅ → (𝑥 ∈ ω ↔ ∅ ∈ ω))
21203anbi3d 1553 . . . . . . . . . 10 (𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω)))
2211biantru 519 . . . . . . . . . . . 12 (𝑀 ∈ On ↔ (𝑀 ∈ On ∧ ∅ ∈ ω))
2322anbi2i 609 . . . . . . . . . . 11 ((𝑁 ∈ On ∧ 𝑀 ∈ On) ↔ (𝑁 ∈ On ∧ (𝑀 ∈ On ∧ ∅ ∈ ω)))
24 3anass 1080 . . . . . . . . . . 11 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω) ↔ (𝑁 ∈ On ∧ (𝑀 ∈ On ∧ ∅ ∈ ω)))
2523, 24bitr4i 267 . . . . . . . . . 10 ((𝑁 ∈ On ∧ 𝑀 ∈ On) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω))
2621, 25syl6bbr 278 . . . . . . . . 9 (𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On)))
27 oveq2 6801 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝑁 +𝑜 𝑥) = (𝑁 +𝑜 ∅))
2827fveq2d 6336 . . . . . . . . . . 11 (𝑥 = ∅ → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)))
29 oveq2 6801 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝑀 +𝑜 𝑥) = (𝑀 +𝑜 ∅))
3029fveq2d 6336 . . . . . . . . . . 11 (𝑥 = ∅ → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))
3128, 30eqeq12d 2786 . . . . . . . . . 10 (𝑥 = ∅ → ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
3231imbi2d 329 . . . . . . . . 9 (𝑥 = ∅ → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))))
3326, 32imbi12d 333 . . . . . . . 8 (𝑥 = ∅ → (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))))
3419, 33mpbiri 248 . . . . . . 7 (𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
3534ax-gen 1870 . . . . . 6 𝑥(𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
36 sbc6g 3613 . . . . . 6 (∅ ∈ ω → ([∅ / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ∀𝑥(𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))))
3735, 36mpbiri 248 . . . . 5 (∅ ∈ ω → [∅ / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
3811, 37ax-mp 5 . . . 4 [∅ / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
39 peano2b 7228 . . . . 5 (𝑥 ∈ ω ↔ suc 𝑥 ∈ ω)
40393anbi3i 1162 . . . . . . . 8 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω))
4140imbi1i 338 . . . . . . 7 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
42 nnon 7218 . . . . . . . . . . . . 13 (𝑥 ∈ ω → 𝑥 ∈ On)
43 oacl 7769 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ On ∧ 𝑥 ∈ On) → (𝑁 +𝑜 𝑥) ∈ On)
44 oacl 7769 . . . . . . . . . . . . . . . . 17 ((𝑀 ∈ On ∧ 𝑥 ∈ On) → (𝑀 +𝑜 𝑥) ∈ On)
4543, 44anim12i 600 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ On ∧ 𝑥 ∈ On) ∧ (𝑀 ∈ On ∧ 𝑥 ∈ On)) → ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On))
46453impdir 1444 . . . . . . . . . . . . . . 15 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On) → ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On))
47 rdgsuc 7673 . . . . . . . . . . . . . . . . . 18 ((𝑁 +𝑜 𝑥) ∈ On → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥))))
48 fveq2 6332 . . . . . . . . . . . . . . . . . 18 ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) → (𝐹‘(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥))) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
4947, 48sylan9eqr 2827 . . . . . . . . . . . . . . . . 17 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ (𝑁 +𝑜 𝑥) ∈ On) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5049adantrr 696 . . . . . . . . . . . . . . . 16 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
51 rdgsuc 7673 . . . . . . . . . . . . . . . . 17 ((𝑀 +𝑜 𝑥) ∈ On → (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5251ad2antll 708 . . . . . . . . . . . . . . . 16 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5350, 52eqtr4d 2808 . . . . . . . . . . . . . . 15 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5446, 53sylan2 580 . . . . . . . . . . . . . 14 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5554ancoms 455 . . . . . . . . . . . . 13 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5642, 55syl3anl3 1523 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
57 onasuc 7762 . . . . . . . . . . . . . . 15 ((𝑁 ∈ On ∧ 𝑥 ∈ ω) → (𝑁 +𝑜 suc 𝑥) = suc (𝑁 +𝑜 𝑥))
5857fveq2d 6336 . . . . . . . . . . . . . 14 ((𝑁 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
59583adant2 1125 . . . . . . . . . . . . 13 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
6059adantr 466 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
61 onasuc 7762 . . . . . . . . . . . . . . 15 ((𝑀 ∈ On ∧ 𝑥 ∈ ω) → (𝑀 +𝑜 suc 𝑥) = suc (𝑀 +𝑜 𝑥))
6261fveq2d 6336 . . . . . . . . . . . . . 14 ((𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
63623adant1 1124 . . . . . . . . . . . . 13 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
6463adantr 466 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
6556, 60, 643eqtr4d 2815 . . . . . . . . . . 11 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
6665ex 397 . . . . . . . . . 10 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))
6766imim2d 57 . . . . . . . . 9 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
6840, 67sylbir 225 . . . . . . . 8 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
6968a2i 14 . . . . . . 7 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
7041, 69sylbi 207 . . . . . 6 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
71 sbcimg 3629 . . . . . . 7 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → [suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))))
72 sbc3an 3645 . . . . . . . . 9 ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ ([suc 𝑥 / 𝑥]𝑁 ∈ On ∧ [suc 𝑥 / 𝑥]𝑀 ∈ On ∧ [suc 𝑥 / 𝑥]𝑥 ∈ ω))
73 sbcg 3653 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑁 ∈ On ↔ 𝑁 ∈ On))
74 sbcg 3653 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑀 ∈ On ↔ 𝑀 ∈ On))
75 sbcel1v 3646 . . . . . . . . . . 11 ([suc 𝑥 / 𝑥]𝑥 ∈ ω ↔ suc 𝑥 ∈ ω)
7675a1i 11 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑥 ∈ ω ↔ suc 𝑥 ∈ ω))
7773, 74, 763anbi123d 1547 . . . . . . . . 9 (suc 𝑥 ∈ ω → (([suc 𝑥 / 𝑥]𝑁 ∈ On ∧ [suc 𝑥 / 𝑥]𝑀 ∈ On ∧ [suc 𝑥 / 𝑥]𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω)))
7872, 77syl5bb 272 . . . . . . . 8 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω)))
79 sbcimg 3629 . . . . . . . . 9 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → [suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
80 sbcg 3653 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) ↔ (rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀)))
81 sbceqg 4128 . . . . . . . . . . 11 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
82 csbfv12 6372 . . . . . . . . . . . . 13 suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (suc 𝑥 / 𝑥rec(𝐹, 𝐴)‘suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥))
83 csbconstg 3695 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥rec(𝐹, 𝐴) = rec(𝐹, 𝐴))
84 csbov123 6832 . . . . . . . . . . . . . . 15 suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥) = (suc 𝑥 / 𝑥𝑁suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥)
85 csbconstg 3695 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥 +𝑜 = +𝑜 )
86 csbconstg 3695 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑁 = 𝑁)
87 csbvarg 4147 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑥 = suc 𝑥)
8885, 86, 87oveq123d 6814 . . . . . . . . . . . . . . 15 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥𝑁suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥) = (𝑁 +𝑜 suc 𝑥))
8984, 88syl5eq 2817 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥) = (𝑁 +𝑜 suc 𝑥))
9083, 89fveq12d 6338 . . . . . . . . . . . . 13 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥rec(𝐹, 𝐴)‘suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)))
9182, 90syl5eq 2817 . . . . . . . . . . . 12 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)))
92 csbfv12 6372 . . . . . . . . . . . . 13 suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (suc 𝑥 / 𝑥rec(𝐹, 𝐵)‘suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥))
93 csbconstg 3695 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥rec(𝐹, 𝐵) = rec(𝐹, 𝐵))
94 csbov123 6832 . . . . . . . . . . . . . . 15 suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥) = (suc 𝑥 / 𝑥𝑀suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥)
95 csbconstg 3695 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑀 = 𝑀)
9685, 95, 87oveq123d 6814 . . . . . . . . . . . . . . 15 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥𝑀suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥) = (𝑀 +𝑜 suc 𝑥))
9794, 96syl5eq 2817 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥) = (𝑀 +𝑜 suc 𝑥))
9893, 97fveq12d 6338 . . . . . . . . . . . . 13 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥rec(𝐹, 𝐵)‘suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
9992, 98syl5eq 2817 . . . . . . . . . . . 12 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
10091, 99eqeq12d 2786 . . . . . . . . . . 11 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))
10181, 100bitrd 268 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))
10280, 101imbi12d 333 . . . . . . . . 9 (suc 𝑥 ∈ ω → (([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → [suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
10379, 102bitrd 268 . . . . . . . 8 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))))
10478, 103imbi12d 333 . . . . . . 7 (suc 𝑥 ∈ ω → (([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → [suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))))
10571, 104bitrd 268 . . . . . 6 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))))
10670, 105syl5ibr 236 . . . . 5 (suc 𝑥 ∈ ω → (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) → [suc 𝑥 / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))))
10739, 106sylbi 207 . . . 4 (𝑥 ∈ ω → (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) → [suc 𝑥 / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))))
10838, 107findes 7243 . . 3 (𝑥 ∈ ω → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
10910, 108vtoclga 3423 . 2 (𝑋 ∈ ω → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋)))))
1101, 109mpcom 38 1 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  w3a 1071  wal 1629   = wceq 1631  wcel 2145  [wsbc 3587  csb 3682  c0 4063  Oncon0 5866  suc csuc 5868  cfv 6031  (class class class)co 6793  ωcom 7212  reccrdg 7658   +𝑜 coa 7710
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-fal 1637  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-om 7213  df-wrecs 7559  df-recs 7621  df-rdg 7659  df-oadd 7717
This theorem is referenced by:  finxpreclem4  33568
  Copyright terms: Public domain W3C validator