Skip to content

Commit 9dbb715

Browse files
A reference is read for everything it says, with patience (#1412)
The first pass over #1409's book was its table of contents turned into a list of features to add. The maintainer pointed out what that misses: the methods of proof the text teaches, which #746's proof engine is built from; every example and exercise, which is a test case; what the text says is wrong in an existing design -- mod as an operator where the mathematics has a relation; and the cross-check of a convention against other sources before it is adopted. The section says so, and what the output of a reading is. Part of #1409. Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent e2d74d9 commit 9dbb715

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,41 @@ Branch cuts deserve a specific warning: `arcsin`, `log`, and fractional powers d
371371
conventions, and C99, .NET, Python and Mathematica do not all agree. Decide deliberately, cite the
372372
convention, and test the disagreeing points.
373373

374+
### A reference is read for everything it says, with patience
375+
376+
A book, a paper or a corpus handed to you as a goal is not a list of features to add, and reading
377+
its table of contents and probing a few spellings is not reading it. Read it through, and take
378+
out everything it has:
379+
380+
- **The objects and their notation** — what is defined, how it is written, and which spellings the
381+
text explicitly refuses. A sentence like *"in mathematics, `mod` is a relation, not an operator or
382+
function; you won't see us write `5 mod 3 = 2`"* is a finding about *this library's* design, not
383+
a remark to skip: it says an existing node is the wrong shape, and that goes on the list as
384+
**what is wrong**, beside what is missing.
385+
- **The operations** — what is computed, decided or characterised, and by which procedure.
386+
- **The methods** — how the text *proves* and *argues*: induction in its variants, contrapositive,
387+
contradiction, cases, counter-examples. A proof method is as much a capability as an object
388+
([#746](https://github.com/asc-community/AngouriMath/issues/746)'s proof engine is built from
389+
exactly these), and a reference that teaches them is specifying it.
390+
- **Every example and exercise as a test case.** *"Does there exist a natural number `k` such that
391+
`5k` is one more than a multiple of `7`? If so, the smallest? Can you characterise all of them?"*
392+
is three questions the library should be able to state as nodes and answer — a quantified
393+
statement, a minimum over a set, a set characterised by a congruence — and until each of those
394+
is expressible and decided, the reference is not encoded. Collect them by chapter, with the
395+
answers the text gives; they are the corpus the work is measured against.
396+
397+
Cross-check every convention against a second and third source before adopting the text's — the
398+
list above, Wolfram MathWorld, Wikipedia's notation tables — and say which was chosen and why.
399+
Terminology the sources themselves call non-standard (MathWorld on *natural number*, *whole
400+
number*, *counting number*) is a reason to pick the unambiguous spelling, not the familiar one.
401+
402+
The output of the reading is a document with those lists — objects, notation, operations,
403+
methods, what is wrong, test cases — kept beside the goal it came from, and the docket of work is
404+
derived from it. A summary written before the reading is finished is the thing this section
405+
exists to stop, and it has happened: the first pass over
406+
[#1409](https://github.com/asc-community/AngouriMath/issues/1409)'s book was a table of contents
407+
turned into a feature list.
408+
374409
## Working practice
375410

376411
**A plan belongs in an issue, not in a comment.** When work splits into separable pieces — or when

0 commit comments

Comments
 (0)