You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(LipschitzSmooth/Algebra): rewrite hypothesis-free under abs predicate
The two-sided abs form of `LipschitzSmoothWith` (predicated on the
weakest form `lineDeriv`) implies line-differentiability everywhere via
`LipschitzSmoothWith.hasLineDerivAt`, so the algebraic preservation
lemmas no longer require any `Differentiable ℝ f` hypothesis:
- `add` works in pure `lineDeriv` form by computing
`HasLineDerivAt (f₁ + f₂)` from the two pointwise `hasLineDerivAt`
witnesses (via `HasDerivAt.add`), then chaining the triangle
inequality with the two abs bounds.
- `const_smul` analogously via `HasDerivAt.const_smul` and `abs_mul`
plus `abs_of_nonneg` (since `c : NNReal ≥ 0`).
- `neg` becomes trivial under the abs predicate (it was not provable
under the old one-sided descent form), with the *same* constant `K`.
Also fix the `lipschitzSmoothWith_affine` proof in `Basic.lean` (the
post-`map_sub` goal is now `|0| ≤ 0` rather than the old descent
`linarith`-trivial goal, so the closing tactic switches to `simp`).
The module docstring is updated to drop the (now-false) "not closed
under negation" caveat — that was a consequence of the one-sided form
and disappears in the two-sided form. The deferred-follow-up sorry on
`comp_continuousAffineMap` is unchanged.
0 commit comments