Documentation

MathlibNt.SieveTheory.LiLiuGoldbachG12ClippedSemantics

theorem G12ClippedWindow.residual_eq_ap_counts {N : ℕ} {ε : ℝ} {g L U : ℕ → ℝ} (hN : 2 ≤ N) (h : Admissible N ε g L U) (d b : ℕ) :
residual N g L U d b = ∑ m ∈ MathlibNt.SieveTheory.LiLiuOnePlusOneNine.GoldbachBig.goldbachG12ActiveProductSupport N with m.Coprime d, g m * (↑{r ∈ window N L U m | m * r ≡ b [MOD d]}.card - ↑(window N L U m).card / ↑d.totient)

The distributed residual is exactly the actual AP window discrepancy.

Inspect dependencies

G12ClippedWindow.residual_eq_ap_counts · compiled type and proof/definition references.

Empty normalization changes no prime atoms: the clamp is the literal intersection.

Inspect dependencies

G12ClippedWindow.clamp_window_eq_filter · compiled type and proof/definition references.

The full clipped mass really is the coefficient-weighted cardinality of the cell.

Inspect dependencies

G12ClippedWindow.longMask_mass_eq · compiled type and proof/definition references.