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

Theorem seqf1o 13773
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 6998 . . 3 (𝜑 → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)
4 seqf1o.4 . . . . 5 (𝜑𝑁 ∈ (ℤ𝑀))
5 oveq2 7292 . . . . . . . . . . 11 (𝑥 = 𝑀 → (𝑀...𝑥) = (𝑀...𝑀))
6 f1oeq23 6716 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑀) ∧ (𝑀...𝑥) = (𝑀...𝑀)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
75, 5, 6syl2anc 584 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
85feq2d 6595 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑀)⟶𝐶))
97, 8anbi12d 631 . . . . . . . . 9 (𝑥 = 𝑀 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)))
10 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑀))
11 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑀))
1210, 11eqeq12d 2755 . . . . . . . . 9 (𝑥 = 𝑀 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
139, 12imbi12d 345 . . . . . . . 8 (𝑥 = 𝑀 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
14132albidv 1927 . . . . . . 7 (𝑥 = 𝑀 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
1514imbi2d 341 . . . . . 6 (𝑥 = 𝑀 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))))
16 oveq2 7292 . . . . . . . . . . 11 (𝑥 = 𝑘 → (𝑀...𝑥) = (𝑀...𝑘))
17 f1oeq23 6716 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑘) ∧ (𝑀...𝑥) = (𝑀...𝑘)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
1816, 16, 17syl2anc 584 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
1916feq2d 6595 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑘)⟶𝐶))
2018, 19anbi12d 631 . . . . . . . . 9 (𝑥 = 𝑘 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶)))
21 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑘))
22 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑘))
2321, 22eqeq12d 2755 . . . . . . . . 9 (𝑥 = 𝑘 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
2420, 23imbi12d 345 . . . . . . . 8 (𝑥 = 𝑘 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
25242albidv 1927 . . . . . . 7 (𝑥 = 𝑘 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
2625imbi2d 341 . . . . . 6 (𝑥 = 𝑘 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))))
27 oveq2 7292 . . . . . . . . . . 11 (𝑥 = (𝑘 + 1) → (𝑀...𝑥) = (𝑀...(𝑘 + 1)))
28 f1oeq23 6716 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...(𝑘 + 1)) ∧ (𝑀...𝑥) = (𝑀...(𝑘 + 1))) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
2927, 27, 28syl2anc 584 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
3027feq2d 6595 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...(𝑘 + 1))⟶𝐶))
3129, 30anbi12d 631 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)))
32 fveq2 6783 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)))
33 fveq2 6783 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
3432, 33eqeq12d 2755 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))
3531, 34imbi12d 345 . . . . . . . 8 (𝑥 = (𝑘 + 1) → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
36352albidv 1927 . . . . . . 7 (𝑥 = (𝑘 + 1) → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
3736imbi2d 341 . . . . . 6 (𝑥 = (𝑘 + 1) → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
38 oveq2 7292 . . . . . . . . . . 11 (𝑥 = 𝑁 → (𝑀...𝑥) = (𝑀...𝑁))
39 f1oeq23 6716 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑁) ∧ (𝑀...𝑥) = (𝑀...𝑁)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4038, 38, 39syl2anc 584 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4138feq2d 6595 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑁)⟶𝐶))
4240, 41anbi12d 631 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶)))
43 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑁))
44 fveq2 6783 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑁))
4543, 44eqeq12d 2755 . . . . . . . . 9 (𝑥 = 𝑁 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
4642, 45imbi12d 345 . . . . . . . 8 (𝑥 = 𝑁 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
47462albidv 1927 . . . . . . 7 (𝑥 = 𝑁 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
4847imbi2d 341 . . . . . 6 (𝑥 = 𝑁 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))))
49 f1of 6725 . . . . . . . . . . . . 13 (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
5049adantr 481 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
51 elfz3 13275 . . . . . . . . . . . 12 (𝑀 ∈ ℤ → 𝑀 ∈ (𝑀...𝑀))
52 fvco3 6876 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
5350, 51, 52syl2anr 597 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
54 ffvelrn 6968 . . . . . . . . . . . . . . 15 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
5549, 51, 54syl2anr 597 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
56 fzsn 13307 . . . . . . . . . . . . . . . . 17 (𝑀 ∈ ℤ → (𝑀...𝑀) = {𝑀})
5756eleq2d 2825 . . . . . . . . . . . . . . . 16 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) ↔ (𝑓𝑀) ∈ {𝑀}))
58 elsni 4579 . . . . . . . . . . . . . . . 16 ((𝑓𝑀) ∈ {𝑀} → (𝑓𝑀) = 𝑀)
5957, 58syl6bi 252 . . . . . . . . . . . . . . 15 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) → (𝑓𝑀) = 𝑀))
6059imp 407 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ (𝑓𝑀) ∈ (𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6155, 60syldan 591 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6261adantrr 714 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑓𝑀) = 𝑀)
6362fveq2d 6787 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑔‘(𝑓𝑀)) = (𝑔𝑀))
6453, 63eqtrd 2779 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔𝑀))
65 seq1 13743 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
6665adantr 481 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
67 seq1 13743 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
6867adantr 481 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
6964, 66, 683eqtr4d 2789 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))
7069ex 413 . . . . . . . 8 (𝑀 ∈ ℤ → ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7170alrimivv 1932 . . . . . . 7 (𝑀 ∈ ℤ → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7271a1d 25 . . . . . 6 (𝑀 ∈ ℤ → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
73 f1oeq1 6713 . . . . . . . . . . . 12 (𝑓 = 𝑡 → (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ↔ 𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
74 feq1 6590 . . . . . . . . . . . 12 (𝑔 = 𝑠 → (𝑔:(𝑀...𝑘)⟶𝐶𝑠:(𝑀...𝑘)⟶𝐶))
7573, 74bi2anan9r 637 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) ↔ (𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶)))
76 coeq1 5769 . . . . . . . . . . . . . . 15 (𝑔 = 𝑠 → (𝑔𝑓) = (𝑠𝑓))
77 coeq2 5770 . . . . . . . . . . . . . . 15 (𝑓 = 𝑡 → (𝑠𝑓) = (𝑠𝑡))
7876, 77sylan9eq 2799 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → (𝑔𝑓) = (𝑠𝑡))
7978seqeq3d 13738 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , (𝑠𝑡)))
8079fveq1d 6785 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , (𝑠𝑡))‘𝑘))
81 simpl 483 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → 𝑔 = 𝑠)
8281seqeq3d 13738 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , 𝑔) = seq𝑀( + , 𝑠))
8382fveq1d 6785 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , 𝑔)‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))
8480, 83eqeq12d 2755 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘) ↔ (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
8575, 84imbi12d 345 . . . . . . . . . 10 ((𝑔 = 𝑠𝑓 = 𝑡) → (((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))))
8685cbval2vw 2044 . . . . . . . . 9 (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
87 simplll 772 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝜑)
88 seqf1o.1 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
8987, 88sylan 580 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
90 seqf1o.2 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
9187, 90sylan 580 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
92 seqf1o.3 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
9387, 92sylan 580 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
94 simpllr 773 . . . . . . . . . . . . . 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 768 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)))
98 simprr 770 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)
99 eqid 2739 . . . . . . . . . . . . . 14 (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1)))) = (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1))))
100 eqid 2739 . . . . . . . . . . . . . 14 (𝑓‘(𝑘 + 1)) = (𝑓‘(𝑘 + 1))
101 simplr 766 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
102101, 86sylib 217 . . . . . . . . . . . . . 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 13772 . . . . . . . . . . . . 13 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
104103exp31 420 . . . . . . . . . . . 12 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10586, 104syl5bir 242 . . . . . . . . . . 11 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
106105alrimdv 1933 . . . . . . . . . 10 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
107106alrimdv 1933 . . . . . . . . 9 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10886, 107syl5bi 241 . . . . . . . 8 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
109108expcom 414 . . . . . . 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 12655 . . . . 5 (𝑁 ∈ (ℤ𝑀) → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
1124, 111mpcom 38 . . . 4 (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
113 fvex 6796 . . . . . . 7 (𝐺𝑥) ∈ V
114 eqid 2739 . . . . . . 7 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))
115113, 114fnmpti 6585 . . . . . 6 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁)
116 fzfi 13701 . . . . . 6 (𝑀...𝑁) ∈ Fin
117 fnfi 8973 . . . . . 6 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁) ∧ (𝑀...𝑁) ∈ Fin) → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin)
118115, 116, 117mp2an 689 . . . . 5 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin
119 f1of 6725 . . . . . . 7 (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) → 𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
1201, 119syl 17 . . . . . 6 (𝜑𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
121 ovexd 7319 . . . . . 6 (𝜑 → (𝑀...𝑁) ∈ V)
122 fex2 7789 . . . . . 6 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ (𝑀...𝑁) ∈ V ∧ (𝑀...𝑁) ∈ V) → 𝐹 ∈ V)
123120, 121, 121, 122syl3anc 1370 . . . . 5 (𝜑𝐹 ∈ V)
124 f1oeq1 6713 . . . . . . . 8 (𝑓 = 𝐹 → (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ↔ 𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
125 feq1 6590 . . . . . . . 8 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔:(𝑀...𝑁)⟶𝐶 ↔ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶))
126124, 125bi2anan9r 637 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) ↔ (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)))
127 coeq1 5769 . . . . . . . . . . 11 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓))
128 coeq2 5770 . . . . . . . . . . 11 (𝑓 = 𝐹 → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
129127, 128sylan9eq 2799 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
130129seqeq3d 13738 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)))
131130fveq1d 6785 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁))
132 simpl 483 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → 𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))
133132seqeq3d 13738 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , 𝑔) = seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))))
134133fveq1d 6785 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , 𝑔)‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
135131, 134eqeq12d 2755 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁) ↔ (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
136126, 135imbi12d 345 . . . . . 6 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) ↔ ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
137136spc2gv 3540 . . . . 5 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin ∧ 𝐹 ∈ V) → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
138118, 123, 137sylancr 587 . . . 4 (𝜑 → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
139112, 138mpd 15 . . 3 (𝜑 → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
1401, 3, 139mp2and 696 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
141120ffvelrnda 6970 . . . . 5 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ (𝑀...𝑁))
142 fveq2 6783 . . . . . 6 (𝑥 = (𝐹𝑘) → (𝐺𝑥) = (𝐺‘(𝐹𝑘)))
143 fvex 6796 . . . . . 6 (𝐺‘(𝐹𝑘)) ∈ V
144142, 114, 143fvmpt 6884 . . . . 5 ((𝐹𝑘) ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
145141, 144syl 17 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
146 fvco3 6876 . . . . 5 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ 𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
147120, 146sylan 580 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
148 seqf1o.8 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = (𝐺‘(𝐹𝑘)))
149145, 147, 1483eqtr4d 2789 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = (𝐻𝑘))
1504, 149seqfveq 13756 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , 𝐻)‘𝑁))
151 fveq2 6783 . . . . 5 (𝑥 = 𝑘 → (𝐺𝑥) = (𝐺𝑘))
152 fvex 6796 . . . . 5 (𝐺𝑘) ∈ V
153151, 114, 152fvmpt 6884 . . . 4 (𝑘 ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
154153adantl 482 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
1554, 154seqfveq 13756 . 2 (𝜑 → (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
156140, 150, 1553eqtr3d 2787 1 (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086  wal 1537   = wceq 1539  wcel 2107  Vcvv 3433  wss 3888  ifcif 4460  {csn 4562   class class class wbr 5075  cmpt 5158  ccnv 5589  ccom 5594   Fn wfn 6432  wf 6433  1-1-ontowf1o 6436  cfv 6437  (class class class)co 7284  Fincfn 8742  1c1 10881   + caddc 10883   < clt 11018  cz 12328  cuz 12591  ...cfz 13248  seqcseq 13730
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597  ax-cnex 10936  ax-resscn 10937  ax-1cn 10938  ax-icn 10939  ax-addcl 10940  ax-addrcl 10941  ax-mulcl 10942  ax-mulrcl 10943  ax-mulcom 10944  ax-addass 10945  ax-mulass 10946  ax-distr 10947  ax-i2m1 10948  ax-1ne0 10949  ax-1rid 10950  ax-rnegex 10951  ax-rrecex 10952  ax-cnre 10953  ax-pre-lttri 10954  ax-pre-lttrn 10955  ax-pre-ltadd 10956  ax-pre-mulgt0 10957
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-iun 4927  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-riota 7241  df-ov 7287  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-frecs 8106  df-wrecs 8137  df-recs 8211  df-rdg 8250  df-1o 8306  df-er 8507  df-en 8743  df-dom 8744  df-sdom 8745  df-fin 8746  df-pnf 11020  df-mnf 11021  df-xr 11022  df-ltxr 11023  df-le 11024  df-sub 11216  df-neg 11217  df-nn 11983  df-n0 12243  df-z 12329  df-uz 12592  df-fz 13249  df-fzo 13392  df-seq 13731
This theorem is referenced by:  summolem3  15435  prodmolem3  15652  eulerthlem2  16492  gsumval3eu  19514  gsumval3  19517
  Copyright terms: Public domain W3C validator