We should add support for naming/tagging constraints in the AirBuilder to improve debugging. When a constraint fails, the debug builder currently reports only "constraint not satisfied at instance {i}, row {r}" with no indication of which logical rule was violated.
Upstream work
Goals
Ported from 0xMiden/p3-miden#29
We should add support for naming/tagging constraints in the AirBuilder to improve debugging. When a constraint fails, the debug builder currently reports only
"constraint not satisfied at instance {i}, row {r}"with no indication of which logical rule was violated.Upstream work
NamedAirBuilderand related debugging improvementsGoals
NamedAirBuilderfrom air: some debugging improvements Plonky3/Plonky3#1431debug.rsto report constraint names on failurePorted from 0xMiden/p3-miden#29