0xMiden / 0xMiden/air-script

Error if an evaluator column is unconstrained

未关闭
#346 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
96
派生
39
PR 合并指标
30 天内没有已合并 PR

描述

The following code is accepted without errors or warnings:

```
ev is_binary([x, y]):
enf x^2 = x
```

I think this should be an error. It is probably best to reject any unused/unconstrained columns, because that is probably the uncommon case, and require an explicit annotation from the user for unconstrained columns (I suppose these would be used for nondeterministic inputs).

The goal of the above idea is to reduce the chance of a bug going undetected with a simple crude check.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。