Research paperScreenedARR-2026-7CGNY373NA8DBBMT · v1 · 2026-11-25

Constructive Lean 4 Formalization and Exact-Rational Certificates for Dynamic-Streaming Euclidean Diameter Bounds

Lluis Eriksson

Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record

Abstract

Jeff Giliberti and MohammadTaghi Hajiaghayi (arXiv:2611.33139, Nov. 24, 2026) resolved the update-time versus space tradeoff for high-dimensional Euclidean diameter in fully dynamic streams: for every fixed c > sqrt(3), their one-pass algorithm maintains a current witness pair with approximation factor c in O~(N^(1-eps_c) poly(d)) space (explicitly eps_2 = 10^-10 at c = 2) and worst-case update time poly(d, log N), while every constant-factor c-approximation requires N^Omega(1/(c^2 log(c+1))) words even on short binary set streams of at most 2N-1 updates. We present a standalone, zero-dependency Lean 4.35.0 formalization (EuclideanDiameterStreaming.lean) of 18 core algebraic, variance-hull, Cauchy-Schwarz, parallel-axis, nested-cap shrinkage, Appendix A.1 Table 3 factor-2 parameter, non-circular submodular diagonal-squared, and baseline positivity theorems (0 sorry, 0 warnings, 0 Classical.choice), paired with a zero-floating-point exact-Q four-mode certificate auditor (EUCLID-DIAM-CERT-1.0). Across 16 canonical certificates (0.129-3.412 ms), the auditor verifies an exact zero-slack 12-point two-simplex attainment in Q^13 (a = 13/7, diam(H_a(S))^2 = (289/49) diam(S)^2), Lemma 4.1 anchor-variance parallel-axis composition, all Appendix A.1 Table 3 factor-2 inequalities, and exhaustive Lemma 10.2 submodular diagonal-squared bounds D^2 <= 2sZ while rejecting 60/60 live adversarial forgeries.

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Key contributions noted in exact-version screening

  • Standalone zero-dependency Lean 4 formalization of dynamic streaming Euclidean diameter approximation and space lower bounds.
  • Exact-rational multi-mode certificate auditor for high-dimensional geometric streaming algorithms.
  • Impeccable zero-dependency Lean 4.35.0 formalization with 0 sorry, 0 warnings, and 0 Classical.choice.
  • Robust pure-stdlib exact-Q verifier (EUCLID-DIAM-CERT-1.0) rejecting floating-point arithmetic and adversarial inputs.

Excerpted from published exact-version model assessment reports (not peer review). Full reports below →

Preview PDF on this page v1

Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.

Reference this work

Cite this paper

v1 · 2026-11-25

Lluis Eriksson (2026). Constructive Lean 4 Formalization and Exact-Rational Certificates for Dynamic-Streaming Euclidean Diameter Bounds. AIRR.SCIENCE, ARR-2026-7CGNY373NA8DBBMT, v1. https://airr.science/papers/ARR-2026-7CGNY373NA8DBBMT/versions/v1/

Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.

Version history

The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.

  • v1 · source snapshot available · viewing

Verification record

Frontier-model screening
Pass · 2 models
Source integrity
Pass
Bibliographic integrity
Pass
Reproducibility
Pass
Lean 4
L2

Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.

AI assistance statement

Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/euclidean-diameter-streaming-certificates (v1.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.

Frontier-model screening

Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.

  • carbonGoogle · pass
  • hydrogenGoogle · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
5.12 / 10.00Very good
Distinct models
2
Range
4.00–6.25
Method
bounded capability-weighted mean · exact version only

Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.

One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Mathematical benchmark not applied to this subject; Review scores differ by more than one point

Score calculation and evidence

Unweighted mean: 5.12. Policy: AIRR-RATING-1.0. Method and limits.

ModelOriginal scoreWeightBasis
Google · carbon6.251.000Benchmark outside declared mathematical scope
Google · hydrogen4.001.000Benchmark outside declared mathematical scope

Download the calculation snapshot

Google · carbon · not involved in manuscript · review context: unknown6.25

Recommendation: Accept · Material objections: 0

This paper presents an exceptional formal verification and exact-rational certification study of Giliberti and Hajiaghayi's dynamic-streaming Euclidean diameter bounds. By developing a standalone, zero-dependency Lean 4.35.0 module (18 theorems with 0 sorry, 0 warnings, and 0 Classical.choice) paired with a pure-stdlib exact-rational certificate auditor (EUCLID-DIAM-CERT-1.0), the work rigorously validates both the algorithmic approximation guarantees and the space lower-bound separations. Extensive red-team testing confirms robust rejection of adversarial forgeries.

Correctness confidence
All 18 core Lean 4 theorems are verified with zero sorry, zero warnings, and zero Classical.choice using only propext and Quot.sound. The exact-rational verifier EUCLID-DIAM-CERT-1.0 rigorously validates all canonical certificates and rejects adversarial forgeries.
Rigor
Exemplary mathematical rigor combining constructive Lean 4 formalization over integers and inductive lists with strict floating-point-free Python rational auditing across four dedicated operational modes.
Novelty
Provides the first standalone, zero-dependency Lean 4 formalization and exact-rational certification suite for Giliberti and Hajiaghayi's dynamic-streaming Euclidean diameter upper and lower bounds.
Significance
Establishes a robust, zero-dependency verification paradigm for high-dimensional streaming algorithms, resolving potential precision and soundness concerns in complex geometric and submodular bounds.
Reproducibility
Complete reproducibility with 16 canonical exact-rational certificates, a 60-attack live red-team test suite, and SHA-256 manifest verification across all 39 tracked repository files.

Strengths

  • Impeccable zero-dependency Lean 4.35.0 formalization with 0 sorry, 0 warnings, and 0 Classical.choice.
  • Robust pure-stdlib exact-Q verifier (EUCLID-DIAM-CERT-1.0) rejecting floating-point arithmetic and adversarial inputs.
  • Comprehensive red-team audit suite with 60/60 successful adversarial forgery rejections.
  • Clear and exhaustive documentation of all 18 theorems, 16 canonical certificates, and exact rational inequalities.

Weaknesses

  • Paper length is relatively concise (4 pages), focusing primarily on code and certificate tables rather than expansive pedagogical exposition.

Potential errors

  • Assumes standard arithmetic foundations in Lean 4 standard library without Mathlib dependency, which limits higher-level algebraic library reuse but maximizes standalone transparency and determinism.

Strong novelty candidates

  • Standalone zero-dependency Lean 4 formalization of dynamic streaming Euclidean diameter approximation and space lower bounds.
  • Exact-rational multi-mode certificate auditor for high-dimensional geometric streaming algorithms.

Unresolved material objections

None reported.

arr:assessment:155d8bbc-65eb-4e4d-b27d-35ecc9bc5864 · prompt ARR-ASSESS-1.0 · response SHA-256 a9f61ad7bc9c1f9a2cc1a23797ee9cecfc86d19405d4bbe29f0c2d4bfc150b49 · canonical PDF SHA-256 0d495d0b90b4df2790dde014a1a7421a63c193122b6f13681675efc79fbc9d0e

Google · hydrogen · not involved in manuscript · review context: unknown4.00

Recommendation: Accept · Material objections: 0

This 4-page paper presents a standalone, zero-dependency Lean 4.35.0 formalization of 18 algebraic, inductive parallel-axis, nested-cap, Table 3, baseline positivity, and submodular quadratic-optimization lemmas underlying Giliberti and Hajiaghayi's dynamic-streaming Euclidean diameter bounds [3], paired with a pure-stdlib exact-rational four-mode certificate verifier (EUCLID-DIAM-CERT-1.0), 16 canonical certificates, and a 60-attack adversarial test suite. All numerical calculations, Table 3 factor-2 constants, Mode 4 ratios, and the Pell-derived 12-point Q^13 zero-slack two-simplex attainment (a = 13/7, ||y_1 - y_2||^2 = 289/49) check out cleanly. While the scope is explicitly restricted to deterministic algebraic layers and finite exact-Q witnesses rather than [3]'s full probabilistic and streaming-schedule proofs, and Table 1 contains minor notational shorthands (notably omitting H = 2a_n^2 - a_d^2 in row 3 and symbolic definitions for a few Table 3/Eq. 32 expressions), there are no unresolved material objections.

Correctness confidence
All algebraic identities in Table 1 (Lagrange bounds, inductive parallel-axis sum, quadratic axial margin, Eq. 29 parabolic identity, Lemma 10.2 cleared-integer optimization), Table 3 factor-2 constants (2a^2-1=3.999122, eps_0>10^-10), the Pell-derived 12-point Q^13 two-simplex attainment (a=13/7, 289/49), and Table 2/Fig. 2-3 figures verify accurately; only Table 1 row 3 omits the shorthand definition H = 2a_n^2 - a_d^2.
Rigor
Explicitly delineates scope, separating the 18 zero-sorry, zero-Classical.choice Lean 4.35.0 algebraic/inductive theorems ([propext, Quot.sound]) and pure-stdlib exact-Q auditor from the probabilistic/streaming proofs in [3], while enforcing strict AST/Unicode/NaN rejection (60/60 attacks). A few Table 1 expressions (oracle 1.084441, F_lb, g, Eq. 32 constants) omit symbolic definitions from [3].
Novelty
Provides an independent zero-dependency (no Mathlib) Lean 4 verification layer and zero-float four-mode exact-Q certifier for [3], plus an explicit Pell-equation (13,7,17) 12-point Q^13 zero-slack rational witness for Lemma 5.1 and sharp finite Lemma 10.2 witnesses with repeated targets. However, the core streaming diameter upper and lower bounds originate in [3].
Significance
Independently audits tight rational margins (e.g., 2a^2-1=3.999122<4, (65/24)m_lambda=16133/24000>84/125, eps_0>1/6345504000>10^-10) and finite submodular witnesses (up to 2^7 subsets), strengthening confidence in [3]'s delicate factor-2 parameterization. Impact is bounded because the full probabilistic, VC-net, and streaming-schedule arguments are not formalized.
Reproducibility
Provides exact rational parameter tuples, all 16 canonical certificate stems with exact witness invariants and 20-run replay latencies (0.129-3.412 ms), explicit Lean 4.35.0 axiom-audit claims, and 60/60 red-team test counts aligned across text, Table 1-2, and Figures 1-3, enabling straightforward independent verification of the reported numbers.

Strengths

  • All 18 algebraic, inductive parallel-axis, nested-cap, Table 3, baseline polynomial, and Lemma 10.2 cleared-integer theorems in Table 1 are mathematically sound, including the non-circular cleared-integer derivation of D^2 <= 2sZ from forall p, r, 2prD - p^2 Z <= 2s r^2 via (p, r) = (D, Z).
  • The exact zero-slack rational two-simplex attainment in Q^13 via the Pell-like solution (13, 7, 17) to 2p^2 - q^2 = r^2 (giving a = 13/7, h = 7/17, V = 120/289, s_simp = 12/17, and ||y_1 - y_2||^2 = 289/49 = (2a^2 - 1) diam(S)^2) is verified and cleanly constructed.
  • All Table 3 factor-2 constants, two-stage mask slacks (e.g., 16133/24000 > 84/125, ratio 0.9997; 2a^2 - 1 = 3.999122 < 4, ratio 0.9998; mixed = 3.9898284241), space-exponent bounds (96000 * 2003 * 33 = 6345504000 < 10^10 and 96000 * 2002 * 31 = 5957952000), and Mode 4 submodular ratios in Table 2 and Figures 1-3 are internally consistent.
  • Transparently delineates scope from [3] and details a disciplined zero-dependency Lean 4.35.0 axiom profile ([propext, Quot.sound] only) alongside a pure-stdlib exact-Q parser/certifier with 60/60 live adversarial rejections.

Weaknesses

  • Formalization scope is restricted to 18 cleared-integer/inductive algebraic lemmas and finite certificate checking (n <= 10 for Mode 4); the probabilistic Gaussian-projection, VC-net, Sion minimax, Beta-chord concentration, streaming-schedule, and information-theoretic entropy proofs of [3] remain outside Lean.
  • Several evaluated constants and functions in Table 1 (such as 'oracle 1.084441 > 1.0801', 'F_lb(3/5)', 'g(3/5)', and the Eq. 32 product bounds) are cited from [3] without stating their symbolic formulas in the manuscript.
  • Table 1 row 3 omits the definition H = 2a_n^2 - a_d^2 from its stated implication, and row 5 leaves F = q - s undefined until Definition 1 Mode 2.

Potential errors

  • Table 1 row 3 (two_simplex_tight_attainment) prints 'h^2 H = a_d^2 D, V H = (a_n^2 - a_d^2) D => (h^2 + 2V) H = D H' without explicitly stating H = 2 a_n^2 - a_d^2 in the antecedent; without that definition, (h^2 + 2V) H equals (2 a_n^2 - a_d^2) D rather than D H.
  • Table 1 row 10 ('oracle 1.084441 > 1.0801'), row 12 ('F_lb(3/5)', 'g(3/5)'), and row 14 ('75 * 17152 = 1286400 < 1340064 = 24 * 4 * 297 * 47') report evaluated rational quantities without displaying the underlying parameter formulas from [3], preventing self-contained derivation of those constants from the PDF alone (though the stated numerical inequalities themselves are valid).
  • Mild symbol overloading: 'g' denotes the integer c + 1 in Proposition 1 item 4 / Table 1 row 16, whereas 'g(3/5)' denotes a two-stage mask polynomial in Definition 1 Mode 3 / Table 1 row 12.

Strong novelty candidates

  • Constructive zero-slack rational 12-point two-simplex attainment in Q^13 for Lemma 5.1 via the Pell-like triple (13, 7, 17).
  • Cleared-integer non-circular Lean 4 proof of Lemma 10.2 submodular diagonal-squared optimization (D^2 <= 2sZ) paired with exact-Q finite exhaustive verification including repeated targets.
  • Zero-dependency (no Mathlib), zero-Classical.choice Lean 4.35.0 algebraic/inductive verification stack paired with a zero-float four-mode exact-rational certificate auditor for dynamic-streaming Euclidean diameter bounds.

Unresolved material objections

None reported.

arr:assessment:efa57590-fb77-4ba1-8130-1028ff9375d1 · prompt ARR-ASSESS-1.0 · response SHA-256 b7bccfcc765f693dde3931b40d4e7a546edbe55680c007e1575a7a01e46796d4 · canonical PDF SHA-256 0d495d0b90b4df2790dde014a1a7421a63c193122b6f13681675efc79fbc9d0e

A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.

Editorial disclosure

Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/euclidean-diameter-streaming-certificates, v1.0.0).

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublishedGitHub release · tag ARR-2026-7CGNY373NA8DBBMT-v1
Canonical PDF downloads1GitHub release downloads only; direct AIRR PDF reads are not included
Page viewsNot availablePage-view counts are not available in this public snapshot. Optional operator statistics are separate.
Definitions and rankings →