arnaucube 7e3d2dfa43 refactor frontend composition, update usage of arkworks CS helpers, refactor test circuits (#54)
Changes:
- get rid of `extract_r1cs_and_z` and `extract_z`
- move `extract_r1cs` and `extract_w_x` from `frontend/arkworks` into
  `r1cs.rs`
The reasoning: they are not methods needed for the Frontend interface,
but only needed internally for the folding scheme to extract values from
the AugmentedF circuit and similar.
- set the `FCircuit` as the trait for the `src/frontend`
- remove the `frontend/arkworks` since the `FCircuit` trait can be
  directly implemented without a middle layer
- reorganize test circuits into `src/frontend/mod.rs`, updating them into
    `CubicFCircuit`: the typical x^3+x+5=y circuit
    `CustomFCircuit`: a circuit in which you can specify the number of
constraints that it will take
  where both fulfill the `FCircuit` trait, and they are used for
  different tests being folded.
2024-01-16 08:23:47 +00:00
2023-08-15 18:05:20 +08:00
2023-11-24 10:15:14 +00:00
Description
No description provided
MIT 1 MiB
Languages
Rust 99.8%
Shell 0.1%