Skip to content

Commit 5275b85

Browse files
authored
Solving format issuee sym.md
1 parent a9cb835 commit 5275b85

File tree

1 file changed

+3
-3
lines changed
  • mkdocs/docs/circom-language/formats

1 file changed

+3
-3
lines changed

mkdocs/docs/circom-language/formats/sym.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ The format provides a list of lines, where each line contains the information ab
1111
```
1212
where
1313

14-
* #s: a positive number. It is the unique number starting in 1 (0 is reserved to the signal holding the constant value 1) which is assigned by the circom compiler to each signal in the circuit.
14+
* s: a positive number. It is the unique number starting in 1 (0 is reserved to the signal holding the constant value 1) which is assigned by the circom compiler to each signal in the circuit.
1515

16-
* #w: an integer larger than or equal to -1. It gives either the position in the witness where the signal occurs or -1 if the signal is not public and does not occur in any constraint in the generated R1CS. Note that many signals do not appear in the final R1CS because they have been replaced by a linear combination of other signals that is equivalent to it in the simplification phase. In order to know the substitution applied to a removed signal one can add the flag --simplification_substitution to the circom call and check the generated [json file](simplification-json.md). All witness positions except 0 (which is again reserved to the constant value 1) must occur once in the sym file. The length of the witness coincides with the number of (different) signals occurring in the generated R1CS plus one (for the constant 1).
16+
* w: an integer larger than or equal to -1. It gives either the position in the witness where the signal occurs or -1 if the signal is not public and does not occur in any constraint in the generated R1CS. Note that many signals do not appear in the final R1CS because they have been replaced by a linear combination of other signals that is equivalent to it in the simplification phase. In order to know the substitution applied to a removed signal one can add the flag --simplification_substitution to the circom call and check the generated [json file](simplification-json.md). All witness positions except 0 (which is again reserved to the constant value 1) must occur once in the sym file. The length of the witness coincides with the number of (different) signals occurring in the generated R1CS plus one (for the constant 1).
1717

18-
* #c: a non-negative integer (starting in 0). It is the unique number given by the compiler to the component the signal belongs to.
18+
* c: a non-negative integer (starting in 0). It is the unique number given by the compiler to the component the signal belongs to.
1919

2020
* name: is a string containing the qualified name of the signal (including the complete component path).
2121

0 commit comments

Comments
 (0)