Unnumbered (1.9): diagram cardinalities
OpenQAlgorithms.Papers.Independent.Intake100.P88.diagram_cardinalitiesFor a positive half-integer , let be the partition diagrams, their planar subset, and the planar pairings on two rows of vertices. For an integer , let be all pairings and the permutation diagrams. Then
Here is the Bell number. At half levels the last top and bottom vertices are required to belong to the same block. The odd product is precisely the paper's convention for . These formulas give the diagram-space dimensions.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P88
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P88
attribute [local instance] Classical.propDecidable
open scoped BigOperators Matrix
open QAlgorithms.Papers.Independent.Information100.P65 (hookLength)
open QAlgorithms.Papers.Independent.Renew46.P30 (TensorIndex)
universe u v w x y
/-- All four cardinality formulas, PDF p.5, (1.7) and (1.9).
The paper's `(2k)!!` is the odd product, explicitly used here. -/
theorem diagram_cardinalities :
(∀ m : ℕ, 0 < m →
Nat.card (LevelDiagram m) = Nat.bell m ∧
Nat.card {d : LevelDiagram m // IsPlanar d.val} = Nat.choose (2 * m) m / (m + 1) ∧
Nat.card {d : PartitionDiagram m // IsPlanar d ∧ IsPairing d} = Nat.choose (2 * m) m / (m + 1)) ∧
(∀ k : ℕ, 0 < k →
Nat.card {d : PartitionDiagram k // IsPairing d} = (∏ j ∈ Finset.range k, (2 * j + 1)) ∧
Nat.card {d : PartitionDiagram k // IsPermutation d} = Nat.factorial k) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P88
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , let be the set of equivalence relations on two Boolean rows of vertices each, with the two vertices of index required to be related when is odd. Then , where is the th Bell number, and the number of planar elements of is . Also, the number of planar equivalence relations on two rows of vertices each whose classes all have exactly two vertices is . Here, on two rows of vertices, the boundary indices are for and for , and “planar” means that for any four vertices in strictly increasing boundary order, relations between the first and third and between the second and fourth force the first and second to be related. Furthermore, for every natural number , the number of equivalence relations on two rows of vertices whose classes all have exactly two vertices is , and the number of those relations for which related vertices in the same row must be equal is . The displayed divisions are natural-number division, and neither universally quantified clause asserts a cardinality formula at zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.