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

Theorem seqf1o 12882
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 ((𝜑𝑥 ∈ (𝑀...𝑁)) → (𝐺𝑥) ∈ 𝐶)
3 eqid 2651 . . . 4 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))
42, 3fmptd 6425 . . 3 (𝜑 → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)
5 seqf1o.4 . . . . 5 (𝜑𝑁 ∈ (ℤ𝑀))
6 oveq2 6698 . . . . . . . . . . 11 (𝑥 = 𝑀 → (𝑀...𝑥) = (𝑀...𝑀))
7 f1oeq23 6168 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑀) ∧ (𝑀...𝑥) = (𝑀...𝑀)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
86, 6, 7syl2anc 694 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)))
96feq2d 6069 . . . . . . . . . 10 (𝑥 = 𝑀 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑀)⟶𝐶))
108, 9anbi12d 747 . . . . . . . . 9 (𝑥 = 𝑀 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)))
11 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑀))
12 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑀 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑀))
1311, 12eqeq12d 2666 . . . . . . . . 9 (𝑥 = 𝑀 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
1410, 13imbi12d 333 . . . . . . . 8 (𝑥 = 𝑀 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
15142albidv 1891 . . . . . . 7 (𝑥 = 𝑀 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
1615imbi2d 329 . . . . . 6 (𝑥 = 𝑀 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))))
17 oveq2 6698 . . . . . . . . . . 11 (𝑥 = 𝑘 → (𝑀...𝑥) = (𝑀...𝑘))
18 f1oeq23 6168 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑘) ∧ (𝑀...𝑥) = (𝑀...𝑘)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
1917, 17, 18syl2anc 694 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
2017feq2d 6069 . . . . . . . . . 10 (𝑥 = 𝑘 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑘)⟶𝐶))
2119, 20anbi12d 747 . . . . . . . . 9 (𝑥 = 𝑘 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶)))
22 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑘))
23 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑘 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑘))
2422, 23eqeq12d 2666 . . . . . . . . 9 (𝑥 = 𝑘 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
2521, 24imbi12d 333 . . . . . . . 8 (𝑥 = 𝑘 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
26252albidv 1891 . . . . . . 7 (𝑥 = 𝑘 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))))
2726imbi2d 329 . . . . . 6 (𝑥 = 𝑘 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))))
28 oveq2 6698 . . . . . . . . . . 11 (𝑥 = (𝑘 + 1) → (𝑀...𝑥) = (𝑀...(𝑘 + 1)))
29 f1oeq23 6168 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...(𝑘 + 1)) ∧ (𝑀...𝑥) = (𝑀...(𝑘 + 1))) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
3028, 28, 29syl2anc 694 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1))))
3128feq2d 6069 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...(𝑘 + 1))⟶𝐶))
3230, 31anbi12d 747 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)))
33 fveq2 6229 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)))
34 fveq2 6229 . . . . . . . . . 10 (𝑥 = (𝑘 + 1) → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
3533, 34eqeq12d 2666 . . . . . . . . 9 (𝑥 = (𝑘 + 1) → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))
3632, 35imbi12d 333 . . . . . . . 8 (𝑥 = (𝑘 + 1) → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
37362albidv 1891 . . . . . . 7 (𝑥 = (𝑘 + 1) → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
3837imbi2d 329 . . . . . 6 (𝑥 = (𝑘 + 1) → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
39 oveq2 6698 . . . . . . . . . . 11 (𝑥 = 𝑁 → (𝑀...𝑥) = (𝑀...𝑁))
40 f1oeq23 6168 . . . . . . . . . . 11 (((𝑀...𝑥) = (𝑀...𝑁) ∧ (𝑀...𝑥) = (𝑀...𝑁)) → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4139, 39, 40syl2anc 694 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ↔ 𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
4239feq2d 6069 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑔:(𝑀...𝑥)⟶𝐶𝑔:(𝑀...𝑁)⟶𝐶))
4341, 42anbi12d 747 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶)))
44 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , (𝑔𝑓))‘𝑁))
45 fveq2 6229 . . . . . . . . . 10 (𝑥 = 𝑁 → (seq𝑀( + , 𝑔)‘𝑥) = (seq𝑀( + , 𝑔)‘𝑁))
4644, 45eqeq12d 2666 . . . . . . . . 9 (𝑥 = 𝑁 → ((seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥) ↔ (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
4743, 46imbi12d 333 . . . . . . . 8 (𝑥 = 𝑁 → (((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
48472albidv 1891 . . . . . . 7 (𝑥 = 𝑁 → (∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥)) ↔ ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
4948imbi2d 329 . . . . . 6 (𝑥 = 𝑁 → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑥)–1-1-onto→(𝑀...𝑥) ∧ 𝑔:(𝑀...𝑥)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑥) = (seq𝑀( + , 𝑔)‘𝑥))) ↔ (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))))
50 f1of 6175 . . . . . . . . . . . . 13 (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
5150adantr 480 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → 𝑓:(𝑀...𝑀)⟶(𝑀...𝑀))
52 elfz3 12389 . . . . . . . . . . . 12 (𝑀 ∈ ℤ → 𝑀 ∈ (𝑀...𝑀))
53 fvco3 6314 . . . . . . . . . . . 12 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
5451, 52, 53syl2anr 494 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔‘(𝑓𝑀)))
55 ffvelrn 6397 . . . . . . . . . . . . . . 15 ((𝑓:(𝑀...𝑀)⟶(𝑀...𝑀) ∧ 𝑀 ∈ (𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
5650, 52, 55syl2anr 494 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) ∈ (𝑀...𝑀))
57 fzsn 12421 . . . . . . . . . . . . . . . . 17 (𝑀 ∈ ℤ → (𝑀...𝑀) = {𝑀})
5857eleq2d 2716 . . . . . . . . . . . . . . . 16 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) ↔ (𝑓𝑀) ∈ {𝑀}))
59 elsni 4227 . . . . . . . . . . . . . . . 16 ((𝑓𝑀) ∈ {𝑀} → (𝑓𝑀) = 𝑀)
6058, 59syl6bi 243 . . . . . . . . . . . . . . 15 (𝑀 ∈ ℤ → ((𝑓𝑀) ∈ (𝑀...𝑀) → (𝑓𝑀) = 𝑀))
6160imp 444 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℤ ∧ (𝑓𝑀) ∈ (𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6256, 61syldan 486 . . . . . . . . . . . . 13 ((𝑀 ∈ ℤ ∧ 𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀)) → (𝑓𝑀) = 𝑀)
6362adantrr 753 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑓𝑀) = 𝑀)
6463fveq2d 6233 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (𝑔‘(𝑓𝑀)) = (𝑔𝑀))
6554, 64eqtrd 2685 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → ((𝑔𝑓)‘𝑀) = (𝑔𝑀))
66 seq1 12854 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
6766adantr 480 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = ((𝑔𝑓)‘𝑀))
68 seq1 12854 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
6968adantr 480 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , 𝑔)‘𝑀) = (𝑔𝑀))
7065, 67, 693eqtr4d 2695 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ (𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))
7170ex 449 . . . . . . . 8 (𝑀 ∈ ℤ → ((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7271alrimivv 1896 . . . . . . 7 (𝑀 ∈ ℤ → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀)))
7372a1d 25 . . . . . 6 (𝑀 ∈ ℤ → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑀)–1-1-onto→(𝑀...𝑀) ∧ 𝑔:(𝑀...𝑀)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑀) = (seq𝑀( + , 𝑔)‘𝑀))))
74 f1oeq1 6165 . . . . . . . . . . . 12 (𝑓 = 𝑡 → (𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ↔ 𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘)))
75 feq1 6064 . . . . . . . . . . . 12 (𝑔 = 𝑠 → (𝑔:(𝑀...𝑘)⟶𝐶𝑠:(𝑀...𝑘)⟶𝐶))
7674, 75bi2anan9r 936 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) ↔ (𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶)))
77 coeq1 5312 . . . . . . . . . . . . . . 15 (𝑔 = 𝑠 → (𝑔𝑓) = (𝑠𝑓))
78 coeq2 5313 . . . . . . . . . . . . . . 15 (𝑓 = 𝑡 → (𝑠𝑓) = (𝑠𝑡))
7977, 78sylan9eq 2705 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → (𝑔𝑓) = (𝑠𝑡))
8079seqeq3d 12849 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , (𝑠𝑡)))
8180fveq1d 6231 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , (𝑠𝑡))‘𝑘))
82 simpl 472 . . . . . . . . . . . . . 14 ((𝑔 = 𝑠𝑓 = 𝑡) → 𝑔 = 𝑠)
8382seqeq3d 12849 . . . . . . . . . . . . 13 ((𝑔 = 𝑠𝑓 = 𝑡) → seq𝑀( + , 𝑔) = seq𝑀( + , 𝑠))
8483fveq1d 6231 . . . . . . . . . . . 12 ((𝑔 = 𝑠𝑓 = 𝑡) → (seq𝑀( + , 𝑔)‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))
8581, 84eqeq12d 2666 . . . . . . . . . . 11 ((𝑔 = 𝑠𝑓 = 𝑡) → ((seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘) ↔ (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
8676, 85imbi12d 333 . . . . . . . . . 10 ((𝑔 = 𝑠𝑓 = 𝑡) → (((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘))))
8786cbval2v 2321 . . . . . . . . 9 (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) ↔ ∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
88 simplll 813 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝜑)
89 seqf1o.1 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
9088, 89sylan 487 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
91 seqf1o.2 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
9288, 91sylan 487 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝐶𝑦𝐶)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
93 seqf1o.3 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
9488, 93sylan 487 . . . . . . . . . . . . . 14 (((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
95 simpllr 815 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑘 ∈ (ℤ𝑀))
96 seqf1o.5 . . . . . . . . . . . . . . 15 (𝜑𝐶𝑆)
9788, 96syl 17 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝐶𝑆)
98 simprl 809 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)))
99 simprr 811 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)
100 eqid 2651 . . . . . . . . . . . . . 14 (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1)))) = (𝑤 ∈ (𝑀...𝑘) ↦ (𝑓‘if(𝑤 < (𝑓‘(𝑘 + 1)), 𝑤, (𝑤 + 1))))
101 eqid 2651 . . . . . . . . . . . . . 14 (𝑓‘(𝑘 + 1)) = (𝑓‘(𝑘 + 1))
102 simplr 807 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)))
103102, 87sylib 208 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → ∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)))
10490, 92, 94, 95, 97, 98, 99, 100, 101, 103seqf1olem2 12881 . . . . . . . . . . . . 13 ((((𝜑𝑘 ∈ (ℤ𝑀)) ∧ ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) ∧ (𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶)) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))
105104exp31 629 . . . . . . . . . . . 12 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10687, 105syl5bir 233 . . . . . . . . . . 11 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
107106alrimdv 1897 . . . . . . . . . 10 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
108107alrimdv 1897 . . . . . . . . 9 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑠𝑡((𝑡:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑠:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑠𝑡))‘𝑘) = (seq𝑀( + , 𝑠)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
10987, 108syl5bi 232 . . . . . . . 8 ((𝜑𝑘 ∈ (ℤ𝑀)) → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1)))))
110109expcom 450 . . . . . . 7 (𝑘 ∈ (ℤ𝑀) → (𝜑 → (∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘)) → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
111110a2d 29 . . . . . 6 (𝑘 ∈ (ℤ𝑀) → ((𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑘)–1-1-onto→(𝑀...𝑘) ∧ 𝑔:(𝑀...𝑘)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑘) = (seq𝑀( + , 𝑔)‘𝑘))) → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...(𝑘 + 1))–1-1-onto→(𝑀...(𝑘 + 1)) ∧ 𝑔:(𝑀...(𝑘 + 1))⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘(𝑘 + 1)) = (seq𝑀( + , 𝑔)‘(𝑘 + 1))))))
11216, 27, 38, 49, 73, 111uzind4 11784 . . . . 5 (𝑁 ∈ (ℤ𝑀) → (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁))))
1135, 112mpcom 38 . . . 4 (𝜑 → ∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)))
114 fvex 6239 . . . . . . 7 (𝐺𝑥) ∈ V
115114, 3fnmpti 6060 . . . . . 6 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁)
116 fzfi 12811 . . . . . 6 (𝑀...𝑁) ∈ Fin
117 fnfi 8279 . . . . . 6 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) Fn (𝑀...𝑁) ∧ (𝑀...𝑁) ∈ Fin) → (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin)
118115, 116, 117mp2an 708 . . . . 5 (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin
119 f1of 6175 . . . . . . 7 (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) → 𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
1201, 119syl 17 . . . . . 6 (𝜑𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
121 ovexd 6720 . . . . . 6 (𝜑 → (𝑀...𝑁) ∈ V)
122 fex2 7163 . . . . . 6 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ (𝑀...𝑁) ∈ V ∧ (𝑀...𝑁) ∈ V) → 𝐹 ∈ V)
123120, 121, 121, 122syl3anc 1366 . . . . 5 (𝜑𝐹 ∈ V)
124 f1oeq1 6165 . . . . . . . 8 (𝑓 = 𝐹 → (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ↔ 𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
125 feq1 6064 . . . . . . . 8 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔:(𝑀...𝑁)⟶𝐶 ↔ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶))
126124, 125bi2anan9r 936 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) ↔ (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶)))
127 coeq1 5312 . . . . . . . . . . 11 (𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓))
128 coeq2 5313 . . . . . . . . . . 11 (𝑓 = 𝐹 → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
129127, 128sylan9eq 2705 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (𝑔𝑓) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))
130129seqeq3d 12849 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , (𝑔𝑓)) = seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)))
131130fveq1d 6231 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁))
132 simpl 472 . . . . . . . . . 10 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → 𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))
133132seqeq3d 12849 . . . . . . . . 9 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → seq𝑀( + , 𝑔) = seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))))
134133fveq1d 6231 . . . . . . . 8 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (seq𝑀( + , 𝑔)‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
135131, 134eqeq12d 2666 . . . . . . 7 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → ((seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁) ↔ (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
136126, 135imbi12d 333 . . . . . 6 ((𝑔 = (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∧ 𝑓 = 𝐹) → (((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) ↔ ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
137136spc2gv 3327 . . . . 5 (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∈ Fin ∧ 𝐹 ∈ V) → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
138118, 123, 137sylancr 696 . . . 4 (𝜑 → (∀𝑔𝑓((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ 𝑔:(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , (𝑔𝑓))‘𝑁) = (seq𝑀( + , 𝑔)‘𝑁)) → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))))
139113, 138mpd 15 . . 3 (𝜑 → ((𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)):(𝑀...𝑁)⟶𝐶) → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁)))
1401, 4, 139mp2and 715 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁))
141120ffvelrnda 6399 . . . . 5 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ (𝑀...𝑁))
142 fveq2 6229 . . . . . 6 (𝑥 = (𝐹𝑘) → (𝐺𝑥) = (𝐺‘(𝐹𝑘)))
143 fvex 6239 . . . . . 6 (𝐺‘(𝐹𝑘)) ∈ V
144142, 3, 143fvmpt 6321 . . . . 5 ((𝐹𝑘) ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
145141, 144syl 17 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)) = (𝐺‘(𝐹𝑘)))
146 fvco3 6314 . . . . 5 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ 𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
147120, 146sylan 487 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘(𝐹𝑘)))
148 seqf1o.8 . . . 4 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = (𝐺‘(𝐹𝑘)))
149145, 147, 1483eqtr4d 2695 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹)‘𝑘) = (𝐻𝑘))
1505, 149seqfveq 12865 . 2 (𝜑 → (seq𝑀( + , ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)) ∘ 𝐹))‘𝑁) = (seq𝑀( + , 𝐻)‘𝑁))
151 fveq2 6229 . . . . 5 (𝑥 = 𝑘 → (𝐺𝑥) = (𝐺𝑘))
152 fvex 6239 . . . . 5 (𝐺𝑘) ∈ V
153151, 3, 152fvmpt 6321 . . . 4 (𝑘 ∈ (𝑀...𝑁) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
154153adantl 481 . . 3 ((𝜑𝑘 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥))‘𝑘) = (𝐺𝑘))
1555, 154seqfveq 12865 . 2 (𝜑 → (seq𝑀( + , (𝑥 ∈ (𝑀...𝑁) ↦ (𝐺𝑥)))‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
156140, 150, 1553eqtr3d 2693 1 (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = (seq𝑀( + , 𝐺)‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054  wal 1521   = wceq 1523  wcel 2030  Vcvv 3231  wss 3607  ifcif 4119  {csn 4210   class class class wbr 4685  cmpt 4762  ccnv 5142  ccom 5147   Fn wfn 5921  wf 5922  1-1-ontowf1o 5925  cfv 5926  (class class class)co 6690  Fincfn 7997  1c1 9975   + caddc 9977   < clt 10112  cz 11415  cuz 11725  ...cfz 12364  seqcseq 12841
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-nn 11059  df-n0 11331  df-z 11416  df-uz 11726  df-fz 12365  df-fzo 12505  df-seq 12842
This theorem is referenced by:  summolem3  14489  prodmolem3  14707  eulerthlem2  15534  gsumval3eu  18351  gsumval3  18354
  Copyright terms: Public domain W3C validator