AFTD Auto-Formalizing Theoretical Domains

InnerProductSpace.gaussian

defimported Lean

The (unnormalized) π•œ-valued Gaussian exp (-2⁻¹ * β€–B⁻¹ (x - xβ‚€)β€– ^ 2) as a Schwartz map.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open InnerProductSpace in
open ContinuousLinearMap Filter RCLike Real SchwartzMap in
variable {D : Type*} [NormedAddCommGroup D] [InnerProductSpace ℝ D] in
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] in
variable (π•œ : Type*) [RCLike π•œ] in
variable (B : D ≃L[ℝ] E) (xβ‚€ x : E) in
noncomputable def InnerProductSpace.gaussian : 𝓒(E, π•œ)
Defined in
Physlib, `InnerProductSpace.gaussian`
Lean proof
By Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
none listed
Built on 1
  • InnerProductSpace.realStdGaussianThe (unnormalized) real-valued standard Gaussian exp (-2⁻¹ * β€–xβ€– ^ 2) as a Schwartz map. This definition is used to construct the…
Used by 2

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open InnerProductSpace in
open ContinuousLinearMap Filter RCLike Real SchwartzMap in
variable {D : Type*} [NormedAddCommGroup D] [InnerProductSpace ℝ D] in
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] in
variable (π•œ : Type*) [RCLike π•œ] in
variable (B : D ≃L[ℝ] E) (xβ‚€ x : E) in
/-- The (unnormalized) `π•œ`-valued Gaussian `exp (-2⁻¹ * β€–B⁻¹ (x - xβ‚€)β€– ^ 2)` as a Schwartz map. -/
noncomputable def InnerProductSpace.gaussian : 𝓒(E, π•œ) :=
  compSubConstCLM π•œ xβ‚€
    (((realStdGaussian D).postcompCLM ofRealCLM).compCLMOfContinuousLinearEquiv π•œ B.symm)
See it in the graphDiscuss this resultChallenge it