Refinement Type Inference via Horn Constraint Optimization
Refinement Type Inference via Horn Constraint Optimization
复制标题
通过 Horn 约束优化进行细化类型推断
DOI:
10.1007/978-3-662-48288-9_12
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Hiroshi Unno
中科院分区:
文献类型:
--
作者:
Kodai Hashimoto;Hiroshi Unno
We propose a novel method for inferring refinement types of higher-order functional programs. The main advantage of the proposed method is that it can infer maximally preferred (i.e., Pareto optimal) refinement types with respect to a user-specified preference order. The flexible optimization of refinement types enabled by the proposed method paves the way for interesting applications, such as inferring most-general characterization of inputs for which a given program satisfies (or violates) a given safety (or termination) property. Our method reduces such a type optimization problem to a Horn constraint optimization problem by using a new refinement type system that can flexibly reason about non-determinism in programs. Our method then solves the constraint optimization problem by repeatedly improving a current solution until convergence via template-based invariant generation. We have implemented a prototype inference system based on our method, and obtained promising results in preliminary experiments.
登录
查看更多内容
DOI:
--
发表时间:
2010
期刊:
International Conference on Computer Aided Verification
影响因子:
--
作者:
Ranjit Jhala;R. Majumdar;A. Rybalchenko
通讯作者:
A. Rybalchenko
DOI:
10.1007/978-3-642-54833-8_21
发表时间:
2014-04
期刊:
--
影响因子:
--
作者:
Takuya Kuwahara;Tachio Terauchi;Hiroshi Unno;N. Kobayashi
通讯作者:
Takuya Kuwahara;Tachio Terauchi;Hiroshi Unno;N. Kobayashi
DOI:
10.1145/2429069.2429081
发表时间:
2013-01
期刊:
--
影响因子:
--
作者:
Hiroshi Unno;Tachio Terauchi;N. Kobayashi
通讯作者:
Hiroshi Unno;Tachio Terauchi;N. Kobayashi
DOI:
--
发表时间:
2006
期刊:
International Conference on Theory and Applications of Satisfiability Testing
影响因子:
--
作者:
R. Nieuwenhuis;Albert Oliveras
通讯作者:
Albert Oliveras
DOI:
10.1007/978-3-642-39799-8_61
发表时间:
2013
期刊:
影响因子:
--
作者:
Tewodros A. Beyene;Corneliu Popeea;Andrey Rybalchenko
通讯作者:
Andrey Rybalchenko