PolyhedraZK / ExpanderCompilerCollection

Expander Compiler
GNU Affero General Public License v3.0
14 stars 3 forks source link

Circuit format spec details: coexisting subcircuits and gates #1

Open sixbigsquare opened 3 months ago

sixbigsquare commented 3 months ago

https://github.com/Zklib/gkr-compiler/blob/8d293ffda2f9b0baf32eb0b2f97d416ae3da888a/docs/artifact_and_serialization.md?plain=1#L39-L49

So confirming, when both subcircuits and gates exists (e.g. #SubCircuit=1 and #GateAdd=3200), it means the circuit contains those gates without repetitions, plus the repeated subcircuits?