Constraint linearity in the resource machine

Yes, that should be sufficient to implement it!

Most conjunctives should be fine, but yes we could to a survey, or maybe @AHart might chime in and explain which constructions should be easy to translate. I don’t assume any constraints or invariants developers might need should be too hard to come by, from what I understand.

That sounds good to me! And no, I did not mean to imply that extra nockma code is needed here.

Then we can just continue using that. Is that specified somewhere already?

If the above model is already specified, we can also transition to using this for intuition, as that removes one layer of indirection.

1 Like

I think this is worth further investigating. Most VMs we have considered so far (Nockma, Cairo, RISC5) are built for evaluation, not CSP analysis. It might be possible to find something considerably more suitable for automatic CSP translation - and it might also be possible to translate these VMs reasonably easily - I’m not sure yet, but we should investigate.

Yes - it’s specified in the RMv2 report (will soon be ported to the specs as well) - the report does not yet include the modifications I proposed above to enforce the kind of linearity it seems that we want, but they will be added soon.

2 Likes

Agreed. Maybe a discussion with @AHart, @mariari, @xuyang and/or @camofu in the next week(s) would be good?

Perfect! That, together with ordered resource logic arguments in the TX data structure should be enought to make the stack based model obsolete, even for reasoning.

2 Likes