Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Factorized latent laws and the entangling maps ggg, hhh, AAA, fff of Theorem 1

Definition
DisentanglementImpossibility_Basic

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

disentanglementidentifiabilitynonlinear-icarepresentation-learning

Objects of Theorem 1 (Section 3, p. 3) and of its proof (Appendix A, p. 12) in Locatello et al. (2019).

  1. Factorized latent law. A latent variable z=(z1,…,zd)z=(z_1,\dots,z_d)z=(z1​,…,zd​) has independent coordinates zi∼μiz_i\sim\mu_izi​∼μi​, where each μi\mu_iμi​ is a probability measure on R\mathbb{R}R with a density with respect to Lebesgue measure. Its law P=μ1⊗⋯⊗μdP=\mu_1\otimes\cdots\otimes\mu_dP=μ1​⊗⋯⊗μd​ therefore has the density p(z)=∏ip(zi)p(z)=\prod_i p(z_i)p(z)=∏i​p(zi​). supp⁡(z)\operatorname{supp}(z)supp(z) is the support of PPP, the set of points all of whose neighbourhoods have positive probability.
  2. The map ggg. gi(v)=P(zi≤vi)=Fi(vi)g_i(v)=P(z_i\le v_i)=F_i(v_i)gi​(v)=P(zi​≤vi​)=Fi​(vi​), where FiF_iFi​ is the cumulative distribution function of μi\mu_iμi​.
  3. Quantiles. For a law ν\nuν on R\mathbb{R}R with distribution function FνF_\nuFν​ and w∈(0,1)w\in(0,1)w∈(0,1), the quantile is Fν−1(w)=inf⁡{x:w≤Fν(x)}F_\nu^{-1}(w)=\inf\{x: w\le F_\nu(x)\}Fν−1​(w)=inf{x:w≤Fν​(x)}. It is the inverse of FνF_\nuFν​ wherever FνF_\nuFν​ is strictly increasing.
  4. The map hhh. ψ\psiψ is the standard normal distribution function, ψ−1\psi^{-1}ψ−1 its quantile function, and hi(v)=ψ−1(vi)h_i(v)=\psi^{-1}(v_i)hi​(v)=ψ−1(vi​).
  5. Reference laws. The uniform law on [0,1]d[0,1]^d[0,1]d is the product of ddd copies of Lebesgue measure on [0,1][0,1][0,1]. The standard normal law on Rd\mathbb{R}^dRd is the product of ddd copies of N(0,1)N(0,1)N(0,1).
  6. Householder matrix. For α∈R\alpha\in\mathbb{R}α∈R, v1=αv_1=\sqrt\alphav1​=α​ and vi=(1−α)/(d−1)v_i=\sqrt{(1-\alpha)/(d-1)}vi​=(1−α)/(d−1)​ for i=2,…,di=2,\dots,di=2,…,d. The matrix is A=Id−2vv⊤A=I_d-2vv^\topA=Id​−2vv⊤.
  7. Entangling map. For a d×dd\times dd×d matrix AAA, f(u)=g−1(h−1(A h(g(u))))f(u)=g^{-1}(h^{-1}(A\,h(g(u))))f(u)=g−1(h−1(Ah(g(u)))), that is, fi(u)=Fi−1(ψ((A h(g(u)))i))f_i(u)=F_i^{-1}\big(\psi\big((A\,h(g(u)))_i\big)\big)fi​(u)=Fi−1​(ψ((Ah(g(u)))i​)).
  8. Partial derivatives. ∂fi(u)/∂uj\partial f_i(u)/\partial u_j∂fi​(u)/∂uj​ is the derivative at t=ujt=u_jt=uj​ of t↦fi(u1,…,uj−1,t,uj+1,…,ud)t\mapsto f_i(u_1,\dots,u_{j-1},t,u_{j+1},\dots,u_d)t↦fi​(u1​,…,uj−1​,t,uj+1​,…,ud​). For a map defined on a set SSS, the variable ttt ranges over those values for which (u1,…,t,…,ud)∈S(u_1,\dots,t,\dots,u_d)\in S(u1​,…,t,…,ud​)∈S.

Formalization Note Lean's deriv and derivWithin return 000 where the derivative does not exist, so a statement that a partial derivative is nonzero also asserts that it exists. The quantile is the infimum of a set of reals. For w∉(0,1)w\notin(0,1)w∈/(0,1) that set is unbounded below or empty, and the value is a default. Such arguments occur only on null sets. In Lean the first coordinate of the Householder vector has index 000.

Definition code
import Mathlib

/-!
Locatello, Bauer, Lucic, Rätsch, Gelly, Schölkopf and Bachem, *Challenging Common Assumptions in
the Unsupervised Learning of Disentangled Representations*, ICML 2019, arXiv:1811.12359v4:
the factorized latent law of Theorem 1 (Section 3, p. 3) and the maps `g`, `h`, `A`, `f` built in
its proof (Appendix A, p. 12).
-/

open MeasureTheory ProbabilityTheory

noncomputable section

namespace DisentanglementImpossibility

variable {d : ℕ}

/-- Section 3, Theorem 1 (p. 3): `z ∼ P` admits a density `p(z) = ∏ᵢ p(zᵢ)`. The law is given by
its marginals `μ i`, each a probability measure on `ℝ` with a density (absolutely continuous with
respect to Lebesgue measure); the law of `z` is their product `latentLaw μ`. -/
def IsFactorizedDensity (μ : Fin d → Measure ℝ) : Prop :=
  ∀ i, IsProbabilityMeasure (μ i) ∧ μ i ≪ volume

/-- Section 3, Theorem 1 (p. 3): the law `P` of `z = (z₁, …, z_d)` with independent coordinates
`zᵢ ∼ μ i`, i.e. the product measure. Its support `(latentLaw μ).support` is `supp(z)`. -/
def latentLaw (μ : Fin d → Measure ℝ) : Measure (Fin d → ℝ) :=
  Measure.pi μ

/-- Appendix A (p. 12): the map `g : supp(z) → [0,1]^d`, `gᵢ(v) = P(zᵢ ≤ vᵢ)`, applying the
cumulative distribution function of each marginal to its coordinate. -/
def cdfMap (μ : Fin d → Measure ℝ) (v : Fin d → ℝ) : Fin d → ℝ :=
  fun i => cdf (μ i) (v i)

/-- Appendix A (p. 12): the inverse of a cumulative distribution function, used for `g⁻¹` and for
`ψ⁻¹`. For a law `ν` on `ℝ` and `w ∈ (0,1)`, `quantile ν w = inf {x | w ≤ P_ν(X ≤ x)}`; when the
cumulative distribution function is strictly increasing this is its inverse. Values at
`w ∉ (0,1)` are a default and only occur on null sets. -/
def quantile (ν : Measure ℝ) (w : ℝ) : ℝ :=
  sInf {x : ℝ | w ≤ cdf ν x}

/-- Appendix A (p. 12): `ψ`, the cumulative distribution function of the standard normal law. -/
def stdNormalCdf (x : ℝ) : ℝ :=
  cdf (gaussianReal 0 1) x

/-- Appendix A (p. 12): `ψ⁻¹`, the inverse of the standard normal cumulative distribution
function on `(0,1)`. -/
def stdNormalQuantile (w : ℝ) : ℝ :=
  quantile (gaussianReal 0 1) w

/-- Appendix A (p. 12): the map `h`, `hᵢ(v) = ψ⁻¹(vᵢ)`. -/
def gaussMap (v : Fin d → ℝ) : Fin d → ℝ :=
  fun i => stdNormalQuantile (v i)

/-- Appendix A (p. 12): the independent `d`-dimensional uniform distribution, the law of `g(z)`:
the product of `d` copies of Lebesgue measure on `[0,1]`. -/
def uniformCube (d : ℕ) : Measure (Fin d → ℝ) :=
  Measure.pi fun _ : Fin d => volume.restrict (Set.Icc (0 : ℝ) 1)

/-- Appendix A (p. 12): the `d`-dimensional standard normal distribution, the law of `h(g(z))`:
the product of `d` copies of the standard normal law `N(0,1)`. -/
def stdGaussian (d : ℕ) : Measure (Fin d → ℝ) :=
  Measure.pi fun _ : Fin d => gaussianReal 0 1

/-- Appendix A (p. 12): the Householder vector `v` with `v₁ = √α` and `vᵢ = √((1-α)/(d-1))` for
`i = 2, …, d` (the first coordinate is index `0` here). -/
def householderVec (d : ℕ) (α : ℝ) : Fin d → ℝ :=
  fun i => if i.val = 0 then Real.sqrt α else Real.sqrt ((1 - α) / ((d : ℝ) - 1))

/-- Appendix A (p. 12): the Householder matrix `A = I_d - 2 v vᵀ` built from `householderVec`. -/
def householderMat (d : ℕ) (α : ℝ) : Matrix (Fin d) (Fin d) ℝ :=
  1 - (2 : ℝ) • Matrix.vecMulVec (householderVec d α) (householderVec d α)

/-- Appendix A (p. 12): the entangling map `f(u) = g⁻¹(h⁻¹(A h(g(u))))` for a matrix `A`:
coordinate `i` of `f(u)` is `quantile (μ i) (ψ((A h(g(u)))ᵢ))`. -/
def entanglingMap (μ : Fin d → Measure ℝ) (A : Matrix (Fin d) (Fin d) ℝ) (u : Fin d → ℝ) :
    Fin d → ℝ :=
  fun i => quantile (μ i) (stdNormalCdf ((A.mulVec (gaussMap (cdfMap μ u))) i))

/-- Section 3, Theorem 1 (p. 3): the partial derivative `∂fᵢ(u)/∂u_j`, the derivative at `u_j` of
`t ↦ fᵢ(u₁, …, t, …, u_d)` (`t` in position `j`). Lean's `deriv` is `0` where this derivative
does not exist, so `partialDeriv f i j u ≠ 0` asserts that it exists and is nonzero. -/
def partialDeriv (f : (Fin d → ℝ) → Fin d → ℝ) (i j : Fin d) (u : Fin d → ℝ) : ℝ :=
  deriv (fun t => f (Function.update u j t) i) (u j)

/-- Section 3, Theorem 1 (p. 3): the partial derivative `∂fᵢ(u)/∂u_j` of a map `f : S → S`
defined on a set `S` (the support `supp(z)`): the derivative at `u_j` of
`t ↦ fᵢ(u₁, …, t, …, u_d)` along those `t` for which `(u₁, …, t, …, u_d) ∈ S`. Lean's
`derivWithin` is `0` where this derivative does not exist (or `u_j` is isolated), so a nonzero
value asserts that it exists and is nonzero. -/
def partialDerivWithin (f : (Fin d → ℝ) → Fin d → ℝ) (S : Set (Fin d → ℝ)) (i j : Fin d)
    (u : Fin d → ℝ) : ℝ :=
  derivWithin (fun t => f (Function.update u j t) i) {t | Function.update u j t ∈ S} (u j)

end DisentanglementImpossibility
Source
Locatello, Bauer, Lucic, Rätsch, Gelly, Schölkopf, Bachem, Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations, ICML 2019, arXiv:1811.12359v4, Section 3 (Theorem 1, p. 3) and Appendix A (Proof of Theorem 1, p. 12)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

IsFactorizedDensity. Fix a natural number ddd, possibly d=0d = 0d=0. Let μ=(μ1,…,μd)\mu = (\mu_1, \dots, \mu_d)μ=(μ1​,…,μd​) be a family of measures on R\mathbb{R}R, one for each index i∈{0,…,d−1}i \in \{0, \dots, d-1\}i∈{0,…,d−1}. The property IsFactorizedDensity(μ)\mathrm{IsFactorizedDensity}(\mu)IsFactorizedDensity(μ) holds exactly when, for every index iii:

  • μi\mu_iμi​ is a probability measure, i.e. μi(R)=1\mu_i(\mathbb{R}) = 1μi​(R)=1;
  • μi\mu_iμi​ is absolutely continuous with respect to Lebesgue measure λ\lambdaλ on R\mathbb{R}R, i.e. λ(E)=0⇒μi(E)=0\lambda(E) = 0 \Rightarrow \mu_i(E) = 0λ(E)=0⇒μi​(E)=0.

The property places conditions on each marginal separately. It does not itself mention a joint law, a product, a density function, or a support. When d=0d = 0d=0 there are no indices, so the property holds vacuously.

latentLaw. For any family μ=(μi)i<d\mu = (\mu_i)_{i<d}μ=(μi​)i<d​ of measures on R\mathbb{R}R, no hypotheses assumed, latentLaw(μ)\mathrm{latentLaw}(\mu)latentLaw(μ) is the product measure on Rd\mathbb{R}^dRd:

Pμ=⨂i<dμi.P_\mu = \bigotimes_{i<d} \mu_i .Pμ​=i<d⨂​μi​.

When every μi\mu_iμi​ is σ\sigmaσ-finite (for instance, a probability measure), this is the unique measure with

Pμ(∏iEi)=∏iμi(Ei).P_\mu\Big(\prod_i E_i\Big) = \prod_i \mu_i(E_i).Pμ​(i∏​Ei​)=i∏​μi​(Ei​).

Otherwise it is the measure induced by the product outer measure, and that box formula is not guaranteed. When d=0d = 0d=0, R0\mathbb{R}^0R0 is a single point and PμP_\muPμ​ is the unit point mass there. The definition itself does not involve supports.

cdfMap. Let μ=(μi)i<d\mu = (\mu_i)_{i<d}μ=(μi​)i<d​ be measures on R\mathbb{R}R and v=(v0,…,vd−1)∈Rdv = (v_0, \dots, v_{d-1}) \in \mathbb{R}^dv=(v0​,…,vd−1​)∈Rd. Then gμ(v)∈Rdg_\mu(v) \in \mathbb{R}^dgμ​(v)∈Rd is the vector with coordinates

gμ(v)i=Fμi(vi).g_\mu(v)_i = F_{\mu_i}(v_i).gμ​(v)i​=Fμi​​(vi​).

Here FμiF_{\mu_i}Fμi​​ is Mathlib's cumulative distribution function attached to μi\mu_iμi​:

  • If μi\mu_iμi​ is a probability measure, then Fμi(x)=μi((−∞,x])F_{\mu_i}(x) = \mu_i((-\infty, x])Fμi​​(x)=μi​((−∞,x]).
  • For other measures, FμiF_{\mu_i}Fμi​​ is still some non-decreasing, right-continuous function with values in [0,1][0,1][0,1], with limits 000 at −∞-\infty−∞ and 111 at +∞+\infty+∞. It need not equal x↦μi((−∞,x])x \mapsto \mu_i((-\infty, x])x↦μi​((−∞,x]).

The map is defined on all of Rd\mathbb{R}^dRd, not only on a support.

quantile. For a measure ν\nuν on R\mathbb{R}R with cumulative distribution function FνF_\nuFν​ (as described for cdfMap) and any real www, define

Qν(w)=inf⁡{x∈R:w≤Fν(x)},Q_\nu(w) = \inf\{x \in \mathbb{R} : w \le F_\nu(x)\},Qν​(w)=inf{x∈R:w≤Fν​(x)},

using the convention that the infimum of an empty set, or of a set unbounded below, is 000. This gives the following cases:

  • w∈(0,1)w \in (0,1)w∈(0,1): the set is nonempty and bounded below, and the infimum is attained. This is the usual generalized inverse of FνF_\nuFν​, and it equals Fν−1(w)F_\nu^{-1}(w)Fν−1​(w) when FνF_\nuFν​ is a strictly increasing bijection onto its range.
  • w≤0w \le 0w≤0: the set is all of R\mathbb{R}R, so Qν(w)=0Q_\nu(w) = 0Qν​(w)=0.
  • w>1w > 1w>1: the set is empty, so Qν(w)=0Q_\nu(w) = 0Qν​(w)=0.
  • w=1w = 1w=1: the value is inf⁡{x:Fν(x)=1}\inf\{x : F_\nu(x) = 1\}inf{x:Fν​(x)=1} if that set is nonempty, and 000 if Fν<1F_\nu < 1Fν​<1 everywhere.

stdNormalCdf. For real xxx, Φ(x)=γ((−∞,x])\Phi(x) = \gamma\big((-\infty, x]\big)Φ(x)=γ((−∞,x]), where γ=N(0,1)\gamma = \mathcal{N}(0,1)γ=N(0,1) is the standard normal law on R\mathbb{R}R. Its values lie strictly in (0,1)(0,1)(0,1).

stdNormalQuantile. For real www, Φ−1(w)=Qγ(w)=inf⁡{x:w≤Φ(x)}\Phi^{-1}(w) = Q_\gamma(w) = \inf\{x : w \le \Phi(x)\}Φ−1(w)=Qγ​(w)=inf{x:w≤Φ(x)}, with γ=N(0,1)\gamma = \mathcal{N}(0,1)γ=N(0,1).

  • For w∈(0,1)w \in (0,1)w∈(0,1), this is the true inverse of Φ\PhiΦ.
  • For every w≤0w \le 0w≤0 and every w≥1w \ge 1w≥1 (including w=1w = 1w=1, since Φ\PhiΦ never reaches 111), the value is 000.

gaussMap. For v∈Rdv \in \mathbb{R}^dv∈Rd, h(v)∈Rdh(v) \in \mathbb{R}^dh(v)∈Rd is the vector with coordinates

h(v)i=Φ−1(vi).h(v)_i = \Phi^{-1}(v_i).h(v)i​=Φ−1(vi​).

Here Φ−1\Phi^{-1}Φ−1 is as in stdNormalQuantile. In particular, h(v)i=0h(v)_i = 0h(v)i​=0 whenever vi∉(0,1)v_i \notin (0,1)vi​∈/(0,1).

uniformCube. For a natural number ddd, UdU_dUd​ is the product measure

Ud=⨂i<dλ∣[0,1]U_d = \bigotimes_{i<d} \lambda|_{[0,1]}Ud​=i<d⨂​λ∣[0,1]​

on Rd\mathbb{R}^dRd, where λ∣[0,1]\lambda|_{[0,1]}λ∣[0,1]​ is Lebesgue measure restricted to the closed interval [0,1][0,1][0,1]. It is a probability measure that gives the cube [0,1]d[0,1]^d[0,1]d full mass. When d=0d = 0d=0, it is the unit point mass on the single point of R0\mathbb{R}^0R0.

stdGaussian. For a natural number ddd, γd=⨂i<dN(0,1)\gamma_d = \bigotimes_{i<d} \mathcal{N}(0,1)γd​=⨂i<d​N(0,1) is the product of ddd copies of the standard normal law: a probability measure on Rd\mathbb{R}^dRd. When d=0d = 0d=0, it is the unit point mass on R0\mathbb{R}^0R0.

householderVec. For a natural number ddd and any real α\alphaα (no restriction on α\alphaα), v(d,α)∈Rdv^{(d,\alpha)} \in \mathbb{R}^dv(d,α)∈Rd has coordinates indexed 0,…,d−10, \dots, d-10,…,d−1:

v0=α,vi=1−αd−1(1≤i≤d−1).v_0 = \sqrt{\alpha}, \qquad v_i = \sqrt{\frac{1-\alpha}{d-1}} \quad (1 \le i \le d-1).v0​=α​,vi​=d−11−α​​(1≤i≤d−1).

The square root of a negative number is taken to be 000. This produces the following edge cases:

  • If α<0\alpha < 0α<0, then v0=0v_0 = 0v0​=0.
  • If α>1\alpha > 1α>1, then vi=0v_i = 0vi​=0 for all i≥1i \ge 1i≥1.
  • For d=1d = 1d=1, the vector is just (α)(\sqrt{\alpha})(α​).
  • For d=0d = 0d=0, the vector is empty.
  • When d≥2d \ge 2d≥2 and 0≤α≤10 \le \alpha \le 10≤α≤1, one has ∥v∥2=1\|v\|^2 = 1∥v∥2=1; outside that range, the norm need not be 111.

householderMat. For a natural number ddd and real α\alphaα, with v=v(d,α)v = v^{(d,\alpha)}v=v(d,α) as in householderVec, define the d×dd \times dd×d real matrix

Ad,α=Id−2 vvT,(Ad,α)ij=δij−2vivj.A_{d,\alpha} = I_d - 2\, v v^{\mathsf T}, \qquad (A_{d,\alpha})_{ij} = \delta_{ij} - 2 v_i v_j .Ad,α​=Id​−2vvT,(Ad,α​)ij​=δij​−2vi​vj​.

No condition is imposed on α\alphaα. In particular, nothing in the definition ensures ∥v∥=1\|v\| = 1∥v∥=1. The matrix is an orthogonal reflection only when ∥v∥2=1\|v\|^2 = 1∥v∥2=1; it is the identity when v=0v = 0v=0.

entanglingMap. Let μ=(μi)i<d\mu = (\mu_i)_{i<d}μ=(μi​)i<d​ be any family of measures on R\mathbb{R}R, let AAA be any real d×dd \times dd×d matrix (not required to be orthogonal or invertible), and let u∈Rdu \in \mathbb{R}^du∈Rd. Then fμ,A(u)∈Rdf_{\mu,A}(u) \in \mathbb{R}^dfμ,A​(u)∈Rd has coordinates

fμ,A(u)i=Qμi(Φ((A h(gμ(u)))i)).f_{\mu,A}(u)_i = Q_{\mu_i}\Big(\Phi\big((A\, h(g_\mu(u)))_i\big)\Big).fμ,A​(u)i​=Qμi​​(Φ((Ah(gμ​(u)))i​)).

In words, the map proceeds in four steps:

  1. Apply the marginal distribution functions coordinatewise (gμg_\mugμ​, from cdfMap).
  2. Apply Φ−1\Phi^{-1}Φ−1 coordinatewise (hhh, from gaussMap).
  3. Multiply by AAA.
  4. Apply Φ\PhiΦ, then the iii-th marginal's quantile QμiQ_{\mu_i}Qμi​​ (from quantile).

The map is defined for all u∈Rdu \in \mathbb{R}^du∈Rd. If some Fμj(uj)∈{0,1}F_{\mu_j}(u_j) \in \{0,1\}Fμj​​(uj​)∈{0,1}, the corresponding coordinate of h(gμ(u))h(g_\mu(u))h(gμ​(u)) is the default 000. The final step evaluates QμiQ_{\mu_i}Qμi​​ only at values in (0,1)(0,1)(0,1), since Φ\PhiΦ takes values there.

partialDeriv. Let f:Rd→Rdf : \mathbb{R}^d \to \mathbb{R}^df:Rd→Rd be any map, let i,ji, ji,j be indices, and let u∈Rdu \in \mathbb{R}^du∈Rd. Write u[j↦t]u[j \mapsto t]u[j↦t] for the vector uuu with its jjj-th coordinate replaced by ttt. Define

∂jfi(u)=ddt∣t=ujf(u[j↦t])i\partial_j f_i(u) = \frac{d}{dt}\Big|_{t = u_j} f\big(u[j \mapsto t]\big)_i∂j​fi​(u)=dtd​​t=uj​​f(u[j↦t])i​

when this ordinary one-variable derivative exists, and ∂jfi(u)=0\partial_j f_i(u) = 0∂j​fi​(u)=0 when it does not. Consequently:

  • ∂jfi(u)≠0\partial_j f_i(u) \ne 0∂j​fi​(u)=0 implies that the derivative exists and is nonzero.
  • ∂jfi(u)=0\partial_j f_i(u) = 0∂j​fi​(u)=0 does not distinguish a zero derivative from a nonexistent one.

partialDerivWithin. Let f:Rd→Rdf : \mathbb{R}^d \to \mathbb{R}^df:Rd→Rd be any map (defined on all of Rd\mathbb{R}^dRd), let S⊆RdS \subseteq \mathbb{R}^dS⊆Rd be any set, let i,ji, ji,j be indices, and let u∈Rdu \in \mathbb{R}^du∈Rd. Let

T={t∈R:u[j↦t]∈S}.T = \{t \in \mathbb{R} : u[j \mapsto t] \in S\}.T={t∈R:u[j↦t]∈S}.

The value ∂jSfi(u)\partial^S_j f_i(u)∂jS​fi​(u) is the derivative at t=ujt = u_jt=uj​ of t↦f(u[j↦t])it \mapsto f(u[j \mapsto t])_it↦f(u[j↦t])i​ taken within TTT, that is, as a limit along points t∈Tt \in Tt∈T approaching uju_juj​. It is set to 000 in two cases:

  • the derivative within TTT does not exist;
  • uju_juj​ is not an accumulation point of TTT (for example, TTT is empty or uju_juj​ is isolated in TTT).

Further points:

  • uuu itself is not required to lie in SSS.
  • The value f(u)if(u)_if(u)i​ at the base point enters the difference quotient whether or not u∈Su \in Su∈S.
  • A nonzero value implies that this one-sided-or-two-sided restricted derivative exists and is nonzero.
Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me