AFTD Auto-Formalizing Theoretical Domains

Polynomial.physHermite

defimported Lean

The physicist's Hermite polynomials are defined as polynomials over ℤ in X recursively with physHermite 0 = 1 and physHermite (n + 1) = 2 • X * physHermite n - derivative (physHermite n). This polynomial will often be cast as a function ℝ → ℝ by evaluating the polynomial at X.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Function Nat in
noncomputable def Polynomial.physHermite : ℕ → Polynomial ℤ
Defined in
Physlib, `Polynomial.physHermite`
Lean proof
By Gregory J. Loges, Tomas Skrivan, 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
09 Oct 2026
Axioms
none listed
Built on 1
  • da_runOne run of men-proposing deferred acceptance with a step budget: each step the first free man with proposals left proposes to his next…
Used by 17

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Function Nat in
/-- The physicist's Hermite polynomials are defined as polynomials over `ℤ` in `X` recursively with `physHermite 0 = 1` and `physHermite (n + 1) = 2 • X * physHermite n - derivative (physHermite n)`. This polynomial will often be cast as a function `ℝ → ℝ` by evaluating the polynomial at `X`. -/
noncomputable def Polynomial.physHermite : ℕ → Polynomial ℤ
  | 0 => 1
  | n + 1 => 2 • X * physHermite n - derivative (physHermite n)
See it in the graphDiscuss this resultChallenge it