Pattern Rule 3: remove all common full columns, then use Rule 1
OpenQAlgorithms.Papers.Independent.Intake100.P91.rule_3Let be nonnegative integers with , , , and or . Let be the real Louck product (17)–(18) between the lower and upper qubit GT patterns specified by these arguments. Removing the common full columns preserves the coefficient:
Its value is
Both branches are positive, and . This reduces two-row coefficients to the one-row rule and includes .
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P91
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P91
open scoped BigOperators
attribute [local instance] Classical.propDecidable
/-- Rule 3, PDF p.13, proved p.19, (37)-(41): delete k complete columns.
The conjunction retains both the reduction to Rule 1 and its numerical value.
Includes k=0 (Rule 1). A valid lower shape requires n≥2k+1. -/
theorem rule_3 (n k a b : ℕ) (hn : 2*k+1 ≤ n)
(haLower : k ≤ a) (haUpper : a ≤ n-k-1)
(hbLower : k ≤ b) (hbUpper : b ≤ n-k) (hedge : b = a ∨ b = a+1) :
qubitLouck (n-k-1) k a (n-k) k b =
qubitLouck (n-2*k-1) 0 (a-k) (n-2*k) 0 (b-k) ∧
qubitLouck (n-k-1) k a (n-k) k b =
if a = b then Real.sqrt (((n : ℝ) - k - b) / ((n : ℝ) - 2*k))
else Real.sqrt (((b : ℝ) - k) / ((n : ℝ) - 2*k)) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P91
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers satisfying , , , and or , define, for natural arguments , the explicitly expanded coefficient
with arithmetic in and division by zero defined as zero; this is the product-defined coefficient whose lower parameters are and upper parameters are . The assertion consists of both equalities
and
Subtractions in the arguments of are natural-number subtractions, truncated at zero, whereas the final displayed fractions use real subtraction. The hypotheses ensure that those argument subtractions do not underflow and that . The case and all permitted boundary values of are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.