Skip to content

docs(Composition): translate the full text of CSwFP/7 - #65

Merged
arademaker merged 8 commits into
mainfrom
feat/composition-full
Nov 20, 2026
Merged

arademaker merged 8 commits into
mainfrom
feat/composition-full

Conversation

@arademaker

@arademaker arademaker commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Translates the passages of CSwFP/7 (opening, 7.1, 7.2, 7.5, 7.6) into the
full blocks of the Composition chapter, removing the TODO notes and the AI
drafts 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:

Closes #47.

🤖 Generated with Claude Code

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.
Copilot AI balanced review requested due to automatic review settings November 20, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread CSwL/Composition.lean Resolved
Comment thread CSwL/Composition/Quantification.lean Resolved
Comment thread CSwL/Composition/Rules.lean Resolved
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.
Bring in {cref} (#67) and the ModelChecking revision (#68), so the
chapter can cite by {cref} and follow the new layout of the mutual
blocks.
- 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.
@arademaker
arademaker merged commit 9a0fa8d into main Nov 20, 2026
1 check passed
@arademaker
arademaker deleted the feat/composition-full branch November 20, 2026 23:46
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.

Composition: translate the full text of CSwFP/7.1, 7.2, 7.5 and 7.6

2 participants