Skip to content

fix: disambiguate duplicate Verso labels in Section 4.2 - #651

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

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

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Section 4.2 has five groups of declarations sharing one docstring, so the Verso documentation cannot distinguish them:

  • Definition 4.2.1 (Rationals) — 2 declarations
  • Proposition 4.2.4 (laws of algebra) / Exercise 4.2.3 — 5 instances
  • Lemma 4.2.7 (trichotomy of rationals) / Exercise 4.2.4 — 4 theorems
  • Definition 4.2.8 (Ordering of the rationals) — 2 instances
  • Proposition 4.2.9(a) (order trichotomy) / Exercise 4.2.5 — 4 theorems

Same fix as #624 for Proposition 9.3.14: keep the statement name and fold the part into the parenthetical, e.g. (laws of algebra, field), (trichotomy of rationals, zero vs positive). Nothing outside the docstrings changes.

Checked: no duplicate one-line docstrings remain in the file, and every edited line stays inside the 100-character limit.

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

Seventeen docstrings across five groups shared a label, so the Verso
documentation could not tell the declarations apart: Definition 4.2.1,
Proposition 4.2.4, Lemma 4.2.7, Definition 4.2.8 and Proposition 4.2.9(a).

Keep the statement name and fold the part into the parenthetical, e.g.
(laws of algebra, field), matching the convention used for Proposition 9.3.14.
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