MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  seqf1o Structured version   Visualization version   GIF version

Theorem seqf1o 13641
Description: Rearrange a sum via an arbitrary bijection on (𝑀...𝑁). (Contributed by Mario Carneiro, 27-Feb-2014.) (Revised by Mario Carneiro, 24-Apr-2016.)
Hypotheses
Ref Expression
seqf1o.1 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
seqf1o.2 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
seqf1o.3 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
seqf1o.4 (𝜑𝑁 ∈ (ℤ𝑀))
seqf1o.5 (𝜑𝐶𝑆)
seqf1o.6 (𝜑𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
seqf1o.7 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐺𝑥) ∈ 𝐶)
seqf1o.8 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = (𝐺‘(𝐹𝑘)))
Assertion
Ref Expression
seqf1o (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
Distinct variable groups:   𝑥,𝑘,𝑦,𝑧,𝐹   𝑘,𝐺,𝑥,𝑦,𝑧   𝑘,𝑀,𝑥,𝑦,𝑧   + ,𝑘,𝑥,𝑦,𝑧   𝑘,𝑁,𝑥,𝑦,𝑧   𝜑,𝑘,𝑥,𝑦,𝑧   𝑆,𝑘,𝑥,𝑦,𝑧   𝐶,𝑘,𝑥,𝑦,𝑧   𝑘,𝐻
Allowed substitution hints:   𝐻(𝑥,𝑦,𝑧)

Proof of Theorem seqf1o
Dummy variables 𝑓 𝑔 𝑠 𝑡 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 seqf1o.6 . . 3 (𝜑𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
2 seqf1o.7 . . . 4 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐺𝑥) ∈ 𝐶)
32fmpttd 6950 . . 3 (𝜑 → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)
4 seqf1o.4 . . . . 5 (𝜑𝑁 ∈ (ℤ𝑀))
5 oveq2 7239 . . . . . . . . . . 11 (𝑥 = 𝑀 → (𝑀...𝑥) = (𝑀...𝑀))
6 f1oeq23 6670 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑀) ∧ (𝑀...𝑥) = (𝑀...𝑀)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
75, 5, 6syl2anc 587 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
85feq2d 6549 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑀)⟶𝐶))
97, 8anbi12d 634 . . . . . . . . 9 (𝑥 = 𝑀 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)))
10 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑀))
11 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑀))
1210, 11eqeq12d 2754 . . . . . . . . 9 (𝑥 = 𝑀 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
139, 12imbi12d 348 . . . . . . . 8 (𝑥 = 𝑀 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
14132albidv 1931 . . . . . . 7 (𝑥 = 𝑀 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
1514imbi2d 344 . . . . . 6 (𝑥 = 𝑀 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))))
16 oveq2 7239 . . . . . . . . . . 11 (𝑥 = 𝑘 → (𝑀...𝑥) = (𝑀...𝑘))
17 f1oeq23 6670 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑘) ∧ (𝑀...𝑥) = (𝑀...𝑘)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
1816, 16, 17syl2anc 587 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
1916feq2d 6549 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑘)⟶𝐶))
2018, 19anbi12d 634 . . . . . . . . 9 (𝑥 = 𝑘 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶)))
21 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑘))
22 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑘))
2321, 22eqeq12d 2754 . . . . . . . . 9 (𝑥 = 𝑘 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
2420, 23imbi12d 348 . . . . . . . 8 (𝑥 = 𝑘 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
25242albidv 1931 . . . . . . 7 (𝑥 = 𝑘 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
2625imbi2d 344 . . . . . 6 (𝑥 = 𝑘 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))))
27 oveq2 7239 . . . . . . . . . . 11 (𝑥 = (𝑘 + 1) → (𝑀...𝑥) = (𝑀...(𝑘 + 1)))
28 f1oeq23 6670 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...(𝑘 + 1)) ∧ (𝑀...𝑥) = (𝑀...(𝑘 + 1))) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
2927, 27, 28syl2anc 587 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
3027feq2d 6549 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...(𝑘 + 1))⟶𝐶))
3129, 30anbi12d 634 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)))
32 fveq2 6735 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)))
33 fveq2 6735 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
3432, 33eqeq12d 2754 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))
3531, 34imbi12d 348 . . . . . . . 8 (𝑥 = (𝑘 + 1) → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
36352albidv 1931 . . . . . . 7 (𝑥 = (𝑘 + 1) → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
3736imbi2d 344 . . . . . 6 (𝑥 = (𝑘 + 1) → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
38 oveq2 7239 . . . . . . . . . . 11 (𝑥 = 𝑁 → (𝑀...𝑥) = (𝑀...𝑁))
39 f1oeq23 6670 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑁) ∧ (𝑀...𝑥) = (𝑀...𝑁)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4038, 38, 39syl2anc 587 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4138feq2d 6549 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑁)⟶𝐶))
4240, 41anbi12d 634 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶)))
43 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑁))
44 fveq2 6735 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑁))
4543, 44eqeq12d 2754 . . . . . . . . 9 (𝑥 = 𝑁 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
4642, 45imbi12d 348 . . . . . . . 8 (𝑥 = 𝑁 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
47462albidv 1931 . . . . . . 7 (𝑥 = 𝑁 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
4847imbi2d 344 . . . . . 6 (𝑥 = 𝑁 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))))
49 f1of 6679 . . . . . . . . . . . . 13 (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
5049adantr 484 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
51 elfz3 13146 . . . . . . . . . . . 12 (𝑀 ∈ ℤ → 𝑀 ∈ (𝑀...𝑀))
52 fvco3 6828 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
5350, 51, 52syl2anr 600 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
54 ffvelrn 6920 . . . . . . . . . . . . . . 15 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
5549, 51, 54syl2anr 600 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
56 fzsn 13178 . . . . . . . . . . . . . . . . 17 (𝑀 ∈ ℤ → (𝑀...𝑀) = {𝑀})
5756eleq2d 2824 . . . . . . . . . . . . . . . 16 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) ↔ (𝑓𝑀) ∈ {𝑀}))
58 elsni 4572 . . . . . . . . . . . . . . . 16 ((𝑓𝑀) ∈ {𝑀} → (𝑓𝑀) = 𝑀)
5957, 58syl6bi 256 . . . . . . . . . . . . . . 15 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) → (𝑓𝑀) = 𝑀))
6059imp 410 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ (𝑓𝑀) ∈ (𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6155, 60syldan 594 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6261adantrr 717 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑓𝑀) = 𝑀)
6362fveq2d 6739 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑔‘(𝑓𝑀)) = (𝑔𝑀))
6453, 63eqtrd 2778 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔𝑀))
65 seq1 13611 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
6665adantr 484 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
67 seq1 13611 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
6867adantr 484 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
6964, 66, 683eqtr4d 2788 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))
7069ex 416 . . . . . . . 8 (𝑀 ∈ ℤ → ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7170alrimivv 1936 . . . . . . 7 (𝑀 ∈ ℤ → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7271a1d 25 . . . . . 6 (𝑀 ∈ ℤ → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
73 f1oeq1 6667 . . . . . . . . . . . 12 (𝑓 = 𝑡 → (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ↔ 𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
74 feq1 6544 . . . . . . . . . . . 12 (𝑔 = 𝑠 → (𝑔:(𝑀...𝑘)⟶𝐶𝑠:(𝑀...𝑘)⟶𝐶))
7573, 74bi2anan9r 640 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) ↔ (𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶)))
76 coeq1 5740 . . . . . . . . . . . . . . 15 (𝑔 = 𝑠 → (𝑔𝑓) = (𝑠𝑓))
77 coeq2 5741 . . . . . . . . . . . . . . 15 (𝑓 = 𝑡 → (𝑠𝑓) = (𝑠𝑡))
7876, 77sylan9eq 2799 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → (𝑔𝑓) = (𝑠𝑡))
7978seqeq3d 13606 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , (𝑠𝑡)))
8079fveq1d 6737 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , (𝑠𝑡))‘𝑘))
81 simpl 486 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → 𝑔 = 𝑠)
8281seqeq3d 13606 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , 𝑔) = seq𝑀( + , 𝑠))
8382fveq1d 6737 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , 𝑔)‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))
8480, 83eqeq12d 2754 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘) ↔ (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
8575, 84imbi12d 348 . . . . . . . . . 10 ((𝑔 = 𝑠𝑓 = 𝑡) → (((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))))
8685cbval2vw 2048 . . . . . . . . 9 (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
87 simplll 775 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝜑)
88 seqf1o.1 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
8987, 88sylan 583 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
90 seqf1o.2 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
9187, 90sylan 583 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
92 seqf1o.3 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
9387, 92sylan 583 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
94 simpllr 776 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑘 ∈ (ℤ𝑀))
95 seqf1o.5 . . . . . . . . . . . . . . 15 (𝜑𝐶𝑆)
9687, 95syl 17 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝐶𝑆)
97 simprl 771 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)))
98 simprr 773 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)
99 eqid 2738 . . . . . . . . . . . . . 14 (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1)))) = (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1))))
100 eqid 2738 . . . . . . . . . . . . . 14 (𝑓‘(𝑘 + 1)) = (𝑓‘(𝑘 + 1))
101 simplr 769 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
102101, 86sylib 221 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → ∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
10389, 91, 93, 94, 96, 97, 98, 99, 100, 102seqf1olem2 13640 . . . . . . . . . . . . 13 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
104103exp31 423 . . . . . . . . . . . 12 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10586, 104syl5bir 246 . . . . . . . . . . 11 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
106105alrimdv 1937 . . . . . . . . . 10 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
107106alrimdv 1937 . . . . . . . . 9 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10886, 107syl5bi 245 . . . . . . . 8 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
109108expcom 417 . . . . . . 7 (𝑘 ∈ (ℤ𝑀) → (𝜑 → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
110109a2d 29 . . . . . 6 (𝑘 ∈ (ℤ𝑀) → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
11115, 26, 37, 48, 72, 110uzind4 12526 . . . . 5 (𝑁 ∈ (ℤ𝑀) → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
1124, 111mpcom 38 . . . 4 (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
113 fvex 6748 . . . . . . 7 (𝐺𝑥) ∈ V
114 eqid 2738 . . . . . . 7 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))
115113, 114fnmpti 6539 . . . . . 6 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁)
116 fzfi 13569 . . . . . 6 (𝑀...𝑁) ∈ Fin
117 fnfi 8880 . . . . . 6 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁) ∧ (𝑀...𝑁) ∈ Fin) → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin)
118115, 116, 117mp2an 692 . . . . 5 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin
119 f1of 6679 . . . . . . 7 (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) → 𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
1201, 119syl 17 . . . . . 6 (𝜑𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
121 ovexd 7266 . . . . . 6 (𝜑 → (𝑀...𝑁) ∈ V)
122 fex2 7729 . . . . . 6 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ (𝑀...𝑁) ∈ V ∧ (𝑀...𝑁) ∈ V) → 𝐹 ∈ V)
123120, 121, 121, 122syl3anc 1373 . . . . 5 (𝜑𝐹 ∈ V)
124 f1oeq1 6667 . . . . . . . 8 (𝑓 = 𝐹 → (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ↔ 𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
125 feq1 6544 . . . . . . . 8 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔:(𝑀...𝑁)⟶𝐶 ↔ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶))
126124, 125bi2anan9r 640 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) ↔ (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)))
127 coeq1 5740 . . . . . . . . . . 11 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓))
128 coeq2 5741 . . . . . . . . . . 11 (𝑓 = 𝐹 → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
129127, 128sylan9eq 2799 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
130129seqeq3d 13606 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)))
131130fveq1d 6737 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁))
132 simpl 486 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → 𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))
133132seqeq3d 13606 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , 𝑔) = seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))))
134133fveq1d 6737 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , 𝑔)‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
135131, 134eqeq12d 2754 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁) ↔ (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
136126, 135imbi12d 348 . . . . . 6 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) ↔ ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
137136spc2gv 3527 . . . . 5 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin ∧ 𝐹 ∈ V) → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
138118, 123, 137sylancr 590 . . . 4 (𝜑 → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
139112, 138mpd 15 . . 3 (𝜑 → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
1401, 3, 139mp2and 699 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
141120ffvelrnda 6922 . . . . 5 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ (𝑀...𝑁))
142 fveq2 6735 . . . . . 6 (𝑥 = (𝐹𝑘) → (𝐺𝑥) = (𝐺‘(𝐹𝑘)))
143 fvex 6748 . . . . . 6 (𝐺‘(𝐹𝑘)) ∈ V
144142, 114, 143fvmpt 6836 . . . . 5 ((𝐹𝑘) ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
145141, 144syl 17 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
146 fvco3 6828 . . . . 5 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ 𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
147120, 146sylan 583 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
148 seqf1o.8 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = (𝐺‘(𝐹𝑘)))
149145, 147, 1483eqtr4d 2788 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = (𝐻𝑘))
1504, 149seqfveq 13624 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , 𝐻)‘𝑁))
151 fveq2 6735 . . . . 5 (𝑥 = 𝑘 → (𝐺𝑥) = (𝐺𝑘))
152 fvex 6748 . . . . 5 (𝐺𝑘) ∈ V
153151, 114, 152fvmpt 6836 . . . 4 (𝑘 ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
154153adantl 485 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
1554, 154seqfveq 13624 . 2 (𝜑 → (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
156140, 150, 1553eqtr3d 2786 1 (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089  wal 1541   = wceq 1543  wcel 2111  Vcvv 3420  wss 3880  ifcif 4453  {csn 4555   class class class wbr 5067  cmpt 5149  ccnv 5564  ccom 5569   Fn wfn 6392  wf 6393  1-1-ontowf1o 6396  cfv 6397  (class class class)co 7231  Fincfn 8646  1c1 10754   + caddc 10756   < clt 10891  cz 12200  cuz 12462  ...cfz 13119  seqcseq 13598
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2159  ax-12 2176  ax-ext 2709  ax-sep 5206  ax-nul 5213  ax-pow 5272  ax-pr 5336  ax-un 7541  ax-cnex 10809  ax-resscn 10810  ax-1cn 10811  ax-icn 10812  ax-addcl 10813  ax-addrcl 10814  ax-mulcl 10815  ax-mulrcl 10816  ax-mulcom 10817  ax-addass 10818  ax-mulass 10819  ax-distr 10820  ax-i2m1 10821  ax-1ne0 10822  ax-1rid 10823  ax-rnegex 10824  ax-rrecex 10825  ax-cnre 10826  ax-pre-lttri 10827  ax-pre-lttrn 10828  ax-pre-ltadd 10829  ax-pre-mulgt0 10830
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2072  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3067  df-rex 3068  df-reu 3069  df-rab 3071  df-v 3422  df-sbc 3709  df-csb 3826  df-dif 3883  df-un 3885  df-in 3887  df-ss 3897  df-pss 3899  df-nul 4252  df-if 4454  df-pw 4529  df-sn 4556  df-pr 4558  df-tp 4560  df-op 4562  df-uni 4834  df-iun 4920  df-br 5068  df-opab 5130  df-mpt 5150  df-tr 5176  df-id 5469  df-eprel 5474  df-po 5482  df-so 5483  df-fr 5523  df-we 5525  df-xp 5571  df-rel 5572  df-cnv 5573  df-co 5574  df-dm 5575  df-rn 5576  df-res 5577  df-ima 5578  df-pred 6175  df-ord 6233  df-on 6234  df-lim 6235  df-suc 6236  df-iota 6355  df-fun 6399  df-fn 6400  df-f 6401  df-f1 6402  df-fo 6403  df-f1o 6404  df-fv 6405  df-riota 7188  df-ov 7234  df-oprab 7235  df-mpo 7236  df-om 7663  df-1st 7779  df-2nd 7780  df-wrecs 8067  df-recs 8128  df-rdg 8166  df-1o 8222  df-er 8411  df-en 8647  df-dom 8648  df-sdom 8649  df-fin 8650  df-pnf 10893  df-mnf 10894  df-xr 10895  df-ltxr 10896  df-le 10897  df-sub 11088  df-neg 11089  df-nn 11855  df-n0 12115  df-z 12201  df-uz 12463  df-fz 13120  df-fzo 13263  df-seq 13599
This theorem is referenced by:  summolem3  15302  prodmolem3  15519  eulerthlem2  16359  gsumval3eu  19313  gsumval3  19316
  Copyright terms: Public domain W3C validator