Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Row-sum identity: for `n ≥ 1`, the `n`-th row sums to `n!`.

Proved
Catalog.EulerianNumbers.eul_row_sum

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogspeculative

Row-sum identity: for n ≥ 1, the n-th row sums to n!.

theorem Catalog.EulerianNumbers.eul_row_sum(n : ℕ) (hn : 1 ≤ n) :
    ∑ k ∈ Finset.range n, eul n k = Nat.factorial n := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source Speculative/NumberTheory/EulerianNumbers.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from Speculative/NumberTheory/EulerianNumbers.lean
import Mathlib
import Definitions.Def_Speculative_NumberTheory_EulerianNumbers
/-
Copyright (c) 2026 Harmonic. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
-/

/-!
# Eulerian numbers and the row-sum identity

The *Eulerian number* `A(n, k)` counts the permutations of `{1, …, n}` with exactly `k`
ascents.  Here we define a concrete recursive version `eul n k` and prove the classical
**row-sum identity**: for `n ≥ 1`,

`∑_{k = 0}^{n-1} eul n k = n!`.

The definition follows the standard triangular recurrence
`A(n+1, k+1) = (k+2) · A(n, k+1) + (n - k) · A(n, k)`,
with base row `A(0, 0) = 1` and left column `A(n, 0) = 1`.
-/

open Catalog.EulerianNumbers

open Finset
Formal statement
theorem Catalog.EulerianNumbers.eul_row_sum(n : ℕ) (hn : 1 ≤ n) :
    ∑ k ∈ Finset.range n, eul n k = Nat.factorial n := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/Speculative/NumberTheory/EulerianNumbers.lean#L55

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