Skip to content

Add build instructions and style conventions to CONTRIBUTING.md#480

Open
shntnu wants to merge 1 commit intoteorth:mainfrom
shntnu:improve-contributing-md
Open

Add build instructions and style conventions to CONTRIBUTING.md#480
shntnu wants to merge 1 commit intoteorth:mainfrom
shntnu:improve-contributing-md

Conversation

@shntnu
Copy link
Copy Markdown

@shntnu shntnu commented Apr 7, 2026

Adds build instructions and style conventions to CONTRIBUTING.md:

Context: Your recent update clarifies that solutions belong in downstream forks. I considered whether a style guide still makes sense given that framing, but looking at the PR history, there are active upstream contributions — statement/scaffold fixes (rkirov), infrastructure (david-christiansen), measure theory formalization (aodecipher) — where these conventions apply. Build instructions are useful for anyone working in a fork as well.

Separately — from my experience with PR #477, it may be worth adding a line encouraging contributors to engage with the textbook before filing proofs. I was approaching this as an AI-assisted experiment rather than learning the math, and that's probably worth discouraging.

@shntnu shntnu force-pushed the improve-contributing-md branch 2 times, most recently from 920dd13 to 02f65b1 Compare April 7, 2026 11:18
@shntnu shntnu changed the title Expand CONTRIBUTING.md with sorry policy, build instructions, and style guide Add build instructions and style conventions to CONTRIBUTING.md Apr 7, 2026
…le guide

Document contributor guidelines that are currently only discoverable
through issue discussions and PR feedback:

- Build instructions (lake exe cache get && lake build)
- Sorry policy with the critical caveat that exercise assignments are
  not always visible in Lean docstrings — a theorem may be assigned as
  an exercise elsewhere in the textbook (e.g., Theorem 6.1.19 is
  Exercise 6.1.8, but the Lean source only says "Theorem 6.1.19(a)")
- Link to teorth#208 where the sorry policy was discussed
- Style conventions (faithfulness over golfing, with teorth#476 as precedent
  for reverts of proof cleanups)
- AI-assisted contribution requirements

The sorry policy caveat comes from direct experience: PR teorth#477 was
closed because Theorem 6.1.19 appeared non-exercise in the Lean source
but is assigned as Exercise 6.1.8 in the textbook.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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