Remove pasted elaborator terms and _aux_ names from HodgeFiltration #123
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 203 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.318
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #123"
general
weight: 0.35
b-mehta
Closes #112.
Definitions/AlgebraicGeometry/HodgeFiltration.leanhad three pieces ofelaborator output pasted back into the source:
ofHom_algebraMap_comp_complexScalarSMulspelled the inclusionK → ℂas@AddMonoidHomClass.toAddMonoidHom K ℂ (K →+ℂ) Field.toSemifield.… _(algebraMap K ℂ); it now reads
(algebraMap K ℂ).toAddMonoidHomon bothsides, the spelling
fieldToComplexConstantSheafalready uses.const_map_algebraMap_comp_complexScalarPresheafwas an unformatted one-linerflhelper feeding thesimpbelow it; the new proof does not need it, soit is gone.
fieldToComplexConstantSheaf_scalarandintegerToFieldConstantSheaf_comp_fieldScalarSheafwere guarded byset_option linter.auxLemma false in+attribute [local implicit_reducible]. Both blocks areTopCat.Sheaf TopCat.instCategorySheaf._aux_1/_3/_5 … in
removed; the lemmas are reproved with
changeintoconstantSheaf … |>.mapform plus
Functor.map_comp, exactly as the neighbouringfieldScalarSheaf_one/_add/_mulalready do.No
_aux_name and nolinter.auxLemmais left anywhere in the repo; the six@[implicit_reducible]attributes on our own definitions are untouched. Thisretires the
HodgeFiltrationhazard called out in REVIEW-NOTES.md item 7("will break on a Mathlib bump"); the note itself is left for a separate pass.
Verified:
lake buildandlake build HodgeGuideboth complete successfully,scripts/check_import_layers.py→ "Import layers OK",lake exe lint-style HodgeConjecture Other HodgeGuideclean.🤖 Generated with Claude Code