Download lean/OAI/MathematicalPhysics/DefocusingNLS/Certificates/BoundaryPositiveForm.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremrawBoundaryEntry_determinant (ell : ℕ) (b Zv : ℝ) :
((rawDeterminant ell b Z).eval (v : ℂ)).re =
(rawBoundaryEntry ell b Z v 00).re * (rawBoundaryEntry ell b Z v 11).re -
Complex.normSq (rawBoundaryEntry ell b Z v 01) :=by
proof · 5
lines
simp only [rawDeterminant, eval_sub, eval_mul, conjugatePolynomial_eval_real]
change (rawBoundaryEntry ell b Z v 00 * rawBoundaryEntry ell b Z v 11 -
rawBoundaryEntry ell b Z v 01 * star (rawBoundaryEntry ell b Z v 01)).re = _
rw [rawBoundaryEntry_diagonal ell b Z v 0, rawBoundaryEntry_diagonal ell b Z v 1]
simp [Complex.mul_re, Complex.normSq_apply]
theoremrawBoundaryEntry_leading_pos (ell : Fin4) (b Z : ℝ)
(hb : |100000000 * b - 33477607| ≤2) (hZ : |100000000 * Z - 270506819| ≤2)
(v : ℝ) : 0 < (rawBoundaryEntry ell b Z v 00).re :=by
proof · 13
lines
have hdet (t : ℝ) : 0 <
(rawBoundaryEntry ell b Z t 00).re * (rawBoundaryEntry ell b Z t 11).re -
Complex.normSq (rawBoundaryEntry ell b Z t 01) :=by
rw [← rawBoundaryEntry_determinant]
exact rawDeterminant_positive ell b Z t hb hZ
havehzero : 0 < (rawBoundaryEntry ell b Z000).re :=by
simpa only [rawBoundaryEntry, rawFirstDiagonal, Complex.ofReal_zero] using
rawFirstDiagonal_at_zero_pos ell b Z hb hZ
exact positive_leading_coefficient_of_det
(fun t => (rawBoundaryEntry ell b Z t 00).re)
(fun t => (rawBoundaryEntry ell b Z t 11).re)
(fun t => rawBoundaryEntry ell b Z t 01)
(Complex.continuous_re.comp (rawBoundaryEntry_continuous ell b Z00)) hdet 0 hzero v
The finite boundary certificate yields a strictly positive quadratic form
at every real frequency, uniformly throughout the parameter box.
theoremrawBoundaryEntry_pairForm_pos (ell : Fin4) (b Zv : ℝ)
(hb : |100000000 * b - 33477607| ≤2) (hZ : |100000000 * Z - 270506819| ≤2)
(u w : ℂ) (huw : u ≠0∨ w ≠0) :
0 < hermitianPairForm (rawBoundaryEntry ell b Z v 00).re
(rawBoundaryEntry ell b Z v 11).re (rawBoundaryEntry ell b Z v 01) u w :=by
proof · 3
lines
apply hermitianPairForm_pos _ _ _ _ _ (rawBoundaryEntry_leading_pos ell b Z hb hZ v) _ huw
rw [← rawBoundaryEntry_determinant]
exact rawDeterminant_positive ell b Z v hb hZ
A direct positivity statement for the two actual evaluated forward forms.
theoremevaluated_boundary_cones_pos (ell : Fin4) (b Zv : ℝ)
(hb : |100000000 * b - 33477607| ≤2) (hZ : |100000000 * Z - 270506819| ≤2)
(w : Fin2→ℂ) (hw : w ≠0) :
0 < matrixCone (scaledMass ell) (scaledShift Z)
(fun i j => ((stateMatrix (polynomialState ell b Z8)) i j).eval (v : ℂ)) w +
matrixCone (scaledMass ell) (star (scaledShift Z))
(fun i j => star (((stateMatrix (polynomialState ell b Z8)) i j).eval
((-v : ℝ) : ℂ))) w :=by
proof · 12
lines
have he (i j : Fin2) : rawBoundaryEntry ell b Z v i j =
forwardFormEntry (scaledMass ell) (scaledShift Z)
(fun a c => ((stateMatrix (polynomialState ell b Z8)) a c).eval (v : ℂ)) i j +
forwardFormEntry (scaledMass ell) (star (scaledShift Z))
(fun a c => star (((stateMatrix (polynomialState ell b Z8)) a c).eval
((-v : ℝ) : ℂ))) i j :=
reflectedHermitianPolynomial_eval _ _ _ v i j
apply positive_sum_matrixCone _ _ _ _ _ (by simp [scaledShift])
(by simp [scaledShift]) _ _ w hw
· simpa only [he, Complex.add_re] using rawBoundaryEntry_leading_pos ell b Z hb hZ v
· simpa only [rawBoundaryEntry_determinant, he, Complex.add_re] using
rawDeterminant_positive ell b Z v hb hZ