Expand description
The submodules that would be useful to have in the lower-level
sigma-proofs
crate are for now included as submodules of a local
sigma
module.
Modulesยง
- codegen
- A module for generating the code that uses the
sigma-proofs
crate API. - combiners
- This module creates and manipulates trees of basic statements
combined with
AND
,OR
, andTHRESH
. - types
- At the
sigma
level, each variable can be a privateScalar
, a publicScalar
, or a publicPoint
, and each variable can be either a vector or not. Arithmetic expressions of those variables can be of any of those types, and also privatePoint
s (vector or not). This module defines an enumAExprType
for the possible types, as well as a dictionary type that mapsString
s (the name of the variable) toAExprType
, and a function for determining the type of arithmetic expressions involving such variables.