Download data/lean/OAI/NumberTheory/PiExponent/Approximation/AdmissibleMatrixInterpolation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.28 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/AdmissibleMatrixInterpolation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/PiExponent/Approximation/AdmissibleMatrixInterpolation.lean
-
curl -L -o AdmissibleMatrixInterpolation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/AdmissibleMatrixInterpolation.lean
7.28 kB
| import OAI.NumberTheory.PiExponent.Ampleness.AdmissibleBlowupGeometry | |
| import OAI.NumberTheory.PiExponent.Approximation.DeterminantContradiction | |
| import OAI.NumberTheory.PiExponent.Approximation.FormalMatrixSurjectivity | |
| import OAI.NumberTheory.PiExponent.Approximation.WeightedSliceDegree | |
| namespace OAI | |
| noncomputable section | |
| namespace PiExponent.AdmissibleMatrixInterpolation | |
| open Filter | |
| open DeterminantContradiction AdmissibleBlowupGeometry | |
| variable {Ξ½ : β} (d : FixedData Ξ½) | |
| theorem degreeWeights_eq_matrix (i : Fin (d.m+1)) : | |
| (d.curveDegreeWeights i : β) = | |
| InterpolationMatrix.columnWeights d.w0 | |
| (MatrixArithmetic.logWeights (finiteDenominators d)) i := by | |
| refine Fin.cases ?_ (fun j => ?_) i | |
| Β· rfl | |
| Β· simp only [AdmissibleParameters.curveDegreeWeights_succ, | |
| d.cast_rationalWeight, InterpolationMatrix.columnWeights, Fin.cases_succ, | |
| logWeights_eq] | |
| theorem jetWeights_eq_matrix (i : Fin (d.m+1)) : | |
| (d.curveJetWeights i : β) = | |
| InterpolationMatrix.rowWeights d.v0 d.base.theta | |
| (MatrixArithmetic.logWeights (finiteDenominators d)) i := by | |
| refine Fin.cases ?_ (fun j => ?_) i | |
| Β· rfl | |
| Β· simp only [AdmissibleParameters.curveJetWeights_succ, Rat.cast_div, | |
| d.cast_rationalWeight, InterpolationMatrix.rowWeights, Fin.cases_succ, | |
| logWeights_eq] | |
| theorem actual_truncation_weight_bound (i : Fin d.m) : | |
| d.curveJetWeights i.succ β€ | |
| (MatrixArithmetic.truncationOrders (finiteDenominators d) d.F0 d.v0 i : β) * | |
| d.curveJetWeights 0 := by | |
| have hw : 0 < MatrixArithmetic.logWeights (finiteDenominators d) i := by | |
| rw [logWeights_eq] | |
| exact zero_lt_one.trans_le (d.x_one_le _) | |
| have hF : 1 / (d.base.theta : β) < d.F0 := | |
| (div_lt_div_of_pos_right (by norm_num : (1 : β) < 2) d.base.theta_pos).trans d.F0_large | |
| have hceil := Nat.le_ceil | |
| (d.F0 * MatrixArithmetic.logWeights (finiteDenominators d) i / (d.v0 : β)) | |
| have hbound : MatrixArithmetic.logWeights (finiteDenominators d) i / (d.base.theta : β) β€ | |
| (MatrixArithmetic.truncationOrders (finiteDenominators d) d.F0 d.v0 i : β) * | |
| (d.v0 : β) := by | |
| calc | |
| _ = (1 / (d.base.theta : β)) * | |
| MatrixArithmetic.logWeights (finiteDenominators d) i := by ring | |
| _ β€ d.F0 * MatrixArithmetic.logWeights (finiteDenominators d) i := | |
| mul_le_mul_of_nonneg_right hF.le hw.le | |
| _ β€ _ := (div_le_iffβ d.v0_pos).mp hceil | |
| have hcast : (d.curveJetWeights i.succ : β) β€ | |
| (MatrixArithmetic.truncationOrders (finiteDenominators d) d.F0 d.v0 i : β) * | |
| (d.curveJetWeights 0 : β) := by | |
| simpa only [AdmissibleParameters.curveJetWeights_zero, | |
| AdmissibleParameters.curveJetWeights_succ, Rat.cast_div, | |
| d.cast_rationalWeight, logWeights_eq] using hbound | |
| exact_mod_cast hcast | |
| theorem matrix_degree_of_supportBound (H : β) (P : PiExponentApprox.FramePolynomial d.m) | |
| (hP : WeightedSliceDegree.SupportBound (fun i => (d.curveDegreeWeights i : β)) H P) : | |
| PiExponentApprox.HasWeightedDegreeLE | |
| (InterpolationMatrix.columnWeights d.w0 | |
| (MatrixArithmetic.logWeights (finiteDenominators d))) H P := by | |
| intro a ha | |
| have h := hP a ha | |
| have hw : (fun i => (d.curveDegreeWeights i : β)) = | |
| InterpolationMatrix.columnWeights d.w0 | |
| (MatrixArithmetic.logWeights (finiteDenominators d)) := | |
| funext (degreeWeights_eq_matrix d) | |
| rw [hw] at h | |
| simpa only [PiExponentApprox.monomialWeight, Finsupp.weight_eq_sum, nsmul_eq_mul] using h | |
| theorem actualMatrix_surjective_of_formalPackets {Ξ± : Type*} (H : β) | |
| (P : Ξ± β PiExponentApprox.FramePolynomial d.m) | |
| (hdegree : β a, WeightedSliceDegree.SupportBound | |
| (fun i => (d.curveDegreeWeights i : β)) (H : β) (P a)) | |
| (hpacket : Function.Surjective (fun a => fun j : Fin d.K => | |
| JetGeometry.rationalCoefficientPacket d.curveJetWeights H | |
| (FormalLogJet.formalJet (d.curveCenters j) (P a)))) : | |
| Function.Surjective (actualMatrix d (H : β)).mulVecLin := by | |
| apply FormalMatrixBridge.truncatedLogMatrix_surjective_of_formalLog_packets | |
| d.K d.w0 d.v0 d.base.theta | |
| (MatrixArithmetic.logWeights (finiteDenominators d)) H | |
| d.w0_pos (fun i => ?_) d.curveJetWeights d.curveJetWeights_pos | |
| (jetWeights_eq_matrix d) | |
| (MatrixArithmetic.rationalCenters (finiteNumerators d) (finiteDenominators d)) | |
| (MatrixArithmetic.truncationOrders (finiteDenominators d) d.F0 d.v0) | |
| (actual_truncation_weight_bound d) P | |
| (fun a => matrix_degree_of_supportBound d _ _ (hdegree a)) hpacket | |
| rw [logWeights_eq] | |
| exact zero_lt_one.trans_le (d.x_one_le _) | |
| def WeightedPolynomials (n : β) := | |
| {P : PiExponentApprox.FramePolynomial d.m // | |
| WeightedSliceDegree.SupportBound (fun i => (d.curveDegreeWeights i : β)) | |
| ((n : β) * (scale d).radius) P} | |
| def packetMap (n : β) (P : WeightedPolynomials d n) := | |
| fun j : Fin d.K => JetGeometry.rationalCoefficientPacket d.curveJetWeights | |
| ((n : β) * (scale d).radius) (FormalLogJet.formalJet (d.curveCenters j) P.val) | |
| theorem packetMap_surjective_of_family {Ξ± : Type*} (n : β) | |
| (P : Ξ± β PiExponentApprox.FramePolynomial d.m) | |
| (hdegree : β a, WeightedSliceDegree.SupportBound | |
| (fun i => (d.curveDegreeWeights i : β)) ((n : β) * (scale d).radius) (P a)) | |
| (hpacket : Function.Surjective (fun a => fun j : Fin d.K => | |
| JetGeometry.rationalCoefficientPacket d.curveJetWeights | |
| ((n : β) * (scale d).radius) (FormalLogJet.formalJet (d.curveCenters j) (P a)))) : | |
| Function.Surjective (packetMap d n) := by | |
| intro y | |
| obtain β¨a,haβ© := hpacket y | |
| exact β¨β¨P a,hdegree aβ©,haβ© | |
| theorem actualMatrix_surjective_of_packetMap (n : β) | |
| (hpacket : Function.Surjective (packetMap d n)) : | |
| Function.Surjective (actualMatrix d ((n : β) * (scale d).radius)).mulVecLin := by | |
| have h := actualMatrix_surjective_of_formalPackets d | |
| ((n : β) * (scale d).radius) (fun P : WeightedPolynomials d n => P.val) | |
| (fun P => by simpa only [Rat.cast_mul, Rat.cast_natCast] using P.property) hpacket | |
| have hc : (((n : β) * (scale d).radius : β) : β) = | |
| (n : β) * (scale d).radius := by push_cast; rfl | |
| exact hc βΈ h | |
| theorem cofinal_actualMatrix_of_eventual_packets | |
| (hpacket : βαΆ n : β in atTop, Function.Surjective (packetMap d n)) | |
| (L : β) : β H : β, L β€ H β§ Function.Surjective (actualMatrix d H).mulVecLin := by | |
| obtain β¨N,hNβ© := eventually_atTop.mp hpacket | |
| let n := max N (Nat.ceil (L / ((scale d).radius : β))) | |
| have hR : (0 : β) < (scale d).radius := by exact_mod_cast (scale d).radius_pos | |
| have hL : L β€ (n : β) * (scale d).radius := by | |
| apply (div_le_iffβ hR).mp | |
| exact (Nat.le_ceil _).trans (by exact_mod_cast (le_max_right N | |
| (Nat.ceil (L / ((scale d).radius : β))))) | |
| exact β¨(n : β) * (scale d).radius, hL, | |
| actualMatrix_surjective_of_packetMap d n (hN n (le_max_left _ _))β© | |
| theorem globalInterpolation_of_eventual_packets | |
| (hpacket : β Ξ½ : β, 2 < Ξ½ β β d : FixedData Ξ½, | |
| βαΆ n : β in atTop, Function.Surjective (packetMap d n)) : | |
| GlobalInterpolationStatement := by | |
| intro Ξ½ hΞ½ d L | |
| exact cofinal_actualMatrix_of_eventual_packets d (hpacket Ξ½ hΞ½ d) L | |
| end PiExponent.AdmissibleMatrixInterpolation | |
| end | |
| end OAI | |