Commit Graph

91 Commits

Author SHA1 Message Date
Georg Wiese
668d881057 On (N-1, 0) row pair, only execute identities with next reference 2024-02-19 10:27:50 +01:00
Leandro Pacheco
2e1a8571a7 instr param mapping
allow RHS of `instr` declarations to control the usage of write and assignment
registers.
2024-02-14 13:31:19 -03:00
Georg Wiese
d37116372d Test that proving fails for unsatisfying witness 2024-02-13 11:56:18 +01:00
Georg Wiese
dd81fe014a Fix soundness bug in conversion to Halo2 2024-02-12 11:36:31 +01:00
chriseth
de0e89c313 Ararys of intermediate columns. 2024-02-09 08:17:55 +01:00
Georg Wiese
40fe394c19 Add equations 1-4 2024-02-08 11:41:53 +01:00
chriseth
3880db0e62 Merge pull request #1032 from powdr-labs/evaluate-functions-in-queries
`QueryProcessor`: Give access to functions
2024-02-08 07:52:03 +00:00
Georg Wiese
78e328f605 QueryProcessor: Give access to functions 2024-02-07 18:23:54 +01:00
chriseth
8f6cd49969 Introduce identity operator. 2024-02-07 16:04:55 +01:00
chriseth
31e4c1ad97 Support arrays of fixed columns. 2024-02-07 11:55:16 +01:00
Georg Wiese
9ea67369ce Arithmetic machine: Add equation selectors 2024-02-06 16:55:20 +01:00
chriseth
2765e59a9f Add types. 2024-02-06 10:25:04 +01:00
Leandro Pacheco
39c5c62028 AST parsing and impl Display fixes
- `instr x = y` statements must end with semicolon
- fixed Display implementation for AST objects such that
  source->AST->source->AST works properly
- tests for the above
2024-02-05 18:40:00 -03:00
Georg Wiese
f91823e0ef Arith machine, Equation 0 2024-01-31 19:05:53 +01:00
chriseth
f37058acb8 Distinguish between integer and field element. 2024-01-25 17:40:23 +01:00
chriseth
a1ba5707a9 Fix poseidon parsing on goldilocks. 2024-01-25 16:12:55 +01:00
chriseth
3e3349d4f5 Add assertion function. 2024-01-23 20:29:59 +01:00
chriseth
6a19635c43 Fix test. 2024-01-15 11:44:11 +01:00
chriseth
2aabe8fd16 Documentation. 2024-01-15 10:04:42 +01:00
chriseth
8f1d77c916 Properly handle local variables in path_canonicalizer. 2024-01-15 10:04:42 +01:00
chriseth
252eaa070c Support pil at module level. 2024-01-15 10:03:38 +01:00
Georg Wiese
e5225d7bbb Introduce mstore_bootloader instruction 2024-01-11 12:08:45 +01:00
Georg Wiese
9b9cb2a831 Read/Write memory: Allow bigger diffs 2024-01-09 18:42:57 +01:00
Georg Wiese
c95e387f08 Remove m_op 2024-01-08 18:07:53 +01:00
Georg Wiese
ff2a87776e Fix memory soundness bug 2024-01-08 16:04:10 +01:00
chriseth
d98b7a76a6 Fix arith_improved. 2024-01-02 09:31:21 +01:00
chriseth
bef7d80c70 Change labels to require just a single colon. 2023-12-19 14:07:21 +01:00
Georg Wiese
54045fbcf7 Pipeline 2023-12-07 22:12:29 +01:00
chriseth
18cba16c9b Allow functions to work on constraints. 2023-11-30 12:13:55 +01:00
Leo
b8e6c2468b Merge pull request #790 from powdr-labs/support_array_elemes_in_operation
Support array elements in operations.
2023-11-28 16:53:43 +00:00
chriseth
9946b863b4 Remove macros. 2023-11-28 15:57:29 +01:00
chriseth
a381395f78 Support array elements in operations. 2023-11-24 17:32:34 +01:00
Georg Wiese
8c50681fc1 Write-Once Memory 2023-11-24 16:13:56 +01:00
chriseth
d94db64b6f Support arrays in witgen. 2023-11-08 21:31:49 +01:00
schaeff
844dd39618 get degree from namespaces 2023-11-07 10:32:41 +01:00
Leo
3f7faf19f3 Merge pull request #733 from powdr-labs/parse_next_as_operator
Parse next as operator
2023-11-02 16:31:05 +00:00
Georg Wiese
730706de0d Fix test: two_block_machine_functions.pil 2023-11-02 14:02:41 +00:00
Georg Wiese
ec8c9943f8 VM-to-VM Witness Generation 2023-11-02 11:22:25 +00:00
chriseth
b2a8960061 Test next operator in macro. 2023-11-02 11:09:08 +01:00
Georg Wiese
f26a161ae3 Add SplitBN254 machine, use queries in SplitGL machine 2023-10-31 18:27:19 +00:00
Georg Wiese
5345624947 Block machine queries 2023-10-26 16:37:36 +00:00
Georg Wiese
c1d6d04b4e Fix test by giving FixedLookup access to RowPair 2023-10-25 16:22:33 +00:00
chriseth
4beb28280c Use global constraints in fixed lookup. 2023-10-25 13:16:52 +00:00
schaeff
f71cd82d49 allow ommiting latch if no operations and operation_id if <= 1 operations 2023-10-22 09:32:37 +02:00
Georg Wiese
02b404ffe4 External Witness Generation 2023-10-18 11:32:35 +00:00
Georg Wiese
263c03d77d WrapGL machine: return both high and low values 2023-10-05 16:18:28 +00:00
schaeff
a3ebf460fd remove constraints blocks 2023-10-04 12:52:59 +02:00
chriseth
f39872d539 Merge pull request #651 from powdr-labs/block-machine-cache-miss
Bug fixes in block machine witness generation
2023-10-04 08:52:23 +00:00
Georg Wiese
5268e6fc24 Add more machines to Powdr STD 2023-10-03 18:02:01 +00:00
Georg Wiese
380b96fcf1 Bug fixes in block machine witness generation 2023-10-02 14:08:33 +00:00