Documentation

LeanMlir.Proofs.Architectures.GeluErfGaussian

gaussPhi is the standard normal CDF #

GeluErf writes the density and the CDF in closed form over the interval integral, so the modules that import the exact GELU do not carry the probability library. This file ties both to Mathlib's Gaussian:

The ½ in gaussPhi's definition is integral_Iic_zero_gaussPdf: the density is even and integrates to one.

gaussPdf is Mathlib's Gaussian density at mean 0, variance 1.

Half the mass lies below zero — the density is even and integrates to one.

gaussPhi is the standard normal's mass on (−∞, x].

gaussPhi is the CDF of the standard normal, as Mathlib defines both.