Softplus abs sub le
Provedsoftplus_abs_sub_leaether-catalogmachinelearning
Formal statement of softplus_abs_sub_le from the Aether Catalog (MachineLearning). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem softplus_abs_sub_le(x y : ℝ) : |softplus x - softplus y| ≤ |x - y| := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/ShefferFunction/Lean/SoftplusBasic.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/ShefferFunction/Lean/SoftplusBasic.lean import Mathlib import Definitions.Def_MachineLearning_ShefferFunction_Lean_SoftplusBasic /-! # Softplus and the logistic sigmoid: the analytic base of the Sheffer program `ShefferAlgebra.lean` and `ExtendedTheorems.lean` are written against a module of basic softplus facts that was not present in this repository, so neither of them compiled. This file supplies exactly that base layer: * `softplus x = log (1 + eˣ)` with its value at `0`, strict monotonicity, continuity, differentiability (with the explicit derivative `eˣ/(1+eˣ)`, the logistic sigmoid), the reflection identity `σ(x) − σ(−x) = x`, subadditivity and `1`-Lipschitz continuity; * `logisticSigmoid x = eˣ/(1+eˣ)` with the complement identity `S(x) + S(−x) = 1`. The reflection identity is what puts the identity function into the Sheffer algebra, and the Lipschitz bound is the "Lipschitz barrier" that keeps `x²` out of it. -/ open Real noncomputable section
Formal statement
theorem softplus_abs_sub_le(x y : ℝ) : |softplus x - softplus y| ≤ |x - y| := by sorry
Source