Documentation

Mathlib.Analysis.SpecialFunctions.Sigmoid

Sigmoid function #

In this file we define the sigmoid function x : ℝ ↦ (1 + exp (-x))⁻¹ and prove some of its analytic properties.

We then show that the sigmoid function can be seen as an order embedding from to I = [0, 1] and that this embedding is both a topological embedding and a measurable embedding. We also prove that the composition of this embedding with the measurable embedding from a standard Borel space α to is a measurable embedding from α to I.

Main definitions and results #

Sigmoid as a function from to #

Sigmoid as a function from to I #

Sigmoid as an OrderEmbedding from to I #

Tags #

sigmoid, embedding, measurable embedding, topological embedding

noncomputable def Real.sigmoid (x : ) :

The sigmoid function from to .

Equations
    Instances For
      theorem Real.sigmoid_lt {a b : } :
      a < ba.sigmoid < b.sigmoid
      @[simp]
      theorem Real.sigmoid_inj {a b : } :
      theorem AnalyticAt.sigmoid' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace E] {f : E} {x : E} (fa : AnalyticAt f x) :
      AnalyticAt (fun (z : E) => (f z).sigmoid) x
      noncomputable def unitInterval.sigmoid :

      The sigmoid function from to I.

      Equations
        Instances For

          The Sigmoid function as an OrderEmbedding from to I.

          Equations
            Instances For