Closed formulas for a cosine rectangle sum
OpenQAlgorithms.Papers.Independent.Intakenext100.P22.rectangle_sumprove2quantum
Let , be integers. Let be integers with and . Put and
Then
and
Zero side lengths are allowed and give zero. This finite identity evaluates the cosine contractions of the lattice-sector patterns.
Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P22
Formal statement
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakenext100.P22
open scoped BigOperators Topology
open Filter MeasureTheory
/-- PDF p. 18, (86)–(88): both rectangle evaluations, including sine
squares in all four terms of (88). Zero side lengths are permitted. -/
theorem rectangle_sum (n k p lr q lc : ℕ) (hn : 2 ≤ n)
(hk : 1 ≤ k) (hkn : k < n) (hr : p + lr ≤ n - 1) (hc : q + lc ≤ n - 1) :
let t : ℝ := Real.pi * (k : ℝ) / n
rectangleSum n k p lr q lc =
Real.sin (t * lr) * Real.sin (t * lc) / Real.sin t ^ 2 *
Real.cos (t * (2 * ((p : ℝ) - q) + lr - lc)) ∧
rectangleSum n k p lr q lc =
(Real.sin (t * ((p : ℝ) - q + lr)) ^ 2 +
Real.sin (t * ((p : ℝ) - q - lc)) ^ 2 -
Real.sin (t * ((p : ℝ) - q + lr - lc)) ^ 2 -
Real.sin (t * ((p : ℝ) - q)) ^ 2) / (2 * Real.sin t ^ 2) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P22
end
Source
Entanglement entropy of two disjoint intervals in conformal field theory II, arXiv:1011.5482v1, PDF p. 18, §5.4, equations (86)–(88)
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every choice of natural numbers satisfying , , , and , set and define
Then both equalities hold:
and
All arithmetic in these trigonometric expressions is real arithmetic, including the subtractions. The summation ranges include their endpoints and are empty when their lengths are zero. Zero lengths are permitted by the hypotheses, and the asserted equalities include those cases.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.