Skip to content

Commit

Permalink
Update simplification-json.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelis authored Jan 16, 2024
1 parent 9674469 commit 4ed9141
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mkdocs/docs/circom-language/formats/simplification-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ The file contains a dictionary where the entries are the numbers of the simplifi
"sig_num_n": lin_expr_n,
}
```
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 its coefficients (as string) as values:
{ "sig_num_l1": "coef_1", ... , "sig_num_lm": "coef_m"}
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 sym file all these signals are associated to a position in the witness list.

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

Expand Down

0 comments on commit 4ed9141

Please sign in to comment.