Skip to content

Commit

Permalink
Minor changes in simplification json format description
Browse files Browse the repository at this point in the history
  • Loading branch information
alrubio authored Jan 17, 2024
1 parent ec0a3ab commit feb5bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/docs/circom-language/formats/simplification-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The file contains a dictionary where the entries are the numbers of the simplifi
where the linear expression is represented by a dictionary with the signal numbers as strings occurring in the linear expression (with non-zero coefficient) as entries and their coefficients (as string) as values:
`{ "sig_num_l1": "coef_1", ... , "sig_num_lm": "coef_m"}`

All signals occurring in the linear expression are signals that are not removed. Hence, if you also include the ```--sym``` flag in the sym file all these signals are associated to a position in the witness list.
All signals occurring in the linear expression are signals that are not removed. Hence, if you also include the ```--sym``` flag, in the generated [sym file](../sym.md) all these signals are associated to a position in the witness list. On the other hand, al signals sig_num_1 ... sig_num_n that appear as entries in the substitution dictionary are associated to -1.

Let us consider the following simple circuit in 'simplify.circom':

Expand Down

0 comments on commit feb5bdf

Please sign in to comment.