Pentagonal Number Theorem — Definitions #
Core definitions for the formalization of the Euler Pentagonal Number Theorem via Franklin's involution.
Main definitions #
consecutiveTopRun: length of the maximal consecutive run ending atminSdistinctPartitions: partitions ofninto distinct positive partsdistinctPartitionsEven,distinctPartitionsOdd: partitions with an even (resp. odd) number of partspe,po: cardinalities ofdistinctPartitionsEven n,distinctPartitionsOdd npartBase,partMax,partSlope,partSlopeSet: structural invariants of a partitiondistinctPartitionsAlpha,distinctPartitionsBeta,distinctPartitionsSpecial: three-way decomposition ofdistinctPartitions nby Franklin's involutionsmkSet,spkSet: the special pentagonal partitionsS_{−k}andS_kalphaOp,betaOp: Franklin's involution maps ondistinctPartitionsAlphaanddistinctPartitionsBeta
The set of subsets S ⊆ {1, …, n} with ∑_{s ∈ S} s = n, i.e., partitions of n into
distinct positive parts.
Equations
- distinctPartitions n = {S ∈ (Finset.Icc 1 n).powerset | S.sum id = n}
Instances For
Partitions of n into distinct positive parts with an even number of parts.
Equations
- distinctPartitionsEven n = {S ∈ distinctPartitions n | S.card % 2 = 0}
Instances For
Partitions of n into distinct positive parts with an odd number of parts.
Equations
- distinctPartitionsOdd n = {S ∈ distinctPartitions n | S.card % 2 = 1}
Instances For
The interval {max(S) − slope(S) + 1, …, max(S)} (the "slope set" of S).
Equations
- partSlopeSet S = Finset.Icc (partMax S - partSlope S + 1) (partMax S)
Instances For
Partitions S ∈ distinctPartitions n that are nonempty and satisfy
(b ≤ s ∧ b ∉ D) ∨ b + 1 ≤ s, with b = partBase S, s = partSlope S.
Equations
Instances For
Partitions S ∈ distinctPartitions n that are nonempty and satisfy
(s < b ∧ b ∉ D) ∨ s + 2 ≤ b, with b = partBase S, s = partSlope S.
Equations
Instances For
Partitions of n into distinct parts that are either empty or satisfy
base(S) ∈ slopeSet(S) with base(S) = slope(S) or base(S) = slope(S) + 1.