Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Size-one-or-two block coefficients and quadratic saddle data

Definition
AnalyticCombinatorics_Ch8_SaddlePoint_InvolutionHAdmissible

by FormallyCorrect · Oct 27, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

analytic-combinatoricsinvolutionslean4partitions-remainder

For n∈Nn\in\mathbb Nn∈N, involCoeffR n is the real number parts12.set.counts(n)/n!\texttt{parts12.set.counts}(n)/n!parts12.set.counts(n)/n!. The source labelled-set model consists of finite partitions of the labels, with a parts12 structure on each block; parts12 has one structure at size one and one at size two. This bundle also defines the complex function F(z)=exp⁡(z+z2/2)F(z)=\exp(z+z^2/2)F(z)=exp(z+z2/2) as involFun, the real polynomial B(r)=r+2r2B(r)=r+2r^2B(r)=r+2r2 as involSaddleBReal, and rn=(1+4n−1)/2r_n=(\sqrt{1+4n}-1)/2rn​=(1+4n​−1)/2 as involSaddleRadius n.

Definition code
import Definitions.Def_AnalyticCombinatorics_Ch1_OGF_Defs
import Definitions.Def_AnalyticCombinatorics_Ch1_OGF_Fibonacci
import Definitions.Def_AnalyticCombinatorics_Ch2_EGF_LabelledSet
import Mathlib
import Mathlib.Analysis.SpecialFunctions.Stirling
import Mathlib.Analysis.Analytic.Composition
import Mathlib.RingTheory.PowerSeries.Substitution
import Mathlib.RingTheory.PowerSeries.Exp
import Mathlib.Analysis.SpecialFunctions.ExpDeriv
import Mathlib.Analysis.SpecialFunctions.Exponential
import Mathlib.RingTheory.PowerSeries.Inverse
import Mathlib.RingTheory.PowerSeries.NoZeroDivisors
import Mathlib.RingTheory.PowerSeries.PiTopology
import Mathlib.Combinatorics.Enumerative.Composition
import Mathlib.Data.Nat.Fib.Basic
import Mathlib.Analysis.Analytic.Basic
import Mathlib.Analysis.Analytic.OfScalars
import Mathlib.Analysis.Analytic.RadiusLiminf
import Mathlib.RingTheory.PowerSeries.Basic
import Mathlib.Algebra.Algebra.Rat
import Mathlib.Data.Complex.Basic
import Mathlib.Order.Partition.Finpartition
import Mathlib.RingTheory.PowerSeries.Derivative
import Mathlib.Data.Fintype.EquivFin
import Mathlib.RingTheory.PowerSeries.WellKnown
import Mathlib.GroupTheory.Perm.Basic
import Mathlib.Data.Fintype.Perm
import Mathlib.Data.Fintype.Card
import Mathlib.Algebra.BigOperators.NatAntidiagonal
import Mathlib.Data.Fintype.Powerset

set_option autoImplicit true
set_option relaxedAutoImplicit false
set_option maxSynthPendingDepth 3


/-!
# Involution H-admissible saddle data

This file records the Hayman data for the involution EGF
`exp (z + z^2 / 2)`.  The saddle data are
`a(r)=r+r^2`, `b(r)=r+2r^2`, and `δ(r)=r^(-3/4)`.
-/

open Complex Filter Asymptotics MeasureTheory
open scoped Topology Real NNReal ENNReal Interval PowerSeries

noncomputable section

namespace InvolutionHAdmissible

abbrev involCoeffR (n : ℕ) : ℝ :=
  (AnalyticCombinatorics.Ch1.CombClass.parts12.set.counts n : ℝ) / n.factorial

/-- The analytic function `exp (z + z^2/2)`. -/
abbrev involFun (z : ℂ) : ℂ :=
  Complex.exp (z + z ^ 2 / 2)

/-- Continuous involution saddle variance scale, `b(r)=r+2r^2`. -/
def involSaddleBReal (r : ℝ) : ℝ :=
  r + 2 * r ^ 2

/-- The nonnegative saddle radius solving `r^2+r=n`. -/
def involSaddleRadius (n : ℕ) : ℝ :=
  (Real.sqrt (1 + 4 * (n : ℝ)) - 1) / 2

end InvolutionHAdmissible
Source
https://github.com/xiangyazi24/AnalyticCombinatorics/blob/f6f3f1cebdae245a61d9d71e6b47c69fbd096fe3/AnalyticCombinatorics/Ch8/SaddlePoint/InvolutionHAdmissible.lean. Source code: Apache-2.0; https://github.com/xiangyazi24/AnalyticCombinatorics/blob/f6f3f1cebdae245a61d9d71e6b47c69fbd096fe3/LICENSE

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me