Repository navigation
docs(Composition): translate the full text of CSwFP/7 - #65
Merged
Merged
Conversation
Titles in Parsing and Composition, and the {ref} texts that quote
them, are capitalized. STYLE-WRITING.md records the convention, and
issue #64 tracks the other chapters.
AI usage: Claude (Anthropic) drafted the change; the author approved
it.
The full blocks of the chapter opening, 7.1, 7.2, 7.5 and 7.6 hold the translation of the passages that were marked TODO, and the AI drafts kept as raw material are removed (closes #47). In exercise at-least-n, the description of the task moves from the full text and the terse cue into its statement. AI usage: the translations were drafted with GPT 6.1 Sol and revised by the author. Claude (Anthropic) moved the description of exercise at-least-n into its statement; the author reviewed and approved it.
The plan at the top of the chapter is no longer the current task, so its note loses the NOW tag. The key point for the terse cues and the pointer to the first draft translation are dropped, now that the full text is translated.
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The working plan still appears in terse, solutions, and grading outputs, while translation-fidelity issues and the omitted EXT condition remain unresolved.
3 open issues
What changed in this PR
Adds Portuguese prose to the Composition chapter’s full blocks, supporting the Lean textbook’s treatment of compositional semantics and addressing issue #47.
Changes:
- Replaces translation TODOs and AI draft notes with prose on quantification, typed meanings, and direct interpretation.
- Adds a title-capitalization convention and updates selected headings and references.
- Revises the chapter’s working-plan note and removes grading for
values_correct.
| File | Description |
|---|---|
STYLE-WRITING.md |
Defines capitalization for titles and title references. |
CSwL/Parsing/FurtherReading.lean |
Capitalizes the section title. |
CSwL/Parsing/Combinators.lean |
Updates title and reference capitalization. |
CSwL/Parsing.lean |
Capitalizes the chapter title. |
CSwL/ModelChecking.lean |
Updates a reference and removes theorem grading and an editorial note. |
CSwL/Logic/FOL.lean |
Updates the Parsing chapter reference text. |
CSwL/Composition/TypedMeanings.lean |
Adds prose explaining typed meanings and semantic rules. |
CSwL/Composition/Rules.lean |
Adds the introduction to compositionality. |
CSwL/Composition/Quantification.lean |
Adds prose on quantifiers, numerical patterns, and automata. |
CSwL/Composition/Interpretation.lean |
Adds explanations of direct semantic interpretation. |
CSwL/Composition.lean |
Adds introductory prose and revises the working-plan note. |
Review effort: Balanced
arademaker
force-pushed
the
feat/composition-full
branch
from
November 20, 2026 17:53
d8cc2d6 to
ba692fd
Compare
Resolve conflicts in two terse cues of Composition: the cue before the #eval in Interpretation.lean describes sentences, which now lives in that file, and the cue on VP → TV NP in TypedMeanings.lean says "ditransitivo".
…ivo" The refs from Composition to the ModelChecking chapter cite its current title, and the last two occurrences of "bitransitivo" become "ditransitivo", the book's term.
- intSent leaves the mutual block, as in ModelChecking; the text says
three categories refer to each other.
- References use {cref}, so their text follows the titles; the cue on
problem 2 no longer mentions the dropped lambda-calculus sections, and
the outdated plan note is removed.
- Repeated explanations are cut: compositionality in the opening and in
Rules, the reduction to |A-B| and |A∩B| before ISOM, the definitions of
EXT, CONS and ISOM ahead of their own paragraphs, and the construction
of gen-tree, which toNum gives.
- Neither full prose nor terse cues announce exercises or anticipate
their answers (some-not-refl, only-not-cons, the monotonicity
exercises, the MON quiz, and others); STYLE-WRITING.md records the
rule.
- Stray punctuation after math and code is joined to it.
AI usage: Claude (Anthropic) reviewed the chapter and drafted the
changes; the author approved each one.
Taking the restriction as the universe needs EXT as well as CONS: CONS only drops the part of the scope outside the restriction. The terse cue and the full text of ListQuant now cite both. The opening of Rules says that the translation goes from natural language to a formal logical language. AI usage: the EXT correction was pointed out by GitHub Copilot's review and drafted by Claude (Anthropic); the author approved it.
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.


Translates the passages of CSwFP/7 (opening, 7.1, 7.2, 7.5, 7.6) into the
fullblocks of the Composition chapter, removing the TODO notes and the AIdrafts kept as raw material. Also capitalizes the titles of chapters and
sections and retires the chapter's working plan note.
Also, after a review of the whole chapter:
intSentleaves themutualblock, as in ModelChecking (refactor(ModelChecking): take Sent out of the mutual blocks and revise the prose #68).{cref}(feat(CSwLMeta): add {cref}, cross-references to sections and exercises #67), so their text follows the titles.STYLE-WRITING.mdrecords the rule.Closes #47.
🤖 Generated with Claude Code