File size: 3,533 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | import OAI.LinearAlgebra.MatrixMultiplication.Arithmetic.Exponent
import OAI.LinearAlgebra.MatrixMultiplication.Numerical.ComplexCertificatesDual
import OAI.LinearAlgebra.MatrixMultiplication.Tensor.ComplexWitness
import OAI.LinearAlgebra.MatrixMultiplication.Rectangular.ASI
import OAI.LinearAlgebra.MatrixMultiplication.Rectangular.RateLimit
namespace OAI
/-! Dual matrix multiplication exponents and finite rectangular constructions. -/
noncomputable section
namespace MatrixMultiplication.DualExponentBound
open Filter
open scoped Topology
def fixedAspect : β := 4651 / 10000
theorem target_lt_fixedAspect : (93 : β) / 200 < fixedAspect := by
norm_num [fixedAspect]
theorem fixedAspect_lt_certificate : fixedAspect < (1548637 : β) / 3327360 := by
norm_num [fixedAspect]
theorem fixedAspect_lt_dual_aspect : fixedAspect < DualWitness.aspect :=
fixedAspect_lt_certificate.trans ComplexCertificates.dual_aspect_lower
theorem fixedAspect_mem_unit : fixedAspect β Set.Icc (0 : β) 1 := by
norm_num [fixedAspect]
structure ActualFamily (k budget : β) where
witness : β β ComplexWitness.FiniteRectangularWitness
scale : β β β
outerRate : β
innerRate : β
multiplicityRate : β
rankRate : β
scale_positive : βαΆ n in atTop, 0 < scale n
outer_positive : 0 < outerRate
outer_limit : Tendsto
(fun n => Real.log ((witness n).outer : β) / scale n) atTop (π outerRate)
inner_limit : Tendsto
(fun n => Real.log ((witness n).inner : β) / scale n) atTop (π innerRate)
multiplicity_limit : Tendsto
(fun n => Real.log ((witness n).multiplicity : β) / scale n) atTop (π multiplicityRate)
rank_limit : Tendsto
(fun n => Real.log ((witness n).rank : β) / scale n) atTop (π rankRate)
aspect_gap : k * outerRate < innerRate
cost_bound : rankRate - multiplicityRate β€ budget * outerRate
namespace ActualFamily
theorem omega_le {k budget : β} (P : ActualFamily k budget) (hk : 0 β€ k) :
Arithmetic.rectangularOmega β k β€ budget := by
have hbound := RectangularRateLimit.exponent_le_of_finite_asi
(fun n => (P.witness n).outer_pos) (fun n => (P.witness n).inner_pos)
P.scale_positive P.outer_limit P.inner_limit P.multiplicity_limit P.rank_limit
P.outer_positive P.aspect_gap
(fun n ha hab => Arithmetic.equalRectangular_log_inequality_of_polynomialApproximation
ha (P.witness n).multiplicity_pos hk hab (P.witness n).approximation)
exact hbound.trans ((div_le_iffβ P.outer_positive).2 P.cost_bound)
end ActualFamily
theorem omega_eq_two_of_arbitrarily_close_families {k : β} (hk : 0 β€ k)
(families : β Ξ΅ : β, 0 < Ξ΅ β Nonempty (ActualFamily k (2 + Ξ΅))) :
Arithmetic.rectangularOmega β k = 2 := by
apply le_antisymm _ (Arithmetic.rectangularOmega_two_le k)
by_contra h
have hΟ : 2 < Arithmetic.rectangularOmega β k := lt_of_not_ge h
have hΞ΅ : 0 < (Arithmetic.rectangularOmega β k - 2) / 2 := by linarith
obtain β¨Pβ© := families ((Arithmetic.rectangularOmega β k - 2) / 2) hΞ΅
have hbound := P.omega_le hk
linarith
theorem alpha_gt_target_of_arbitrarily_close_families
(families : β Ξ΅ : β, 0 < Ξ΅ β Nonempty (ActualFamily fixedAspect (2 + Ξ΅))) :
(93 : β) / 200 < Arithmetic.complexAlpha := by
have hΟ := omega_eq_two_of_arbitrarily_close_families fixedAspect_mem_unit.1 families
exact target_lt_fixedAspect.trans_le (Arithmetic.le_complexAlpha fixedAspect_mem_unit hΟ)
end MatrixMultiplication.DualExponentBound
end
end OAI
|