Skip to content

Fix definitions and statements in Section 7.2#449

Open
rkirov wants to merge 1 commit intoteorth:mainfrom
rkirov:fix-7.2-statements
Open

Fix definitions and statements in Section 7.2#449
rkirov wants to merge 1 commit intoteorth:mainfrom
rkirov:fix-7.2-statements

Conversation

@rkirov
Copy link
Contributor

@rkirov rkirov commented Feb 18, 2026

  • Fix Add/Sub instances: use min (not max) for starting index, matching Section 6.1 Sequence conventions. The max version silently drops terms from the lower-indexed series.
  • Fix telescope (Lemma 7.2.15): flip subtraction to a_n - a_{n+1} (was a_{n+1} - a_n), matching Tao's statement.
  • Fix unused variable warning in example_7_2_7
  • Fix docstring typo: Example → Exercise 7.2.4

- Fix Add/Sub instances: use min (not max) for starting index,
  matching Section 6.1 Sequence conventions. The max version
  silently drops terms from the lower-indexed series.
- Fix telescope (Lemma 7.2.15): flip subtraction to a_n - a_{n+1}
  (was a_{n+1} - a_n), matching Tao's statement.
- Fix unused variable warning in example_7_2_7
- Fix docstring typo: Example → Exercise 7.2.4

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
m := max a.m b.m
seq n := if n ≥ max a.m b.m then a.seq n + b.seq n else 0
vanish n hn := by rw [lt_iff_not_ge] at hn; simp [hn]
m := min a.m b.m
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note this matches the change we made in ff59747.

Also with max - Series.convergesTo.add is not even true. Consider, a = 2,0,0,0,0,0,... (a.m=0) and b = 0,1,0,0,0,0,0 (b.m = 1), with max (a+b).m = 1, so (a+b).sum = 1, while a.sum = 2 and b.sum = 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments