Pattern Rule 2: adding a second-row box to a one-row tableau
ProvedQAlgorithms.Papers.Independent.Intake100.P91.rule_2Let , , , and or , with all parameters integral. The lower qubit GT pattern has top row and zero count ; the upper pattern has top row and zero count . Write for the real Louck product (17)–(18) between the indicated patterns. Then
The negative second branch fixes the source's singlet convention. In particular the two lower words and have coefficients and at .
Formalization Note The numerator's shape labels in (23)–(24) and the last sign in (36) are printing errors; the statement follows (25)–(26) and the first two expressions of (36).
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 2, PDF p.12, (25)-(26), proved pp.18-19, (35)-(36).
Correction: (23)-(24) print the nonexistent shape (n,0) in the numerator
labels. Equation (36)'s last equality drops a minus. We retain (26)'s minus,
consistent with (36)'s first two expressions and the singlet examples. -/
theorem rule_2 (n a b : ℕ) (hn : 2 ≤ n) (ha : a ≤ n-1)
(hbLower : 1 ≤ b) (hbUpper : b ≤ n-1) (hedge : b = a ∨ b = a+1) :
qubitLouck (n-1) 0 a (n-1) 1 b =
if a = b then Real.sqrt ((b : ℝ) / (n : ℝ))
else -Real.sqrt (((n : ℝ) - b) / (n : ℝ)) := 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 , the product-defined coefficient with lower parameters and upper parameters , whose explicit value is the left-hand side below, satisfies
All arithmetic inside the fractions is real arithmetic, and . Both alternatives in the non-strict bounds are included; in particular, is allowed when the remaining hypotheses hold.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.