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 32850
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 1061 . 2 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → 𝑋 ∈ ω)
2 eleq1 2686 . . . . 5 (𝑥 = 𝑋 → (𝑥 ∈ ω ↔ 𝑋 ∈ ω))
323anbi3d 1402 . . . 4 (𝑥 = 𝑋 → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω)))
4 oveq2 6612 . . . . . . 7 (𝑥 = 𝑋 → (𝑁 +𝑜 𝑥) = (𝑁 +𝑜 𝑋))
54fveq2d 6152 . . . . . 6 (𝑥 = 𝑋 → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)))
6 oveq2 6612 . . . . . . 7 (𝑥 = 𝑋 → (𝑀 +𝑜 𝑥) = (𝑀 +𝑜 𝑋))
76fveq2d 6152 . . . . . 6 (𝑥 = 𝑋 → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋)))
85, 7eqeq12d 2636 . . . . 5 (𝑥 = 𝑋 → ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))
98imbi2d 330 . . . 4 (𝑥 = 𝑋 → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋)))))
103, 9imbi12d 334 . . 3 (𝑥 = 𝑋 → (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑋 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑋)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑋))))))
11 peano1 7032 . . . . 5 ∅ ∈ ω
12 oa0 7541 . . . . . . . . . . . 12 (𝑁 ∈ On → (𝑁 +𝑜 ∅) = 𝑁)
1312fveq2d 6152 . . . . . . . . . . 11 (𝑁 ∈ On → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐴)‘𝑁))
1413eqcomd 2627 . . . . . . . . . 10 (𝑁 ∈ On → (rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)))
15 oa0 7541 . . . . . . . . . . . 12 (𝑀 ∈ On → (𝑀 +𝑜 ∅) = 𝑀)
1615fveq2d 6152 . . . . . . . . . . 11 (𝑀 ∈ On → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘𝑀))
1716eqcomd 2627 . . . . . . . . . 10 (𝑀 ∈ On → (rec(𝐹, 𝐵)‘𝑀) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))
1814, 17eqeqan12d 2637 . . . . . . . . 9 ((𝑁 ∈ On ∧ 𝑀 ∈ On) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
1918biimpd 219 . . . . . . . 8 ((𝑁 ∈ On ∧ 𝑀 ∈ On) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
20 eleq1 2686 . . . . . . . . . . 11 (𝑥 = ∅ → (𝑥 ∈ ω ↔ ∅ ∈ ω))
21203anbi3d 1402 . . . . . . . . . 10 (𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω)))
2211biantru 526 . . . . . . . . . . . 12 (𝑀 ∈ On ↔ (𝑀 ∈ On ∧ ∅ ∈ ω))
2322anbi2i 729 . . . . . . . . . . 11 ((𝑁 ∈ On ∧ 𝑀 ∈ On) ↔ (𝑁 ∈ On ∧ (𝑀 ∈ On ∧ ∅ ∈ ω)))
24 3anass 1040 . . . . . . . . . . 11 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω) ↔ (𝑁 ∈ On ∧ (𝑀 ∈ On ∧ ∅ ∈ ω)))
2523, 24bitr4i 267 . . . . . . . . . 10 ((𝑁 ∈ On ∧ 𝑀 ∈ On) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ ∅ ∈ ω))
2621, 25syl6bbr 278 . . . . . . . . 9 (𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On)))
27 oveq2 6612 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝑁 +𝑜 𝑥) = (𝑁 +𝑜 ∅))
2827fveq2d 6152 . . . . . . . . . . 11 (𝑥 = ∅ → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)))
29 oveq2 6612 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝑀 +𝑜 𝑥) = (𝑀 +𝑜 ∅))
3029fveq2d 6152 . . . . . . . . . . 11 (𝑥 = ∅ → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))
3128, 30eqeq12d 2636 . . . . . . . . . 10 (𝑥 = ∅ → ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅))))
3231imbi2d 330 . . . . . . . . 9 (𝑥 = ∅ → (((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 ∅)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 ∅)))))
3326, 32imbi12d 334 . . . . . . . 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 1719 . . . . . 6 𝑥(𝑥 = ∅ → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
36 sbc6g 3443 . . . . . 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 7028 . . . . 5 (𝑥 ∈ ω ↔ suc 𝑥 ∈ ω)
40393anbi3i 1253 . . . . . . . 8 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω))
4140imbi1i 339 . . . . . . 7 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
42 nnon 7018 . . . . . . . . . . . . 13 (𝑥 ∈ ω → 𝑥 ∈ On)
43 oacl 7560 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ On ∧ 𝑥 ∈ On) → (𝑁 +𝑜 𝑥) ∈ On)
44 oacl 7560 . . . . . . . . . . . . . . . . 17 ((𝑀 ∈ On ∧ 𝑥 ∈ On) → (𝑀 +𝑜 𝑥) ∈ On)
4543, 44anim12i 589 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ On ∧ 𝑥 ∈ On) ∧ (𝑀 ∈ On ∧ 𝑥 ∈ On)) → ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On))
46453impdir 1379 . . . . . . . . . . . . . . 15 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On) → ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On))
47 rdgsuc 7465 . . . . . . . . . . . . . . . . . 18 ((𝑁 +𝑜 𝑥) ∈ On → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥))))
48 fveq2 6148 . . . . . . . . . . . . . . . . . 18 ((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) → (𝐹‘(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥))) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
4947, 48sylan9eqr 2677 . . . . . . . . . . . . . . . . 17 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ (𝑁 +𝑜 𝑥) ∈ On) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5049adantrr 752 . . . . . . . . . . . . . . . 16 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
51 rdgsuc 7465 . . . . . . . . . . . . . . . . 17 ((𝑀 +𝑜 𝑥) ∈ On → (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5251ad2antll 764 . . . . . . . . . . . . . . . 16 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)) = (𝐹‘(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
5350, 52eqtr4d 2658 . . . . . . . . . . . . . . 15 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ ((𝑁 +𝑜 𝑥) ∈ On ∧ (𝑀 +𝑜 𝑥) ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5446, 53sylan2 491 . . . . . . . . . . . . . 14 (((rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ∧ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On)) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5554ancoms 469 . . . . . . . . . . . . 13 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ On) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
5642, 55syl3anl3 1373 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
57 onasuc 7553 . . . . . . . . . . . . . . 15 ((𝑁 ∈ On ∧ 𝑥 ∈ ω) → (𝑁 +𝑜 suc 𝑥) = suc (𝑁 +𝑜 𝑥))
5857fveq2d 6152 . . . . . . . . . . . . . 14 ((𝑁 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
59583adant2 1078 . . . . . . . . . . . . 13 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
6059adantr 481 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐴)‘suc (𝑁 +𝑜 𝑥)))
61 onasuc 7553 . . . . . . . . . . . . . . 15 ((𝑀 ∈ On ∧ 𝑥 ∈ ω) → (𝑀 +𝑜 suc 𝑥) = suc (𝑀 +𝑜 𝑥))
6261fveq2d 6152 . . . . . . . . . . . . . 14 ((𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
63623adant1 1077 . . . . . . . . . . . . 13 ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
6463adantr 481 . . . . . . . . . . . 12 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘suc (𝑀 +𝑜 𝑥)))
6556, 60, 643eqtr4d 2665 . . . . . . . . . . 11 (((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ∧ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
6665ex 450 . . . . . . . . . 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 3459 . . . . . . 7 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))) ↔ ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → [suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))))
72 sbc3an 3476 . . . . . . . . 9 ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ ([suc 𝑥 / 𝑥]𝑁 ∈ On ∧ [suc 𝑥 / 𝑥]𝑀 ∈ On ∧ [suc 𝑥 / 𝑥]𝑥 ∈ ω))
73 sbcg 3485 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑁 ∈ On ↔ 𝑁 ∈ On))
74 sbcg 3485 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑀 ∈ On ↔ 𝑀 ∈ On))
75 sbcel1v 3477 . . . . . . . . . . 11 ([suc 𝑥 / 𝑥]𝑥 ∈ ω ↔ suc 𝑥 ∈ ω)
7675a1i 11 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]𝑥 ∈ ω ↔ suc 𝑥 ∈ ω))
7773, 74, 763anbi123d 1396 . . . . . . . . 9 (suc 𝑥 ∈ ω → (([suc 𝑥 / 𝑥]𝑁 ∈ On ∧ [suc 𝑥 / 𝑥]𝑀 ∈ On ∧ [suc 𝑥 / 𝑥]𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω)))
7872, 77syl5bb 272 . . . . . . . 8 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) ↔ (𝑁 ∈ On ∧ 𝑀 ∈ On ∧ suc 𝑥 ∈ ω)))
79 sbcimg 3459 . . . . . . . . 9 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥]((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))) ↔ ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → [suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
80 sbcg 3485 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) ↔ (rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀)))
81 sbceqg 3956 . . . . . . . . . . 11 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥))))
82 csbfv12 6188 . . . . . . . . . . . . 13 suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (suc 𝑥 / 𝑥rec(𝐹, 𝐴)‘suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥))
83 csbconstg 3527 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥rec(𝐹, 𝐴) = rec(𝐹, 𝐴))
84 csbov123 6640 . . . . . . . . . . . . . . 15 suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥) = (suc 𝑥 / 𝑥𝑁suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥)
85 csbconstg 3527 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥 +𝑜 = +𝑜 )
86 csbconstg 3527 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑁 = 𝑁)
87 csbvarg 3975 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑥 = suc 𝑥)
8885, 86, 87oveq123d 6625 . . . . . . . . . . . . . . 15 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥𝑁suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥) = (𝑁 +𝑜 suc 𝑥))
8984, 88syl5eq 2667 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥) = (𝑁 +𝑜 suc 𝑥))
9083, 89fveq12d 6154 . . . . . . . . . . . . 13 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥rec(𝐹, 𝐴)‘suc 𝑥 / 𝑥(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)))
9182, 90syl5eq 2667 . . . . . . . . . . . 12 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)))
92 csbfv12 6188 . . . . . . . . . . . . 13 suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (suc 𝑥 / 𝑥rec(𝐹, 𝐵)‘suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥))
93 csbconstg 3527 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥rec(𝐹, 𝐵) = rec(𝐹, 𝐵))
94 csbov123 6640 . . . . . . . . . . . . . . 15 suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥) = (suc 𝑥 / 𝑥𝑀suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥)
95 csbconstg 3527 . . . . . . . . . . . . . . . 16 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥𝑀 = 𝑀)
9685, 95, 87oveq123d 6625 . . . . . . . . . . . . . . 15 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥𝑀suc 𝑥 / 𝑥 +𝑜 suc 𝑥 / 𝑥𝑥) = (𝑀 +𝑜 suc 𝑥))
9794, 96syl5eq 2667 . . . . . . . . . . . . . 14 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥) = (𝑀 +𝑜 suc 𝑥))
9893, 97fveq12d 6154 . . . . . . . . . . . . 13 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥rec(𝐹, 𝐵)‘suc 𝑥 / 𝑥(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
9992, 98syl5eq 2667 . . . . . . . . . . . 12 (suc 𝑥 ∈ ω → suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥)))
10091, 99eqeq12d 2636 . . . . . . . . . . 11 (suc 𝑥 ∈ ω → (suc 𝑥 / 𝑥(rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = suc 𝑥 / 𝑥(rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))
10181, 100bitrd 268 . . . . . . . . . 10 (suc 𝑥 ∈ ω → ([suc 𝑥 / 𝑥](rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)) ↔ (rec(𝐹, 𝐴)‘(𝑁 +𝑜 suc 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 suc 𝑥))))
10280, 101imbi12d 334 . . . . . . . . 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 334 . . . . . . 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 7043 . . 3 (𝑥 ∈ ω → ((𝑁 ∈ On ∧ 𝑀 ∈ On ∧ 𝑥 ∈ ω) → ((rec(𝐹, 𝐴)‘𝑁) = (rec(𝐹, 𝐵)‘𝑀) → (rec(𝐹, 𝐴)‘(𝑁 +𝑜 𝑥)) = (rec(𝐹, 𝐵)‘(𝑀 +𝑜 𝑥)))))
10910, 108vtoclga 3258 . 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 384  w3a 1036  wal 1478   = wceq 1480  wcel 1987  [wsbc 3417  csb 3514  c0 3891  Oncon0 5682  suc csuc 5684  cfv 5847  (class class class)co 6604  ωcom 7012  reccrdg 7450   +𝑜 coa 7502
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-fal 1486  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-oadd 7509
This theorem is referenced by:  finxpreclem4  32863
  Copyright terms: Public domain W3C validator