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 摘要。