AFTD Auto-Formalizing Theoretical Domains

QuantumMechanics.OneDimension.HilbertSpace.schwartzIncl_inner

theoremverifiedformalizationimported Lean

QuantumMechanics.OneDimension.HilbertSpace.schwartzIncl_inner

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open MeasureTheory in
open SchwartzMap InnerProductSpace in
lemma QuantumMechanics.OneDimension.HilbertSpace.schwartzIncl_inner (ψ1 ψ2 : 𝓢(ℝ, ℂ)) :
    ⟪schwartzIncl ψ1, schwartzIncl ψ2⟫_ℂ = ∫ x : ℝ, starRingEnd ℂ (ψ1 x) * ψ2 x
Formalizes
Physlib, `QuantumMechanics.OneDimension.HilbertSpace.schwartzIncl_inner`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 7
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen MeasureTheory inopen SchwartzMap InnerProductSpace inlemma QuantumMechanics.OneDimension.HilbertSpace.schwartzIncl_inner (ψ1 ψ2 : 𝓢(ℝ, ℂ)) :    ⟪schwartzIncl ψ1, schwartzIncl ψ2⟫_ℂ = ∫ x : ℝ, starRingEnd ℂ (ψ1 x) * ψ2 x := by  apply MeasureTheory.integral_congr_ae  have h1 : ψ1.1 =ᶠ[ae volume] (schwartzIncl ψ1) :=    schwartzIncl_coe_ae ψ1  have h2 : ψ2.1 =ᶠ[ae volume] (schwartzIncl ψ2) :=    schwartzIncl_coe_ae ψ2  filter_upwards [h1, h2] with _ h1 h2  rw [← h1, ← h2]  simp only [RCLike.inner_apply]  rw [mul_comm]  rfl
See it in the graphDiscuss this resultChallenge it