Skip to content

fix: disambiguate duplicate Verso labels in Section 4.1 - #653

Open
Chessing234 wants to merge 1 commit into
teorth:mainfrom
Chessing234:fix/section-4-1-verso-labels
Open

fix: disambiguate duplicate Verso labels in Section 4.1#653
Chessing234 wants to merge 1 commit into
teorth:mainfrom
Chessing234:fix/section-4-1-verso-labels

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Section 4.1 has six groups of declarations sharing one docstring:

  • Definition 4.1.1 (Integers) — 2
  • Lemma 4.1.3 (Multiplication well-defined) — 3
  • Proposition 4.1.6 (laws of algebra) / Exercise 4.1.4 — 4 instances
  • Definition 4.1.10 (Ordering of the integers) — 2 instances
  • Lemma 4.1.11(d) (Negation reverses order) / Exercise 4.1.7 — 2
  • Lemma 4.1.11(f) (Order trichotomy) / Exercise 4.1.7 — 4

Same convention as #624 and the companion Section 4.2 PR: keep the statement name, fold the part into the parenthetical. Docstrings only.

One deliberate non-change: the bare Definition 4.1.1 on the PreInt setoid instance keeps its label, since it is the only one without the (Integers) qualifier and so does not collide.

Checked: no duplicate one-line docstrings remain, all edited lines within 100 characters.

lake build Analysis.Section_4_1 succeeds locally — ✔ [3265/3265] Built Analysis.Section_4_1 (163s), Build completed successfully.

Seventeen docstrings across six groups shared a label: Definition 4.1.1,
Lemma 4.1.3, Proposition 4.1.6, Definition 4.1.10, Lemma 4.1.11(d) and
Lemma 4.1.11(f).

The part goes in the parenthetical, matching Section 4.2 and Proposition
9.3.14.  The `Definition 4.1.1` on the `PreInt` setoid instance is left alone:
it is the only one without the `(Integers)` qualifier, so it does not collide.
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