Repository navigation
fix: proofread solutions for Part Foxtrot - #84
Merged
Merged
Conversation
Corrects several errors in src/sol-foxtrot.typ found while proofreading
Part Foxtrot's solutions: a missing factor of 2 in the saddle-point
identity for exer-lattice-saddle, wrong boundary points/bound in the
exer-opt-lm-sin solution (sin(y)=1 gives y=pi/2+2*pi*k, not y=k*pi), a
parity swap in the second-derivative classification for exer-mt2p4, a
"10/l" typo for "10/3" in exer-mt2p5, a grammar fix ("both ... and" not
"both ... or") and a dangling, unfinished cross-reference to the "buy
two get one free" theorem, which required adding a label
<sec-detect-basis> in src/basis.typ to point to.
Closes #61
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EH8uPmHRTBg3EmEXmR7225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #61.
Proofread
src/sol-foxtrot.typand found a handful of small errors, plus one dangling cross-reference:exer-lattice-saddle: the boxed identitycos((x-y)pi) - cos((x+y)pi) = sin(pi x) sin(pi y)was missing a factor of 2 (the correct product-to-sum identity iscos(A-B) - cos(A+B) = 2 sin A sin B). Fixed by dividing the cosine difference by 2.exer-opt-lm-sin: the boundary casex = 0givessin(y) = 1, whose solutions arey = pi/2 + 2 pi k(pi/2, 5pi/2, 9pi/2, ...), noty = pi, 3pi, 5pi, ...as previously written; same issue (and same fix) for the symmetricy = 0case. Updated the stated bound fromx+y >= pito the correctx+y >= pi/2(the conclusion is unchanged, sincepi/2 > pi/3).exer-mt2p4: the prose bullet statedA = -pi^2for oddxandA = pi^2for evenx, which is backwards — it contradicts the table immediately below it (and the correct sign is confirmed by the later "critical points ofa(x) = cos(pi x)" discussion). Swapped the parities to match.exer-mt2p5:(x,y,z) = (10/l, 20/3, 20/3)had a typo,linstead of3.exer-every-saddlesolution: "We will prove that the following result" → "We will prove the following result", and "every point offwill be both a local minimum or local maximum" → "... both a local minimum and a local maximum".exer-mt2p6) referenced the "buy two get one free" result with a dangling, unfinished sentence ("result from\nwe just need..."). Added a label<sec-detect-basis>to the corresponding recipe section insrc/basis.typand completed the cross-reference.No large mathematical errors were found; all the issues above were minor (sign/factor slips, a stray typo, or unfinished prose).
Test plan
typst+ the@local/evan:1.0.0package and all required@previewdeps, then rantypst compile lamv.typend-to-end (with placeholder SVGs standing in for Asymptote figures, sinceasyisn't available in this environment) — compiles cleanly with no errors, confirming the new@sec-detect-basisreference resolves and no syntax was broken.🤖 Generated with Claude Code
https://claude.ai/code/session_01EH8uPmHRTBg3EmEXmR7225
Generated by Claude Code