{
  "abstract": "We provide an online algorithm with the following guarantee: for any fixed sequence of vectors $v_1,\\dots,v_T \\in \\mathbf{R}^d$ with $\\|v_i\\|_2\\le 1$, the algorithm assigns each arriving vector $v_t$ a random sign $\\varepsilon_t$ such that every prefix sum $\\sum_{i=1}^t \\varepsilon_i v_i $ can be written as the sum of three coupled standard Gaussian vectors. Our algorithm runs in $O(dT)$ time and achieves the optimal prefix discrepancy bound \\[ \\max_{1 \\le t \\le T}\\left\\| \\sum_{i=1}^t \\varepsilon_i v_i \\right\\|_\\infty = O\\left( \\sqrt{\\log T} \\right), \\] with high probability. This recovers the optimal bound of Kulkarni, Reis, and Rothvoss, whose algorithm runs in time exponential in $T$ and $d$. The algorithm and main proof were discovered in a GPT-5.5 Pro Extended conversation prompted by the author.",
  "abstract_shown": true,
  "affiliations": [],
  "article_type": null,
  "arxiv": null,
  "author_total": 1,
  "authors": [
    {
      "name": "Ishaq Aden-Ali",
      "orcid": "0009-0001-5487-0883"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/1jp3a6qfk4j19.bib",
  "cited_by": 20,
  "doi": "10.48550/arxiv.2607.04388",
  "fulltext_url": null,
  "id": "1jp3a6qfk4j19",
  "issns": [
    "2331-8422"
  ],
  "landing_url": "https://arxiv.org/abs/2607.04388",
  "language": "en",
  "licence": "CC-BY",
  "licence_label": "CC BY",
  "licence_source": "journal",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "metadata_licence": null,
  "native_subjects": [
    [
      "openalex",
      "2612|Mathematical Approximation and Integration"
    ]
  ],
  "openalex": "W7167586192",
  "pdf_url": "https://arxiv.org/pdf/2607.04388",
  "pmcid": null,
  "pmid": null,
  "published": "2026-07-05",
  "publisher": "Cornell University",
  "ris": "https://research.draconitic.com/paper/1jp3a6qfk4j19.ris",
  "sources": [
    {
      "first_seen": "2026-11-10T13:20:57Z",
      "native_id": "W7167586192",
      "source": "openalex",
      "url": "https://arxiv.org/abs/2607.04388"
    }
  ],
  "subjects": [
    {
      "field": "mathematics",
      "origin": "openalex:2612|Mathematical Approximation and Integration",
      "subfield": "numerical-analysis"
    }
  ],
  "title": "Optimal Online Discrepancy Minimization in Linear Time",
  "title_text": "Optimal Online Discrepancy Minimization in Linear Time",
  "type": "preprint",
  "updated_at": "2026-11-26T13:20:03Z",
  "url": "https://research.draconitic.com/paper/1jp3a6qfk4j19",
  "venue": "arXiv (Cornell University)",
  "versions": []
}