pub fn eval_decision_fabric_heap(
df: &DecisionFabric,
inputs: &[i64],
heap: &mut Vec<i64>,
) -> i64Expand description
Evaluate a decision fabric that reads the shared HEAP (the state plane). heap mirrors the VM’s exact
layout — a collection at pointer p is heap[p] = length then its elements at heap[p+1..=p+len]
(1-based) — so this evaluation is bit-identical to the VM’s Int. A LoopCell::HeapRead reads
heap[addr]; length of xs is HeapRead(p), item i of xs is HeapRead(p + i). Reads are pure given
the input heap, so the fabric stays a combinational DAG (heap WRITES/ALLOC are the next increment).