File size: 2,354 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | import OAI.Algebra.DepthFive.FiniteOperator
import OAI.Algebra.DepthFive.LowerSchedule
import OAI.Algebra.DepthFive.AnalyticParameters
import OAI.Algebra.DepthFive.BinomialRatios
namespace OAI
/-! Common, concrete data for the two sides of the IMM rank comparison. -/
noncomputable section
namespace Problem335.LowerParameters
/-- The source dimension for the configured bidegree rank measure. -/
def rankDimension (n : β) : β :=
(homogeneousDim (v n) (a n) : β) * (homogeneousDim (u n) (b n) : β)
/-- The common path-count and occupation-mean factor in the two trace moments. -/
def rankMomentScale (n : β) : β :=
(n : β) ^ (n - 1) * ((a n : β) / (v n : β)) ^ k n *
(1 + (b n : β) / (u n : β)) ^ m n
/-- The actual rank measure, extended by zero outside the range where the
balanced schedule is used. The small values do not enter the eventual bounds. -/
def rankData (n : β) (p : MvPolynomial (Fin n Γ Fin n Γ Fin n) β) : β :=
if hn : 4 β€ n then
(bidegreeRank (fun x : Fin n Γ Fin n Γ Fin n => balancedLayer hn x.1)
(a n) (b n) (k n) (m n) p : β)
else 0
theorem rankData_eq {n : β} (hn : 4 β€ n)
(p : MvPolynomial (Fin n Γ Fin n Γ Fin n) β) :
rankData n p =
(bidegreeRank (fun x : Fin n Γ Fin n Γ Fin n => balancedLayer hn x.1)
(a n) (b n) (k n) (m n) p : β) := by
simp [rankData, hn]
theorem rankData_nonneg (n : β)
(p : MvPolynomial (Fin n Γ Fin n Γ Fin n) β) : 0 β€ rankData n p := by
unfold rankData
split_ifs <;> positivity
theorem rankDimension_nonneg (n : β) : 0 β€ rankDimension n := by
unfold rankDimension
positivity
theorem rankDimension_pos {n : β} (hn : 4 β€ n) : 0 < rankDimension n := by
have hv : 0 < homogeneousDim (v n) (a n) :=
homogeneousDim_pos (v_pos hn) (a n)
have hu : 0 < homogeneousDim (u n) (b n) :=
homogeneousDim_pos (u_pos hn) (b n)
unfold rankDimension
positivity
theorem rankMomentScale_pos {n : β} (hn : 4 β€ n) : 0 < rankMomentScale n := by
have hn' : (0 : β) < n := by exact_mod_cast (show 0 < n by omega)
have ha : (0 : β) < a n := by exact_mod_cast a_pos hn
have hv : (0 : β) < v n := by exact_mod_cast v_pos hn
have hu : (0 : β) < u n := by exact_mod_cast u_pos hn
unfold rankMomentScale
positivity
end Problem335.LowerParameters
end
end OAI
|