Retuned physical high-probe data and moment predicates
DefinitionTransport_RetunedPhysicalHigh_08749570697994The literal candidate scales, detector and tuned source data, normalized physical probe, and moment-bound predicate for the 0.8749570697994 transport proof.
Definition code
import Definitions.Def_OAIHecke78B027
import Definitions.Def_OAI_NumberTheory_DirichletL_ParametersDetectorScales
import Definitions.Def_Transport_LocalBounds
import Definitions.Def_Transport_PhysicalHigh_DistinctSlots
import Definitions.Def_Transport_PhysicalHigh_EnergyMesh
import Definitions.Def_Transport_SupportedMass
section
set_option autoImplicit false
namespace RH.Transport.RetunedCandidate
open RH.Transport.LocalBounds
noncomputable section
def lxAt (e b : ℝ) : ℝ := (1 - e - b) / 2
def lyAt (e b : ℝ) : ℝ := (1 - e + b) / 2
def hAt (e b : ℝ) : ℝ := (1 + 3 * e + b) / 2
def widthAt (e : ℝ) : ℝ := 1 - e
def boundaryAt (e : ℝ) : ℝ := 11 / 12 - e / 4
def signalAt (e b s : ℝ) : ℝ := s + lxAt e b / 2 - 1 + hAt e b / 6
def lowExponentAt (e b : ℝ) : ℝ := lxAt e b / 2 + b / 12
def p : ℝ := 214651003 / 1250000000000
def b : ℝ := 192821 / 1562500
def ell : ℝ := Geometry.ell p
def lx : ℝ := lxAt ell b
def ly : ℝ := lyAt ell b
def h : ℝ := hAt ell b
def width : ℝ := widthAt ell
def B : ℝ := boundaryAt ell
def signal (s : ℝ) : ℝ := signalAt ell b s
def lowExponent : ℝ := lowExponentAt ell b
def cushion : ℝ := 1 / 1000000000000
def zeta : ℝ := 1 / 8000000000000
def intermediateExponent (δ x : ℝ) : ℝ :=
let a := (1 + δ) / 2
let q := δ * x
let R := 76 / 75 - 2 * δ / 3
a - B + h * (17 / 50 - 1 / 6) - a * ly - ell / 2 + q * ell
+ (1 / 2) * (R + δ / 2 - 17 / 50)
inductive SideCondition where
| gramScale | lowSubset | minimumWidth | minimumLx | minimumLy | gram
| floor | intermediate | small | selectedSupply | strongSupply
| bufferedUpperScale | principalW | principalZ | goodTail
| principalMixed | smallFirstRegion
def sideMargin (term : SideCondition) : ℝ :=
match term with
| .gramScale => b
| .lowSubset => 1 / 5 - ell
| .minimumWidth => 1 - 3 * ell
| .minimumLx => lx - ell
| .minimumLy => ly - ell
| .gram => ly - ell - 11 * b / 6
| .floor => 7 / 1200 - (32 / 25) * p - (b - 1 / 8) / 6
| .intermediate => -intermediateExponent (3 / 4) (1 / 2)
| .small => ly / 2 - h * (17 / 50 - 1 / 6) - 1 / 50
| .selectedSupply => ell / (h + zeta) - 7 / 37
| .strongSupply => 5 * ell - h - zeta
| .bufferedUpperScale => 1 - h - zeta
| .principalW => ly / 20
| .principalZ => h / 600
| .goodTail => goodTailDecay p - 4 / 5
| .principalMixed => 4 * B - 301 / 100
| .smallFirstRegion => B - 1 / 2
def sideMarginValue (term : SideCondition) : ℝ :=
match term with
| .gramScale => 192821 / 1562500
| .lowSubset => 124356046991 / 3750000000000
| .minimumWidth => 624356046991 / 1250000000000
| .minimumLx => 470099246991 / 2500000000000
| .minimumLy => 778612846991 / 2500000000000
| .gram => 639013740973 / 7500000000000
| .floor => 17224484491 / 2929687500000
| .intermediate => 36605252260039 / 1500000000000000
| .small => 9800247198847 / 125000000000000
| .selectedSupply => 58715787351527 / 3605103737344539
| .strongSupply => 2667796336993 / 120000000000000
| .bufferedUpperScale => 7521587951851 / 40000000000000
| .principalW => 3587126446991 / 150000000000000
| .principalZ => 2029900753009 / 1500000000000000
| .goodTail => 74785348997 / 5000000000000
| .principalMixed => 612285348997 / 1250000000000
| .smallFirstRegion => 1874785348997 / 5000000000000
end
end RH.Transport.RetunedCandidate
end
section
set_option autoImplicit false
/-! The actual tuned normalized probe.
Adapted from OpenAI Detector/FinalAssemblySource.lean, pinned source commit
fd4aeeb2ee4fc729c18d98444fed42fd0529eeeb.
This definition is shared verbatim by the low, high and principal proofs. -/
namespace RH.Transport.PhysicalLow
noncomputable section
open scoped Classical ContDiff
open Filter Asymptotics
open OAI OAI.SevenEighths
open HeckeFamily ProbePhysical ProbeRaySlots PrincipalSignalComparison PrincipalMellinResidues
open ProbePrincipalResidueActual
local notation "O" => HeckeFamily.O
def retunedNormalizedProbe {K : ℕ} (M : Ideal O) [NeZero M] [Finite (O ⧸ M)]
(H : Subgroup (O ⧸ M)ˣ) (S : Finset (Ideal O)) (hmax : ∀P∈S,P.IsMaximal)
[NeZero (∏P∈S,P)] (ell : Fin K→ℝ) (a b : ℝ) (W : Fin K→ℝ→ℝ)
(W0 W1 : SchwartzMap ℝ ℂ) (η : Character) (Z : ℝ) : ℂ :=
let Yp := fun j=>Z^(ell j)
let T := fun j=>pool (RayQuotient.identityClass M H) S a b (Yp j)
compensatedPhysicalProbe η (calibrationForSet S hmax) W0 W1
(fun j=>canonicalSlotSupport (T j)) (fun j y=>(W j y:ℂ)) Yp
(Z^RetunedCandidate.lx) (Z^RetunedCandidate.ly) Z /
(sourceResidueConstant W0 W1 (∏P∈S,P)*
(Probe.principalScalar Finset.univ Z RetunedCandidate.ell (slotMass T (residueWeights W Yp)) : ℂ))
end
end RH.Transport.PhysicalLow
end
section
set_option autoImplicit false
namespace RH.Transport.PhysicalHigh
noncomputable section
open scoped BigOperators
structure RetunedDetectorScales (t : ℝ) (K : ℕ) (rmin ellMin allowance : ℝ) where
ε : ℝ
e : ℝ
κ : ℝ
cost : ℝ
eps : ℝ
sigma : ℝ
epsilon_pos : 0 < ε
epsilon_small : ε ≤ 1 / 1000
epsilon_gap : ε < rmin * t
epsilon_allowance : ε ≤ allowance
e_pos : 0 < e
e_small : e < 1 / 1000
e_slot : e ≤ ellMin / 4
e_allowance : e ≤ allowance
kappa_pos : 0 < κ
kappa_small : κ ≤ 1
cost_pos : 0 < cost
eps_pos : 0 < eps
eps_small : eps ≤ 1
eps_allowance : eps ≤ allowance
sigma_pos : 0 < sigma
sigma_t : sigma ≤ t / 2
sigma_slot : sigma ≤ ellMin / 4
sigma_allowance : sigma ≤ allowance
detector_budget : 288 * e + 8 * κ + 2 * cost ≤ ε / 2
phase_budget : 8 * e * t + κ ≤ ε
central_budget : (159 * ε + t + t + 7 * t) + 2 * t +
(26 * e + (K + 8) * eps + t + t * RetunedCandidate.ell) +
(t + t + t) + t ≤ 18 * t
height_choice : ∀ J : ℝ, 0 ≤ J → ∃ τ : ℝ,
0 < τ ∧ τ < (1 / 200 : ℝ) / 2 ∧
4 * τ < (1 / 200 : ℝ) * cost ∧ τ < t ∧
2 * τ * (1 + J) ≤ t ∧ τ * (2 + 4 * eps) < t
end
end RH.Transport.PhysicalHigh
end
section
set_option autoImplicit false
/-!
# Complete tuned high-side scalar data
The reserved high loss and capacity are fixed first. The energy mesh is
therefore fixed before K. The slot construction allows any prior lower
bound on K. The positive allowance may depend on the later contradiction
gap; it only affects post-slot errors, not the selected slots.
-/
namespace RH.Transport.PhysicalHigh
noncomputable section
open scoped BigOperators
abbrev retunedReservedLoss : ℝ := 1 / 1000000000000000
noncomputable def retunedConductorCap : ℝ := RetunedCandidate.h + RetunedCandidate.zeta + 2 * retunedReservedLoss
structure RetunedData (Kmin : ℕ) (allowance : ℝ) where
K : ℕ
K_large : Kmin ≤ K
K_pos : 0 < K
K_even : Even K
ell : Fin K → ℝ
ellMin : ℝ
rmin : ℝ
ellMin_eq : ellMin = RetunedCandidate.ell / (2 * K)
rmin_eq : rmin = ellMin / retunedConductorCap
ellMin_pos : 0 < ellMin
rmin_pos : 0 < rmin
slots_injective : Function.Injective ell
slots_sum : (∑ j, ell j) = RetunedCandidate.ell
slots_pos : ∀ j, 0 < ell j
slots_lower : ∀ j, ellMin ≤ ell j
slots_upper : ∀ j, ell j ≤ (1 / 200 : ℝ) * retunedReservedLoss
slots_fine : ∀ j, ell j ≤ plainMesh retunedReservedLoss / 200
P : RetunedDetectorScales retunedReservedLoss K rmin ellMin allowance
end
end RH.Transport.PhysicalHigh
end
section
set_option autoImplicit false
namespace RH.Transport
noncomputable section
open scoped Classical BigOperators ContDiff
open Filter Asymptotics
open OAI OAI.SevenEighths
open HeckeFamily ProbePhysical ProbeFinalAssembly
/-- One literal normalized physical probe, shared by the low and high proofs. -/
def retunedDataProbe {Δ : ℝ} {seed : Parameters.HighData Δ} (F : SourceData seed)
{Kmin : ℕ} {allowance : ℝ} (D : PhysicalHigh.RetunedData Kmin allowance)
(η : Character) : ℝ→ℂ :=
letI : NeZero (∏P∈F.S,P) := ⟨fixedPrimeProduct_ne_zero F.S F.exclusions.prime⟩
PhysicalLow.retunedNormalizedProbe F.modulus ⊤ F.S F.maximal D.ell 1 2
(fun _=>F.w) F.W F.W η
end
end RH.Transport
end
section
set_option autoImplicit false
namespace RH.Transport.PhysicalHigh
noncomputable section
open scoped Classical
open Filter
open OAI OAI.SevenEighths
open HeckeFamily ProbeFinalAssembly ProbeHighRowFamily HeckeInverseAmplification
/-- Actual moment fields for all row subsets needed by the central partition. -/
def RetunedSourceMomentBound {Δ : ℝ} {seed : Parameters.HighData Δ} (F : SourceData seed)
{Kmin : ℕ} {allowance : ℝ} (D : RetunedData Kmin allowance)
(counts : CountParameters F.modulus ⊤ retunedReservedLoss)
(η : Character) (Z τ C height : ℝ) : Prop :=
∀rows : Finset FreeRow,(∀u∈rows,Z^(1/100:ℝ)≤rowNorm u)→
∀d : ℝ,(1/200:ℝ)≤d→∀a dmax slotMesh binWidth : ℝ,∀i : ℕ,∀z : ℂ,
z.re=17/50→|z.im|≤height→
SourceMomentsAt F.modulus ⊤ le_top F.S F.exclusions.prime η rows D.ell
(fun _ y=>(F.w y:ℂ)) Z d a D.P.ε τ dmax 2 slotMesh binWidth i z 0
(if 2*a-1≤5/6 then counts.cB else counts.cH)
(if 2*a-1≤5/6 then counts.kB else counts.kH) C height retunedReservedLoss
end
end RH.Transport.PhysicalHigh
end
Source