Commit 2026-09-16 20:50 92fc6042
View on Github →refactor(Analysis/LocallyConvex): state hulls via ClosureOperator (#42517)
Restate balancedHull and the neighborhood bases of the origin in terms of the ClosureOperator API, and add the general lemmas that make this possible:
ClosureOperator.closure_binop_le: a closure operator is sub-ffor any monotone binary operationfwhose closed elements are stable underf;balancedHull_add_subsetandabsConvexHull_add_subsetare instances.Filter.HasBasis.and_isClosed: combine a basis ofp-sets with a basis ofc-closed sets whencpreservesp.Topology.closureOperator: topological closure, bundled.Balanced.sUnion, andBalanced.closuregeneralized toSeminormedRing.balancedCorekeeps its definition as a union of balanced subsets, but its API is now derived from the hull side;balancedCoreAuxis removed in favour of lemmas stated directly about⋂ (r : 𝕜) (_ : 1 ≤ ‖r‖), r • s. The newnhds_basis_open_balancedjoinsnhds_basis_closed_balanced,nhds_hasBasis_absConvex_openandnhds_hasBasis_absConvex_closed, all four proved throughand_isClosed. AI Disclosure: Much of the refactoring work across files was performed by Claude Opus 5 after being given examples I wrote.