cfahlgren1/math / lean /OAI /Combinatorics /Progressions /Polynomial /AllocatedExternalCandidatePrimitiveDegreeOne.lean
cfahlgren1's picture
download
raw
8.86 kB
import OAI.Combinatorics.Progressions.Estimates.AllocatedExternalCandidateThresholdSuccessor
namespace OAI
section
namespace Erdos3.VectorPolynomial
open Module Submodule BooleanCubeKernel NilpotentLieFiltration NilpotentLieBCHGroup
open scoped BigOperators Classical TensorProduct NNReal
attribute [local irreducible] weightedAdaptedRealChartHom realPolynomialSymbolHom
realChartSubstitute realPolynomialGroupMap associatedGradedMap gradedRefiltrationMap
PolynomialRationalGrid PolynomialSlowBound
variable {m : ℕ} {G X : Type} [Fintype G] [Fintype X]
{I E J : Fin m → Type} [∀ j, Fintype (I j)] [∀ j, Fintype (J j)]
{n : Fin m → ℕ} {B : LayerSamplerAxis I n → Type} [∀ a, Fintype (B a)]
{U : ∀ j, Submodule ℝ (J j → ℝ)}
{b : ∀ j, Basis (Fin (n j)) ℝ (euclideanSubspace (U j))ᗮ}
{R σ : Fin m → ℝ} {S : LayerSamplerScale (G := G) B U b R σ}
{hb : ∀ j, span ℤ (Set.range (b j)) = projectedIntegerLattice (euclideanSubspace (U j))}
{o : ∀ j, OrthonormalBasis (I j) ℝ (euclideanSubspace (U j))}
{hR : ∀ j, 0 < R j} {hσ : ∀ j, 0 < σ j}
{N : X → ℕ} {poly : ∀ j, VectorPolynomial X ℝ (J j → ℝ)}
{hm : ∀ j e, coefficients (poly j) e ∈ U j}
{τ ξ : ℝ} {stride : X → ℕ}
{cells : Finset (ColumnResiduePattern (Option (LayerSamplerVariables G I n B)) X stride)}
{center : CoefficientTorus (K := LayerSamplerVariables G I n B) U}
[∀ j, IsZLattice ℝ (latticeSection (standardEuclideanLattice (J j)) (euclideanSubspace (U j)))]
{A : AllocatedExternalCandidateSampler B U b S hb o hR hσ N poly hm τ ξ stride cells center}
namespace AllocatedExternalCandidateProblem
variable {L M : Type} {nMarkedBasis : ℕ} [LieRing L] [LieAlgebra ℚ L]
[LieRing M] [LieAlgebra ℚ M] {d f : ℕ}
[TopologicalSpace (ℝ ⊗[ℚ] L)] [IsTopologicalAddGroup (ℝ ⊗[ℚ] L)]
[ContinuousSMul ℝ (ℝ ⊗[ℚ] L)] [T2Space (ℝ ⊗[ℚ] L)]
{D : RationalFilteredNilmanifold L 1 d}
(Fmark : RationalFilteredNilmanifold M 1 f)
(φ : L →ₗ⁅ℚ⁆ M)
(hφ : ∀ j, ∀ x ∈ D.filtration.layer j, φ x ∈ Fmark.filtration.layer j)
{marked : Fmark.filtration.realification.PolynomialOrbit (fullTaggedVariableWeight (X := X) J)}
{observable : (X → ℤ) → D.Space → ℂ} {weight : (X → ℤ) → ℂ}
{cost massThreshold scoreThreshold : ℝ}
(P₀ : AllocatedExternalCandidateProblem (E := E) A D Fmark.filtration φ marked
observable weight cost massThreshold scoreThreshold)
(keep : LayerSamplerVariables G I n B → Prop)
(hkeep : ∀ z : P₀.productive, (P₀.chart z).keep = keep)
variable (W : LieSubalgebra ℚ D.filtration.AssociatedGraded)
{e : ℕ}
(c : Basis (Fin nMarkedBasis) ℚ M)
(ν : Fin nMarkedBasis → ℕ)
(hF : ∀ j, Fmark.filtration.layer j = span ℚ (c '' {i | j ≤ ν i}))
{g : (Fmark.filtration.realification.adaptedPolynomialFiltration
(fullTaggedVariableWeight (X := X) J)).Group}
{EF RF : Fmark.filtration.RealPolynomialSymbolGroup (fullTaggedVariableWeight (X := X) J)}
(factors : GlobalMarkedNativeFactors Fmark.filtration c ν hF (fullTaggedVariableWeight J)
(W.map (D.filtration.associatedGradedMap Fmark.filtration φ hφ)) g EF RF)
{slow : ℝ} {denominator : ℕ}
(reset : AllocatedExternalGlobalNativeResetFamily
Fmark φ hφ P₀ keep hkeep W factors slow denominator)
(hσ1 : ∀ j, σ j ≤ 1) (H : Fin m → ℝ) (hH : ∀ j, 0 ≤ H j)
(hchart : ∀ j v, ‖(normalizedOrthogonalChart (euclideanSubspace (U j)) (b j)).symm v‖ ≤ H j * ‖v‖)
(hsmall : ∀ j, H j * (((Fintype.card (I j) : ℝ) + 1) * R j) ≤ 1 / 8)
(hp : ∀ j, DegreeLE (1 : X → ℕ) (j.val + 1) (poly j))
include hσ1 H hH hchart hsmall hp
theorem conclusion_of_primitive_nativeReset_degreeOne
{densityCost p massLog : ℝ}
(a : ℕ) (hp0 : 0 ≤ p)
(hDNative : D.GeometryComplexityLE p)
(hRetainedCount : (Fintype.card { i : LayerSamplerVariables G I n B // keep i } : ℝ) ≤ p)
(hMarkedDimension : (nMarkedBasis : ℝ) ≤ p)
(hSectionMapHeight : ∀ i j, rationalLogHeight (c.repr (φ (D.basis j)) i) ≤ p)
(hdenominatorPos : 0 < denominator)
(hdenominatorBound : (denominator : ℝ) ≤ Real.exp p)
(hSlowBound : slow ≤ Real.exp ((p + 2) ^ a))
(hslowMark : ∀ z, Fmark.filtration.PolynomialSlowBound c (fun _ : { i : LayerSamplerVariables G I n B // keep i } => 1)
(fun i : { i : LayerSamplerVariables G I n B // keep i } => (A.sides i.val : ℝ)) slow (Fmark.filtration.weightedAdaptedRealChartHom (fullTaggedVariableWeight J) (fun _ : {i : LayerSamplerVariables G I n B // keep i} => 1) (integerSampledRealChart ((P₀.withKeep keep hkeep).chart z).integerChart) ((P₀.withKeep keep hkeep).chart z).integerChart_support factors.left))
(hgrid : Fmark.filtration.PolynomialRationalGrid c
(fullTaggedVariableWeight (X := X) J) denominator factors.right)
(hdensity : ∀ z : (P₀.withKeep keep hkeep).productive,
IsDenseCommonStrideBox
(fun i : ((P₀.withKeep keep hkeep).chart z).Variables => A.sides i.val)
densityCost ((P₀.withKeep keep hkeep).chart z).slice.integerPoints)
(hside : ∀ i : { i : LayerSamplerVariables G I n B // keep i },
Real.exp (finiteFreezingRecursiveParameter
(candidatePrimitivePhysicalBudgetExponent 0 a) p) ≤ (A.sides i.val : ℝ))
(hweight : ∀ x, ‖weight x‖ ≤ Real.exp p)
(hscoreInput : Real.exp (-p) ≤ scoreThreshold)
(hcostInput : cost ≤ p) (hdensityInput : densityCost ≤ p)
(hmassLog : massLog ≤ p) (hmassInput : Real.exp (-massLog) ≤ massThreshold)
(dw : Fin d → ℕ)
(hdb : ∀ j, D.filtration.layer j = Submodule.span ℚ (D.basis '' {i | j ≤ dw i}))
(hW : BasisGradedSubmodule (D.filtration.associatedGradedBasis D.basis dw hdb) dw W.toSubmodule)
(hsurj : ∀ j, ∀ y ∈ Fmark.filtration.layer j, ∃ x ∈ D.filtration.layer j, φ x = y)
(hξ1 : ξ ≤ 1)
(ℓ : ℝ≥0)
(hℓ : (ℓ : ℝ) ≤ Real.exp p)
(hmarkedPhysicalLeft : ∀ x ∈ integerBox N, ∀ i,
|(c.baseChange ℝ).repr
(Fmark.filtration.realification.polynomialOrbitEval (fullTaggedVariableWeight J)
((P₀.withKeep keep hkeep).physicalIntegerPoint x) reset.leftMark).coord i| ≤ Real.exp p)
(hOriginalLip : ∀ x, letI := D.metricSpace; LipschitzWith ℓ (observable x))
(hpositive : ∀ x y, (observable x y).im = 0 ∧
0 ≤ (observable x y).re ∧ (observable x y).re ≤ 1)
(hFGeo : Fmark.GeometryComplexityLE p)
{Generator : Type} [Fintype Generator]
(generators : Generator → D.filtration.AssociatedGraded)
(hspan : span ℚ (Set.range generators) = W.toSubmodule)
(hgeneratorCount : (Fintype.card Generator : ℝ) ≤ p)
(hmarkedBasis : ∀ i j, rationalLogHeight (Fmark.basis.repr (c i) j) ≤ p)
(hmarkHeight : ∀ i j, rationalLogHeight (Fmark.basis.repr (φ (D.basis i)) j) ≤ p)
(hgeneratorHeight : ∀ i j,
rationalLogHeight ((D.filtration.associatedGradedBasis D.basis dw hdb).repr (generators i) j) ≤ p)
(htopKernel : ∀ x : L, x ∈ D.filtration.gradedRefiltrationLayer W 1 → φ x = 0 → x = 0)
(hOriginalNet : ∀ η : ℝ, 0 < η → η ≤ 1 → ∃ n : ℕ,
(n : ℝ) ≤ Real.exp ((p + Real.log (1 / η) + e) ^ e) ∧
∃ oc : Fin n → {x : X → ℤ // x ∈ integerBox N},
∀ x ∈ integerBox N, ∃ i, ∀ y, ‖observable x y - observable (oc i).val y‖ ≤ η)
: Nonempty (P₀.Conclusion
(finiteFreezingRecursiveParameter (candidatePrimitivePhysicalBudgetExponent 0 a) p)
(Real.exp (-(finiteFreezingRecursiveParameter (candidatePrimitivePhysicalBudgetExponent 0 a) p)))
(Real.exp (-(finiteFreezingRecursiveParameter (candidatePrimitivePhysicalBudgetExponent 0 a) p)))) := by
exact P₀.conclusion_of_primitive_nativeReset_degreeRule Fmark φ hφ keep hkeep W
c ν hF factors reset hσ1 H hH hchart hsmall hp a hp0
hDNative hRetainedCount hMarkedDimension hSectionMapHeight
hdenominatorPos hdenominatorBound hSlowBound hslowMark hgrid hdensity hside
hweight hscoreInput hcostInput hdensityInput hmassLog hmassInput
dw hdb hW hsurj hξ1 ℓ hℓ hmarkedPhysicalLeft hOriginalLip hpositive hFGeo
generators hspan hgeneratorCount hmarkedBasis hmarkHeight hgeneratorHeight
htopKernel hOriginalNet
(finiteFreezingRecursiveParameter (candidatePrimitivePhysicalBudgetExponent 0 a) p)
(A.degreeGlobalizationAt_zero (E := E) weight
(RationalFilteredNilmanifold.refilteredQuotientNetExponent.{0, 0, 0} 0 1 e + 2)
(finiteFreezingRecursiveParameter (candidatePrimitivePhysicalBudgetExponent 0 a) p))
end AllocatedExternalCandidateProblem
end Erdos3.VectorPolynomial
end
end OAI

Xet Storage Details

Size:
8.86 kB
·
Xet hash:
728f1bdca6ef3e8146f897a18596abcb04324ab4e291be4b1a3c78f5aea9a2dd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.