跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

电气工程与系统科学 > 信号处理

arXiv:2611.41065 (eess)
[提交于 2026年11月30日]

标题:A Machine-Checked Theory of Dynamic Time Warping in Lean 4

作者:Srihari Maruthachalam
查看论文《A Machine-Checked Theory of Dynamic Time Warping in Lean 4》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Dynamic time warping (DTW) is a standard dissimilarity measure for time series. In practice, large-scale DTW search depends on two ingredients whose correctness is usually argued on paper: global path constraints such as the Sakoe-Chiba band, and cheap lower bounds such as LB_Kim and LB_Keogh that prune candidates without false dismissals. We present a formalization of DTW in Lean 4 with mathlib, covering: warping paths and DTW as a minimum over them; correctness of the dynamic-programming recurrence; nonnegativity, symmetry and DTW(x,x)=0, with a machine-checked witness of the known failure of the triangle inequality; constrained and Sakoe-Chiba banded DTW; the LB_Kim, LB_KimFL, LB_Yi and LB_Keogh lower bounds, the last restated for an arbitrary global constraint; and an executable row-by-row implementation proved equal to the specification. The recurrence is proved once, for cell costs in an arbitrary linearly ordered additive commutative monoid. Instantiating it at the reals extended with a top element yields constrained DTW with no separate optimality proof. The development has no sorry, and every main theorem uses only Lean's standard axioms. To our knowledge it is the first formalization of DTW itself in a proof assistant. The mathematics is classical; the contribution is a checked, reusable development and the precision it forces.
评论: 9 pages. Lean 4 + mathlib formalization; source code at https://github.com/harimaruthachalam/dtw-lean
主题: 信号处理 (eess.SP); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2611.41065 [eess.SP]
  (或者 arXiv:2611.41065v1 [eess.SP] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.41065

提交历史

来自:Srihari Maruthachalam
[v1] 2026年11月30日 星期一 12:39:58 UTC (15 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

eess.SP
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
eess
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站