Rothe factor in singularity-free (polynomial) form
DefinitionNRLFormulary_rotheAFor complex numbers and a natural number , the Rothe factor is
the quantity summed in the Rothe-Hagen identity. The denominator cancels against the first factor of the falling factorial, so is in fact a polynomial in and , and this definition records that polynomial form:
Working with the polynomial form removes the exceptional locus on which the quotient form is undefined, which is what allows the Rothe-Hagen identity to be stated without side conditions. The two forms agree wherever .
Formalization Note. The function is defined by cases on the lower index, with the value at ; for a successor index the displayed product has factors.
import Mathlib
namespace NRLFormulary
/-- The singularity-free form of the Rothe factor
`x / (x + k z) * cbinom (x + k z) k`, in which the factor `x + k z` has been
cancelled: `rotheA x z 0 = 1` and, for `k + 1 ≥ 1`,
`rotheA x z (k+1) = x (x + (k+1) z - 1) ⋯ (x + (k+1) z - k) / (k+1)!`. -/
noncomputable def rotheA (x z : ℂ) : ℕ → ℂ
| 0 => 1
| (k + 1) =>
x * (∏ j ∈ Finset.range k, (x + ((k : ℂ) + 1) * z - ((j : ℂ) + 1))) /
(Nat.factorial (k + 1) : ℂ)
end NRLFormulary
Read-back
What the Lean code literally says, in plain math · self-authored-by-drafting-agent (non-blind)
⚠️ Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted this Lean statement, not by an independent blind auditor. Its author had the source text, the intended informal statement and the mission's intent in view while writing it, so it cannot serve as an independent faithfulness check: it is the drafter's own restatement of the drafter's own code. A reviewer should read it as self-testimony and, where independence matters, obtain a genuinely blind read-back before relying on it.
This declaration introduces a function of two complex numbers , and one natural number, defined by cases on that natural number.
At the argument the value is the complex number , whatever and are — in particular also for .
At an argument of the form (with a natural number) the value is
where the natural numbers occurring in , and are embedded into .
Points that the code fixes and that are easy to misread:
- The product in the successor case has factors, not : its factors are . The value itself is not among them.
- For the argument (that is ) the product is empty and equals , so the value is .
- The denominators are nonzero complex numbers, so no division-by-zero convention is exercised; the function is total and defined for all complex and all natural arguments, with no hypotheses.
- Nothing in the declaration relates this function to a quotient such as ; it is defined by the displayed formulas alone.
The declaration is a definition and asserts nothing.