Open peterohanley opened 5 months ago
Also, I haven't been able to actually write an implode
and explode
function, but they should be amenable to a lemma. They can be generic over the size but not the type or predicate atm which is sufficient.
@cp526 Can you triage this?
@cp526 Reminder
I put this under priority asap
, but if this is blocking you, @peterohanley , we should record that and make it more urgent.
Related to #357, #320, #311, #256
This is probably related to #357 and #320.
The idea of this code is to convert the nested arrays to a single array over all indices, use the each predicates to recover multidimensional array indexing, and express the block/owned predicates on the multidimensional arrays as directly as possible. The loops have a lot of invariants but they are just walking the array in the inconvenient order.
That state looks like this (one step before the last):
Requested resource
Available resources
Terms
Constraints
Substituting in the known value of O_i0 the Owned predicate matches and the Block predicate is empty, but instead there is another step and the Owned predicate is gone but it's still requested. This might just be a problem with
mod_uf
(used due to #231) but I'm also not clear on why it just vanished without satisfying the request.