0xMiden / 0xMiden/air-script

Error if an evaluator column is unconstrained

Aperta
#346 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
96
Fork
39
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.