fix(proofs): use /- block comment for RTAJittered.lean (matches RTA.lean style)#165
fix(proofs): use /- block comment for RTAJittered.lean (matches RTA.lean style)#165
Conversation
Lean 4.29.0-rc6 rejects `import` after a `/-! ... -/` module-docstring in this file's pattern, even though Mathlib uses module docstrings throughout — likely an interaction with the closing `-/` being on the same line as content text. The other working files in this directory (RTA.lean, RMBound.lean, EDF.lean) all use a regular `/- ... -/` block comment with the closing `-/` on its own line, so we match that style. #159 (the previous import-order fix) addressed the structural ordering but introduced the `/-!` form. CI surfaced that in #151's first run that actually reached our in-tree files via mathlib-cache. Body unchanged. Format-only edit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
AI Code Review for PR #165pulseengine/spar: SummaryThe PR changes the module-docstring comment block in Potential Bugs or Issues
Security ConcernsThere are no security concerns associated with this change as it only involves modifying comments and does not affect any logic or data processing in the file. Suggestions for Improvement
Overall AssessmentThe change is a straightforward format-only update and should be relatively safe to merge. However, it's important to ensure compatibility with existing installations and review other files for consistency. This review was generated by a local AI model. It is advisory only and may contain inaccuracies. Reviewed at |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
The new Lean CI gate from #151 surfaced that `/-! ... -/` module-docstring before `import` is rejected by Lean 4.29.0-rc6 in this file's pattern, despite #159 having structurally moved imports above all comment blocks. The other working proof files (RTA.lean, RMBound.lean, EDF.lean) use `/- ... -/` regular block comments with closing `-/` on its own line — adopting that pattern resolves the rejection.
Format-only change. Comment body unchanged.
Test plan
🤖 Generated with Claude Code