Download data/lean/OAI/Algebra/DepthFive/ConfiguredRankData.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.35 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/DepthFive/ConfiguredRankData.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Algebra/DepthFive/ConfiguredRankData.lean
-
curl -L -o ConfiguredRankData.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/DepthFive/ConfiguredRankData.lean
2.35 kB
| 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 | |