paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Sequential decision problems, dependent types and generic solutions

序列决策问题、依赖类型与通用解
LMCS vol.Volume 13, Issue 12017匹配度 2/10 · 论文用依赖类型形式化序列决策与贝尔曼最优性,属于函数式编程和定理证明;虽与形式化验证有广义交集,但未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等画像核心方向。引用 2 inbox
Nicola Botta, Patrik Jansson, Cezar Ionescu, David R. Christiansen, Edwin Brady
crossref: 2026-09-10

AI 速览

一句话:用依赖类型语言给出有限时程序列决策问题的计算机检查通用实现与贝尔曼最优性原理证明。

本文研究有限时程序列决策问题,其涵盖跨期优化、背包、最优括号化、调度等广泛问题。作者在 Idris 与 Agda 等依赖类型语言中实现了一个通用求解框架,能够处理随离散时间步变化的控制空间与状态空间,并以 monad 表示随机、非确定、模糊及其组合等不确定性。依赖类型不仅支持这种高度泛化,还使贝尔曼最优性原理及相应逆向归纳算法得以形式化和机器检查证明。该形式化澄清了逆向归纳的一些方面,并通过显式刻画可行性与可达性,为气候影响研究等领域常见的 monadic 动力系统可控性理论提供起点。

问题
如何在统一框架下求解状态与控制空间随时间变化、且不确定性可由多种 monadic 表示描述的有限时程序列决策问题,并严格形式化其求解原理。
方法
使用 Idris 和 Agda 的依赖类型进行泛型编程,构造计算机检查的实现,并对贝尔曼最优性原理与逆向归纳算法做形式化证明。
评估
评估以机器检查的形式化与证明为主,而非实验基准;通过覆盖多种决策问题类别说明该通用实现的适用范围,并讨论可行性与可达性等概念。
原文摘要(Abstract)

We present a computer-checked generic implementation for solving finite-horizon sequential decision problems. This is a wide class of problems, including inter-temporal optimizations, knapsack, optimal bracketing, scheduling, etc. The implementation can handle time-step dependent control and state spaces, and monadic representations of uncertainty (such as stochastic, non-deterministic, fuzzy, or combinations thereof). This level of genericity is achievable in a programming language with dependent types (we have used both Idris and Agda). Dependent types are also the means that allow us to obtain a formalization and computer-checked proof of the central component of our implementation: Bellman's principle of optimality and the associated backwards induction algorithm. The formalization clarifies certain aspects of backwards induction and, by making explicit notions such as viability and reachability, can serve as a starting point for a theory of controllability of monadic dynamical systems, commonly encountered in, e.g., climate impact research. Comment: 23 pages, 2 figures

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot203,
  title = {Sequential decision problems, dependent types and generic solutions},
  author = {Nicola Botta and Patrik Jansson and Cezar Ionescu and David R. Christiansen and Edwin Brady},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 13, Issue 1},
  year = {2017},
  doi = {10.23638/lmcs-13(1:7)2017}
}