AFTD Auto-Formalizing Theoretical Domains

measurable_complexLaplaceIntegrand

theoremverifiedformalizationimported Lean

measurable_complexLaplaceIntegrand

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
theorem measurable_complexLaplaceIntegrand
    {α : Type*} [MeasurableSpace α] {E : α → WithTop ℝ} (hE : Measurable E) (z : ℂ) :
    Measurable (ComplexLaplaceIntegrand E z)
Formalizes
QuantumInfo, `measurable_complexLaplaceIntegrand`
Lean proof
By Dennj Osele, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Dennj Osele. 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
17 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • ComplexLaplaceIntegrandThe integrand of the complex Laplace transform of a possibly infinite-valued energy function.
Used by 2

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
theorem measurable_complexLaplaceIntegrand
    {α : Type*} [MeasurableSpace α] {E : α → WithTop ℝ} (hE : Measurable E) (z : ℂ) :
    Measurable (ComplexLaplaceIntegrand E z) := by
  rw [show ComplexLaplaceIntegrand E z =
      fun x => if E x = ⊤ then 0 else Complex.exp (-z * (((E x).untopD 0 : ℝ) : ℂ)) by
    funext x
    unfold ComplexLaplaceIntegrand
    by_cases hx : E x = ⊤
    · simp [hx]
    · simp only [hx, dite_false, ite_false]
      congr 2
      let y := E x
      have hy : y ≠ ⊤ := by simpa [y] using hx
      change ((y.untop hy : ℝ) : ℂ) = ((y.untopD 0 : ℝ) : ℂ)
      obtain ⟨e, he⟩ := WithTop.ne_top_iff_exists.mp hy
      have hUntop : y.untop hy = e := by
        apply WithTop.coe_inj.mp
        rw [WithTop.coe_untop, ← he]
      have hUntopD : y.untopD 0 = e := by
        rw [← he]
        rfl
      rw [hUntop, hUntopD]]
  exact Measurable.ite (hE (measurableSet_singleton (⊤ : WithTop ℝ))) measurable_const
    (Complex.continuous_exp.measurable.comp (by fun_prop :
      Measurable fun x => -z * (((E x).untopD 0 : ℝ) : ℂ)))
See it in the graphDiscuss this resultChallenge it