Upper Bound mathematical objects
DefinitionAnalyticCombinatorics_Ch8_Partitions_UpperBoundanalytic-combinatoricsinteger-partitionslean4
For each natural n, part(n) is the number of unordered partitions of n into positive integer parts, cast to a real number. A is the real constant pi^2/6.
Definition code
import Mathlib set_option autoImplicit true set_option relaxedAutoImplicit false set_option maxSynthPendingDepth 3 namespace AnalyticCombinatorics.Ch8.Partitions open scoped BigOperators noncomputable def part (n : ℕ) : ℝ := (Fintype.card (Nat.Partition n) : ℝ) noncomputable def A : ℝ := Real.pi ^ 2 / 6 end AnalyticCombinatorics.Ch8.Partitions
Source