mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-04-20 03:03:25 -04:00
Builds on #1666 Now, the memory machine is downsized to the smallest possible size: ``` $ MAX_DEGREE_LOG=10 cargo run -r pil test_data/asm/dynamic_vadcop.asm -o output -f --field bn254 --prove-with halo2-mock-composite ... Running main machine for 1024 rows [00:00:00 (ETA: 00:00:00)] ░░░░░░░░░░░░░░░░░░░░ 0% - Starting... Found loop with period 1 starting at row 100 [00:00:00 (ETA: 00:00:00)] ████████████████████ 100% - 280269 rows/s, 4205k identities/s, 94% progress Resizing variable length machine 'Secondary machine 0: main_arith (BlockMachine)': 1024 -> 32 (rounded up from 3) Resizing variable length machine 'Secondary machine 1: main_memory (DoubleSortedWitnesses)': 1024 -> 32 (rounded up from 4) Witness generation took 0.005317875s Writing output/commits.bin. Instantiating a composite backend with 5 machines: ... == Proving machine: main (size 1024), stage 0 ==> Proof stage computed in 15.581958ms == Proving machine: main__rom (size 16), stage 0 ==> Proof stage computed in 800.708µs == Proving machine: main_arith (size 32), stage 0 ==> Proof stage computed in 506.25µs == Proving machine: main_byte2 (size 65536), stage 0 ==> Proof stage computed in 84.450916ms == Proving machine: main_memory (size 32), stage 0 ==> Proof stage computed in 719.375µs Proof generation took 0.102423415s Proof size: 88 bytes Writing output/dynamic_vadcop_proof.bin. ```