Appendix C / Eq.(67): two-row branching multiplicity
OpenQAlgorithms.Papers.Independent.Extend50.P17.two_row_branchingLet be natural numbers with , , , and . Let and be nested two-row shapes. Let count sequences of single-box additions from to for which every intermediate shape is valid. Then
Binomial coefficients vanish for negative or excessive integer lower arguments. With and , this is Eq. (67). The count is defined by actual valid paths, independently of the closed expression.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P17
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P17
open Filter MeasureTheory
open scoped BigOperators Matrix ComplexOrder Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
/-- PDF pp.13–14, Eq.(67): actual valid-box-addition path count, not a definition by formula. -/
theorem two_row_branching (m k r t : ℕ) (hr : 2*r ≤ m) (ht : 2*t ≤ m+k)
(hcontainLower : r ≤ t) (hcontainUpper : m-r ≤ m+k-t) :
(branchingPaths m k r t : ℝ) = branchingExpression m k r t := by sorry
end QAlgorithms.Papers.Independent.Extend50.P17
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers satisfying , , , and , the following counting identity holds. For a Boolean string , let be the number of indices with and . Let be the number of such strings satisfying and for every integer with . For an integer , define when , and otherwise. Then
where the arguments of use integer arithmetic. The subtractions in the hypotheses use natural-number subtraction, truncated at zero. Zero values of the parameters are allowed; when , the count ranges over the single empty Boolean string.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.