auto-task(Capacity): clear QuantumInfo/Capacity/Capacity.lean from the linter exemption list#1370
Conversation
…e linter exemption list Co-authored-by: Claude <noreply@anthropic.com>
|
Thank you for this PR, which will now be reviewed. If submitting to ./Physlib or ./QuantumInfo, please see our review guidelines if you are not familiar with the process. You should expect a back and forth with a reviewer before your PR is merged. See also that link for how to add appropriate labels to your PR. The PR will also go through a number of automated checks. You can learn more about these here, including how to run them locally. If you are submitting to ./PhyslibAlpha there will be a lighter review process, though your PR must still pass the automated checks. If you want to bring attention to this PR, please write a message on this thread of the Lean Zulip. Important: If a reviewer adds an |
Removed the definition of 'HasTimeDimension' from the API.
jstoobysmith
left a comment
There was a problem hiding this comment.
Approved - will merge once passes linters (removed an entry from the API-map).
Summary
Removes
QuantumInfo/Capacity/Capacity.leanfromscripts/LinterExemption.txt, so the CIlinters (
lake exe runPhyslibLintersand./scripts/lint-style.sh) now enforce their rules onit, and fixes the file so it passes them.
No open PR was handling this file (in particular #1244, which clears 56 other QuantumInfo
files, does not touch it).
Changes to
QuantumInfo/Capacity/Capacity.leanAll changes are style/documentation only — no statement or proof was changed in meaning:
proof-internal line breaks), using the standard 4-space continuation indent for split
signatures.
(
i. Overview/ii. Key results/iii. Table of contents/iv. References), keepingthe original physics content: the emulation-based definition of quantum capacity, the basic
facts proved here, and the LSD (Lloyd–Shor–Devetak) theorem statements.
(
A. Basic definitionsthroughE. The quantum capacity) so the file also passes theoptional
lake exe module_doc_lint.quantumCapacity(the supremum of achievable transmissionrates), required by the
docBlamecheck inrunPhyslibLinters.variableline.Verification
lake buildsucceeds (9119 jobs).lake exe runPhyslibLintersreports no issues for this file (remaining local failures areall in files still on the exemption list).
./scripts/lint-style.py QuantumInfo/Capacity/Capacity.leanexits clean, and./scripts/lint-style.shreports no new issues.module_doc_lintandspellingalso pass for this file.🤖 Generated with Claude Code