Pattern Rule 4: remove common full columns, then use Rule 2
OpenQAlgorithms.Papers.Independent.Intake100.P91.rule_4Let be nonnegative integers with , , , , and or . Let denote the real Louck product (17)–(18) for the lower and upper qubit GT patterns specified by its arguments. Removing their common full columns gives
The coefficient is therefore
The denominator is at least . The rule includes , when no columns are removed.
Formalization Note The minus lost after the first expression in (45) is retained; the reference to Rule 1b following (46) is read as Rule 2b, consistently with Rule 4 and the examples.
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 4, PDF p.13, proved p.20, (42)-(46): delete k-1 complete columns,
then apply Rule 2. Includes k=1. Correction: (45) loses its minus after the
first equality; the prose after (46) prints Rule 1b where Rule 2b is needed.
The retained minus agrees with Rule 4 and all three examples, pp.13-14. -/
theorem rule_4 (n k a b : ℕ) (hk : 1 ≤ k) (hn : 2*k ≤ n)
(haLower : k-1 ≤ a) (haUpper : a ≤ n-k)
(hbLower : k ≤ b) (hbUpper : b ≤ n-k) (hedge : b = a ∨ b = a+1) :
qubitLouck (n-k) (k-1) a (n-k) k b =
qubitLouck (n-2*k+1) 0 (a-(k-1)) (n-2*k+1) 1 (b-(k-1)) ∧
qubitLouck (n-k) (k-1) a (n-k) k b =
if a = b then Real.sqrt (((b : ℝ) - k + 1) / ((n : ℝ) - 2*k + 2))
else -Real.sqrt (((n : ℝ) - k - b + 1) / ((n : ℝ) - 2*k + 2)) := 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 the following explicit real-valued expression, which expands each coefficient occurring in this statement:
Here the natural-number arguments inside fractions are interpreted as real numbers. Then both of the following equalities hold:
and
Subtractions in the arguments of are natural-number subtraction, truncated at zero; the hypotheses ensure that none of those subtractions truncate a negative difference. In particular, , and the real denominator is positive.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.