davinci-paper/v2/figures/.$circuits.drawio.bkp
v2/figures/.$circuits.drawio.bkpRaw
1<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/29.0.3 Chrome/140.0.7339.249 Electron/38.7.0 Safari/537.36" version="29.0.3" pages="7">
2 <diagram name="1. voter-circuit" id="-BY3RIMELlOST2Ke_Soi">
3 <mxGraphModel dx="1185" dy="642" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
4 <root>
5 <mxCell id="9w8_UW6vJWkl_njZVMp4-0" />
6 <mxCell id="9w8_UW6vJWkl_njZVMp4-1" parent="9w8_UW6vJWkl_njZVMp4-0" />
7 <mxCell id="nvt69mghrfZXCWMQVhOf-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
8 <mxGeometry x="400" y="50" width="820" height="310" as="geometry" />
9 </mxCell>
10 <mxCell id="nvt69mghrfZXCWMQVhOf-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
11 <mxGeometry x="420" y="140" width="780" height="130" as="geometry" />
12 </mxCell>
13 <mxCell id="9w8_UW6vJWkl_njZVMp4-4" value="<div>\(\text{protocolRulesCompliance}(\text{ballotMode, weight, ballot})\)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
14 <mxGeometry x="440" y="190" width="320" height="40" as="geometry" />
15 </mxCell>
16 <mxCell id="9w8_UW6vJWkl_njZVMp4-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.125;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-6" target="9w8_UW6vJWkl_njZVMp4-4" edge="1">
17 <mxGeometry relative="1" as="geometry" />
18 </mxCell>
19 <mxCell id="9w8_UW6vJWkl_njZVMp4-6" value="$$\text{ballotMode}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
20 <mxGeometry x="440" y="80" width="80" height="40" as="geometry" />
21 </mxCell>
22 <mxCell id="9w8_UW6vJWkl_njZVMp4-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.165;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1">
23 <mxGeometry relative="1" as="geometry">
24 <mxPoint x="720" y="160" as="sourcePoint" />
25 <Array as="points">
26 <mxPoint x="810" y="160" />
27 </Array>
28 </mxGeometry>
29 </mxCell>
30 <mxCell id="9w8_UW6vJWkl_njZVMp4-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-9" edge="1">
31 <mxGeometry relative="1" as="geometry">
32 <mxPoint x="720" y="190" as="targetPoint" />
33 <Array as="points">
34 <mxPoint x="720" y="190" />
35 </Array>
36 </mxGeometry>
37 </mxCell>
38 <mxCell id="9w8_UW6vJWkl_njZVMp4-9" value="$$\text{ballot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
39 <mxGeometry x="680" y="80" width="80" height="40" as="geometry" />
40 </mxCell>
41 <mxCell id="9w8_UW6vJWkl_njZVMp4-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.445;entryY=0.014;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1">
42 <mxGeometry relative="1" as="geometry">
43 <mxPoint x="860" y="120" as="sourcePoint" />
44 </mxGeometry>
45 </mxCell>
46 <mxCell id="9w8_UW6vJWkl_njZVMp4-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.833;entryY=0.003;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1">
47 <mxGeometry relative="1" as="geometry">
48 <mxPoint x="930" y="120" as="sourcePoint" />
49 </mxGeometry>
50 </mxCell>
51 <mxCell id="9w8_UW6vJWkl_njZVMp4-14" value="$$\text{Enc}_{EPK}(\text{ballot}; k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
52 <mxGeometry x="780" y="190" width="180" height="40" as="geometry" />
53 </mxCell>
54 <mxCell id="9w8_UW6vJWkl_njZVMp4-15" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-4" target="9w8_UW6vJWkl_njZVMp4-16" edge="1">
55 <mxGeometry width="50" height="50" relative="1" as="geometry">
56 <mxPoint x="639.58" y="230" as="sourcePoint" />
57 <mxPoint x="639.58" y="390" as="targetPoint" />
58 </mxGeometry>
59 </mxCell>
60 <mxCell id="9w8_UW6vJWkl_njZVMp4-16" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
61 <mxGeometry x="560" y="300" width="80" height="40" as="geometry" />
62 </mxCell>
63 <mxCell id="9w8_UW6vJWkl_njZVMp4-17" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-14" target="9w8_UW6vJWkl_njZVMp4-18" edge="1">
64 <mxGeometry width="50" height="50" relative="1" as="geometry">
65 <mxPoint x="880" y="230" as="sourcePoint" />
66 <mxPoint x="870" y="510" as="targetPoint" />
67 </mxGeometry>
68 </mxCell>
69 <mxCell id="9w8_UW6vJWkl_njZVMp4-18" value="$$\text{encryptedBallot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
70 <mxGeometry x="810" y="300" width="120" height="40" as="geometry" />
71 </mxCell>
72 <mxCell id="9w8_UW6vJWkl_njZVMp4-19" value="PROTOCOL RULES COMPLIANCE" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
73 <mxGeometry x="430" y="390.63" width="322.35" height="40" as="geometry" />
74 </mxCell>
75 <mxCell id="9w8_UW6vJWkl_njZVMp4-20" value="VOTE ENCRYPTION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;fontColor=#333333;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
76 <mxGeometry x="777" y="390.63" width="190" height="40" as="geometry" />
77 </mxCell>
78 <mxCell id="9w8_UW6vJWkl_njZVMp4-21" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
79 <mxGeometry x="580.39" y="217.12" width="20" height="327.04" as="geometry" />
80 </mxCell>
81 <mxCell id="9w8_UW6vJWkl_njZVMp4-22" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
82 <mxGeometry x="862.52" y="287.87" width="20" height="185.56" as="geometry" />
83 </mxCell>
84 <mxCell id="9w8_UW6vJWkl_njZVMp4-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-24" target="9w8_UW6vJWkl_njZVMp4-4" edge="1">
85 <mxGeometry relative="1" as="geometry" />
86 </mxCell>
87 <mxCell id="9w8_UW6vJWkl_njZVMp4-24" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
88 <mxGeometry x="560" y="80" width="80" height="40" as="geometry" />
89 </mxCell>
90 <mxCell id="OdLuYHqov1AF89vjBi5t-0" value="$$\text{Hash}(\text{processID} || \text{address} || k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
91 <mxGeometry x="980" y="190" width="200" height="40" as="geometry" />
92 </mxCell>
93 <mxCell id="OdLuYHqov1AF89vjBi5t-1" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-5" edge="1">
94 <mxGeometry width="50" height="50" relative="1" as="geometry">
95 <mxPoint x="1150" y="160" as="sourcePoint" />
96 <mxPoint x="1150" y="190" as="targetPoint" />
97 </mxGeometry>
98 </mxCell>
99 <mxCell id="OdLuYHqov1AF89vjBi5t-2" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.149;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-4" edge="1">
100 <mxGeometry width="50" height="50" relative="1" as="geometry">
101 <mxPoint x="1079.8899999999999" y="150" as="sourcePoint" />
102 <mxPoint x="1079.8000000000002" y="189.79999999999995" as="targetPoint" />
103 </mxGeometry>
104 </mxCell>
105 <mxCell id="OdLuYHqov1AF89vjBi5t-3" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-0" target="OdLuYHqov1AF89vjBi5t-6" edge="1">
106 <mxGeometry width="50" height="50" relative="1" as="geometry">
107 <mxPoint x="1079.58" y="230" as="sourcePoint" />
108 <mxPoint x="1080" y="710" as="targetPoint" />
109 </mxGeometry>
110 </mxCell>
111 <mxCell id="OdLuYHqov1AF89vjBi5t-4" value="$$\text{processID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
112 <mxGeometry x="1050" y="80" width="60" height="40" as="geometry" />
113 </mxCell>
114 <mxCell id="OdLuYHqov1AF89vjBi5t-5" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
115 <mxGeometry x="1120" y="80" width="60" height="40" as="geometry" />
116 </mxCell>
117 <mxCell id="OdLuYHqov1AF89vjBi5t-6" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
118 <mxGeometry x="1050" y="300" width="60" height="40" as="geometry" />
119 </mxCell>
120 <mxCell id="OdLuYHqov1AF89vjBi5t-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" edge="1">
121 <mxGeometry relative="1" as="geometry">
122 <mxPoint x="930" y="160" as="sourcePoint" />
123 <mxPoint x="1010" y="190" as="targetPoint" />
124 <Array as="points">
125 <mxPoint x="930" y="160" />
126 <mxPoint x="1010" y="160" />
127 </Array>
128 </mxGeometry>
129 </mxCell>
130 <mxCell id="OdLuYHqov1AF89vjBi5t-8" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
131 <mxGeometry x="900" y="80" width="60" height="40" as="geometry" />
132 </mxCell>
133 <mxCell id="OdLuYHqov1AF89vjBi5t-9" value="<div style="font-size: 11px;">$$EPK$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
134 <mxGeometry x="830.66" y="80" width="60" height="40" as="geometry" />
135 </mxCell>
136 <mxCell id="IJeOMj3sBRJv-nG6xJRO-0" value="VOTE ID" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
137 <mxGeometry x="979.99" y="390.65" width="208.01" height="40" as="geometry" />
138 </mxCell>
139 <mxCell id="IJeOMj3sBRJv-nG6xJRO-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1">
140 <mxGeometry x="1073.44" y="276.99" width="20" height="207.33" as="geometry" />
141 </mxCell>
142 </root>
143 </mxGraphModel>
144 </diagram>
145 <diagram name="2. authentication-circuit" id="o6OCBXuaYOciUBZEVznX">
146 <mxGraphModel dx="4740" dy="3418" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
147 <root>
148 <mxCell id="6AO6W4_8KHMcSuPCPKqw-0" />
149 <mxCell id="6AO6W4_8KHMcSuPCPKqw-1" parent="6AO6W4_8KHMcSuPCPKqw-0" />
150 <mxCell id="n4zl9lOKqNB3rH38xvPK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
151 <mxGeometry x="80" y="-760" width="1280" height="500" as="geometry" />
152 </mxCell>
153 <mxCell id="n4zl9lOKqNB3rH38xvPK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
154 <mxGeometry x="110" y="-679.88" width="1220" height="339.88" as="geometry" />
155 </mxCell>
156 <mxCell id="6AO6W4_8KHMcSuPCPKqw-4" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
157 <mxGeometry x="130" y="-410" width="200" height="40" as="geometry" />
158 </mxCell>
159 <mxCell id="6AO6W4_8KHMcSuPCPKqw-5" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-7" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1">
160 <mxGeometry width="50" height="50" relative="1" as="geometry">
161 <mxPoint x="159.89" y="-639.88" as="sourcePoint" />
162 <mxPoint x="159.89" y="-589.88" as="targetPoint" />
163 </mxGeometry>
164 </mxCell>
165 <mxCell id="6AO6W4_8KHMcSuPCPKqw-6" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-4" target="6AO6W4_8KHMcSuPCPKqw-47" edge="1">
166 <mxGeometry width="50" height="50" relative="1" as="geometry">
167 <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" />
168 <mxPoint x="230" y="-320" as="targetPoint" />
169 </mxGeometry>
170 </mxCell>
171 <mxCell id="6AO6W4_8KHMcSuPCPKqw-7" value="<div style="font-size: 11px;">$$\text{voteProof}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
172 <mxGeometry x="150" y="-736.88" width="60" height="40" as="geometry" />
173 </mxCell>
174 <mxCell id="6AO6W4_8KHMcSuPCPKqw-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-9" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1">
175 <mxGeometry relative="1" as="geometry">
176 <mxPoint x="560" y="-440" as="sourcePoint" />
177 <mxPoint x="760" y="-470.88" as="targetPoint" />
178 <Array as="points">
179 <mxPoint x="512" y="-440" />
180 <mxPoint x="280" y="-440" />
181 </Array>
182 </mxGeometry>
183 </mxCell>
184 <mxCell id="6AO6W4_8KHMcSuPCPKqw-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
185 <mxGeometry x="270" y="-509.88" width="390" height="40" as="geometry" />
186 </mxCell>
187 <mxCell id="6AO6W4_8KHMcSuPCPKqw-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-13" target="6AO6W4_8KHMcSuPCPKqw-14" edge="1">
188 <mxGeometry relative="1" as="geometry" />
189 </mxCell>
190 <mxCell id="6AO6W4_8KHMcSuPCPKqw-13" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
191 <mxGeometry x="1050" y="-736.88" width="60" height="40" as="geometry" />
192 </mxCell>
193 <mxCell id="6AO6W4_8KHMcSuPCPKqw-15" value="$$\text{censusProof}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
194 <mxGeometry x="770" y="-736.88" width="80" height="40" as="geometry" />
195 </mxCell>
196 <mxCell id="6AO6W4_8KHMcSuPCPKqw-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.702;entryY=0.009;entryDx=0;entryDy=0;entryPerimeter=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-17" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1">
197 <mxGeometry relative="1" as="geometry">
198 <mxPoint x="1240" y="-309.88" as="targetPoint" />
199 </mxGeometry>
200 </mxCell>
201 <mxCell id="6AO6W4_8KHMcSuPCPKqw-17" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
202 <mxGeometry x="1200" y="-736.88" width="80" height="40" as="geometry" />
203 </mxCell>
204 <mxCell id="6AO6W4_8KHMcSuPCPKqw-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-19" edge="1">
205 <mxGeometry relative="1" as="geometry">
206 <mxPoint x="900" y="-470" as="targetPoint" />
207 </mxGeometry>
208 </mxCell>
209 <mxCell id="6AO6W4_8KHMcSuPCPKqw-19" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
210 <mxGeometry x="860" y="-736.88" width="80" height="40" as="geometry" />
211 </mxCell>
212 <mxCell id="6AO6W4_8KHMcSuPCPKqw-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-21" target="6AO6W4_8KHMcSuPCPKqw-49" edge="1">
213 <mxGeometry relative="1" as="geometry">
214 <mxPoint x="1200" y="-320" as="targetPoint" />
215 </mxGeometry>
216 </mxCell>
217 <mxCell id="6AO6W4_8KHMcSuPCPKqw-21" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
218 <mxGeometry x="1100" y="-410" width="200" height="40" as="geometry" />
219 </mxCell>
220 <mxCell id="6AO6W4_8KHMcSuPCPKqw-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1">
221 <mxGeometry relative="1" as="geometry">
222 <mxPoint x="1080" y="-629.88" as="sourcePoint" />
223 <mxPoint x="1140" y="-320" as="targetPoint" />
224 <Array as="points">
225 <mxPoint x="1140" y="-630" />
226 </Array>
227 </mxGeometry>
228 </mxCell>
229 <mxCell id="6AO6W4_8KHMcSuPCPKqw-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1">
230 <mxGeometry relative="1" as="geometry">
231 <mxPoint x="950" y="-540" as="sourcePoint" />
232 <mxPoint x="950" y="-470" as="targetPoint" />
233 <Array as="points">
234 <mxPoint x="950" y="-480" />
235 </Array>
236 </mxGeometry>
237 </mxCell>
238 <mxCell id="6AO6W4_8KHMcSuPCPKqw-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-25" target="6AO6W4_8KHMcSuPCPKqw-48" edge="1">
239 <mxGeometry relative="1" as="geometry">
240 <mxPoint x="880" y="-320" as="targetPoint" />
241 </mxGeometry>
242 </mxCell>
243 <mxCell id="6AO6W4_8KHMcSuPCPKqw-25" value="<div>$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
244 <mxGeometry x="720" y="-469.88" width="320" height="40" as="geometry" />
245 </mxCell>
246 <mxCell id="6AO6W4_8KHMcSuPCPKqw-26" value="" style="endArrow=classic;html=1;rounded=0;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1">
247 <mxGeometry width="50" height="50" relative="1" as="geometry">
248 <mxPoint x="670" y="-630" as="sourcePoint" />
249 <mxPoint x="770" y="-470" as="targetPoint" />
250 <Array as="points">
251 <mxPoint x="770" y="-630" />
252 <mxPoint x="770" y="-510" />
253 </Array>
254 </mxGeometry>
255 </mxCell>
256 <mxCell id="6AO6W4_8KHMcSuPCPKqw-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-15" edge="1">
257 <mxGeometry relative="1" as="geometry">
258 <mxPoint x="810" y="-470" as="targetPoint" />
259 <mxPoint x="819.71" y="-669.88" as="sourcePoint" />
260 <Array as="points">
261 <mxPoint x="810" y="-470" />
262 </Array>
263 </mxGeometry>
264 </mxCell>
265 <mxCell id="6AO6W4_8KHMcSuPCPKqw-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.82;entryY=0.005;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-14" target="6AO6W4_8KHMcSuPCPKqw-46" edge="1">
266 <mxGeometry relative="1" as="geometry">
267 <mxPoint x="1080" y="-559.88" as="sourcePoint" />
268 <mxPoint x="618" y="-509.88" as="targetPoint" />
269 <Array as="points">
270 <mxPoint x="1080" y="-539.88" />
271 </Array>
272 </mxGeometry>
273 </mxCell>
274 <mxCell id="6AO6W4_8KHMcSuPCPKqw-29" value="VOTER'S PROOF VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
275 <mxGeometry x="130" y="-219.25" width="560" height="40" as="geometry" />
276 </mxCell>
277 <mxCell id="6AO6W4_8KHMcSuPCPKqw-30" value="CENSUS MEMBERSHIP" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
278 <mxGeometry x="730" y="-219.25" width="307.19" height="40" as="geometry" />
279 </mxCell>
280 <mxCell id="6AO6W4_8KHMcSuPCPKqw-31" value="AUTHENTICATION + NON-MALLEABILITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
281 <mxGeometry x="1080" y="-219.25" width="230" height="40" as="geometry" />
282 </mxCell>
283 <mxCell id="6AO6W4_8KHMcSuPCPKqw-32" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
284 <mxGeometry x="400" y="-509.88" width="20" height="561.25" as="geometry" />
285 </mxCell>
286 <mxCell id="6AO6W4_8KHMcSuPCPKqw-33" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
287 <mxGeometry x="872.19" y="-382.67999999999995" width="20" height="306.87" as="geometry" />
288 </mxCell>
289 <mxCell id="6AO6W4_8KHMcSuPCPKqw-34" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
290 <mxGeometry x="1184.19" y="-348" width="20" height="237.5" as="geometry" />
291 </mxCell>
292 <mxCell id="GFPi3vpMem_EEXF4PJQ--6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-38" edge="1">
293 <mxGeometry relative="1" as="geometry">
294 <mxPoint x="385" y="-510" as="targetPoint" />
295 </mxGeometry>
296 </mxCell>
297 <mxCell id="6AO6W4_8KHMcSuPCPKqw-38" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
298 <mxGeometry x="350" y="-736.88" width="70" height="40" as="geometry" />
299 </mxCell>
300 <mxCell id="GFPi3vpMem_EEXF4PJQ--8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-39" edge="1">
301 <mxGeometry relative="1" as="geometry">
302 <mxPoint x="460" y="-510" as="targetPoint" />
303 </mxGeometry>
304 </mxCell>
305 <mxCell id="6AO6W4_8KHMcSuPCPKqw-39" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
306 <mxGeometry x="430" y="-736.88" width="60" height="40" as="geometry" />
307 </mxCell>
308 <mxCell id="6AO6W4_8KHMcSuPCPKqw-40" value="$$(C_1, C_2)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
309 <mxGeometry x="500" y="-736.88" width="60" height="40" as="geometry" />
310 </mxCell>
311 <mxCell id="GFPi3vpMem_EEXF4PJQ--4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-42" edge="1">
312 <mxGeometry relative="1" as="geometry">
313 <mxPoint x="305" y="-510" as="targetPoint" />
314 </mxGeometry>
315 </mxCell>
316 <mxCell id="6AO6W4_8KHMcSuPCPKqw-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
317 <mxGeometry x="270" y="-736.88" width="70" height="40" as="geometry" />
318 </mxCell>
319 <mxCell id="6AO6W4_8KHMcSuPCPKqw-45" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-46" edge="1">
320 <mxGeometry relative="1" as="geometry">
321 <mxPoint x="650" y="-510" as="targetPoint" />
322 <Array as="points">
323 <mxPoint x="1009" y="-530" />
324 <mxPoint x="1000" y="-530" />
325 <mxPoint x="1000" y="-540" />
326 <mxPoint x="650" y="-540" />
327 <mxPoint x="650" y="-510" />
328 </Array>
329 </mxGeometry>
330 </mxCell>
331 <mxCell id="6AO6W4_8KHMcSuPCPKqw-46" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
332 <mxGeometry x="982" y="-559.88" width="60" height="39.88" as="geometry" />
333 </mxCell>
334 <mxCell id="6AO6W4_8KHMcSuPCPKqw-47" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
335 <mxGeometry x="190" y="-309.88" width="80" height="40" as="geometry" />
336 </mxCell>
337 <mxCell id="6AO6W4_8KHMcSuPCPKqw-48" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
338 <mxGeometry x="840" y="-309.88" width="80" height="40" as="geometry" />
339 </mxCell>
340 <mxCell id="6AO6W4_8KHMcSuPCPKqw-49" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
341 <mxGeometry x="1160" y="-309.88" width="80" height="40" as="geometry" />
342 </mxCell>
343 <mxCell id="6AO6W4_8KHMcSuPCPKqw-50" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
344 <mxGeometry x="640" y="-736.88" width="60" height="40" as="geometry" />
345 </mxCell>
346 <mxCell id="6AO6W4_8KHMcSuPCPKqw-51" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
347 <mxGeometry x="570" y="-736.88" width="60" height="40" as="geometry" />
348 </mxCell>
349 <mxCell id="GFPi3vpMem_EEXF4PJQ--1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-40" edge="1">
350 <mxGeometry relative="1" as="geometry">
351 <mxPoint x="530" y="-510" as="targetPoint" />
352 <mxPoint x="520" y="-660" as="sourcePoint" />
353 <Array as="points">
354 <mxPoint x="530" y="-510" />
355 </Array>
356 </mxGeometry>
357 </mxCell>
358 <mxCell id="GFPi3vpMem_EEXF4PJQ--10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-51" edge="1">
359 <mxGeometry relative="1" as="geometry">
360 <mxPoint x="600" y="-510" as="targetPoint" />
361 <mxPoint x="700" y="-600" as="sourcePoint" />
362 <Array as="points">
363 <mxPoint x="600" y="-610" />
364 <mxPoint x="600" y="-610" />
365 </Array>
366 </mxGeometry>
367 </mxCell>
368 <mxCell id="GFPi3vpMem_EEXF4PJQ--11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.92;entryY=0.019;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-50" target="6AO6W4_8KHMcSuPCPKqw-9" edge="1">
369 <mxGeometry relative="1" as="geometry">
370 <mxPoint x="669.97" y="-509.88" as="targetPoint" />
371 <mxPoint x="719.97" y="-676.88" as="sourcePoint" />
372 <Array as="points">
373 <mxPoint x="670" y="-570" />
374 <mxPoint x="629" y="-570" />
375 </Array>
376 </mxGeometry>
377 </mxCell>
378 <mxCell id="6AO6W4_8KHMcSuPCPKqw-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1">
379 <mxGeometry relative="1" as="geometry">
380 <mxPoint x="600" y="-650" as="sourcePoint" />
381 <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" />
382 <Array as="points">
383 <mxPoint x="1200" y="-650" />
384 </Array>
385 </mxGeometry>
386 </mxCell>
387 <mxCell id="6AO6W4_8KHMcSuPCPKqw-14" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1">
388 <mxGeometry x="1040" y="-599.88" width="80" height="40" as="geometry" />
389 </mxCell>
390 </root>
391 </mxGraphModel>
392 </diagram>
393 <diagram name="Copy of 2. authentication-circuit" id="KVSpEcm4WbDDJAcKJysv">
394 <mxGraphModel dx="677" dy="1217" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
395 <root>
396 <mxCell id="KXn8IlWK5bg8NCUujisa-0" />
397 <mxCell id="KXn8IlWK5bg8NCUujisa-1" parent="KXn8IlWK5bg8NCUujisa-0" />
398 <mxCell id="KXn8IlWK5bg8NCUujisa-4" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
399 <mxGeometry x="130" y="-410" width="200" height="40" as="geometry" />
400 </mxCell>
401 <mxCell id="KXn8IlWK5bg8NCUujisa-5" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-7" target="KXn8IlWK5bg8NCUujisa-4">
402 <mxGeometry width="50" height="50" relative="1" as="geometry">
403 <mxPoint x="159.89" y="-639.88" as="sourcePoint" />
404 <mxPoint x="159.89" y="-589.88" as="targetPoint" />
405 </mxGeometry>
406 </mxCell>
407 <mxCell id="KXn8IlWK5bg8NCUujisa-6" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-4" target="KXn8IlWK5bg8NCUujisa-41">
408 <mxGeometry width="50" height="50" relative="1" as="geometry">
409 <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" />
410 <mxPoint x="230" y="-320" as="targetPoint" />
411 </mxGeometry>
412 </mxCell>
413 <mxCell id="KXn8IlWK5bg8NCUujisa-7" value="<div style="font-size: 11px;">$$\text{ballotProof}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
414 <mxGeometry x="140" y="-736.88" width="80" height="40" as="geometry" />
415 </mxCell>
416 <mxCell id="KXn8IlWK5bg8NCUujisa-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-9" target="KXn8IlWK5bg8NCUujisa-4">
417 <mxGeometry relative="1" as="geometry">
418 <mxPoint x="560" y="-440" as="sourcePoint" />
419 <mxPoint x="760" y="-470.88" as="targetPoint" />
420 <Array as="points">
421 <mxPoint x="512" y="-440" />
422 <mxPoint x="280" y="-440" />
423 </Array>
424 </mxGeometry>
425 </mxCell>
426 <mxCell id="KXn8IlWK5bg8NCUujisa-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
427 <mxGeometry x="270" y="-509.88" width="390" height="40" as="geometry" />
428 </mxCell>
429 <mxCell id="KXn8IlWK5bg8NCUujisa-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-11" target="KXn8IlWK5bg8NCUujisa-50">
430 <mxGeometry relative="1" as="geometry" />
431 </mxCell>
432 <mxCell id="KXn8IlWK5bg8NCUujisa-11" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
433 <mxGeometry x="1050" y="-736.88" width="60" height="40" as="geometry" />
434 </mxCell>
435 <mxCell id="KXn8IlWK5bg8NCUujisa-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.702;entryY=0.009;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-14" target="KXn8IlWK5bg8NCUujisa-18">
436 <mxGeometry relative="1" as="geometry">
437 <mxPoint x="1240" y="-309.88" as="targetPoint" />
438 </mxGeometry>
439 </mxCell>
440 <mxCell id="KXn8IlWK5bg8NCUujisa-14" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
441 <mxGeometry x="1200" y="-736.88" width="80" height="40" as="geometry" />
442 </mxCell>
443 <mxCell id="KXn8IlWK5bg8NCUujisa-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-18" target="KXn8IlWK5bg8NCUujisa-43">
444 <mxGeometry relative="1" as="geometry">
445 <mxPoint x="1200" y="-320" as="targetPoint" />
446 </mxGeometry>
447 </mxCell>
448 <mxCell id="KXn8IlWK5bg8NCUujisa-18" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
449 <mxGeometry x="1100" y="-410" width="200" height="40" as="geometry" />
450 </mxCell>
451 <mxCell id="KXn8IlWK5bg8NCUujisa-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" target="KXn8IlWK5bg8NCUujisa-18">
452 <mxGeometry relative="1" as="geometry">
453 <mxPoint x="1080" y="-629.88" as="sourcePoint" />
454 <mxPoint x="1140" y="-320" as="targetPoint" />
455 <Array as="points">
456 <mxPoint x="1140" y="-630" />
457 </Array>
458 </mxGeometry>
459 </mxCell>
460 <mxCell id="KXn8IlWK5bg8NCUujisa-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-40">
461 <mxGeometry relative="1" as="geometry">
462 <mxPoint x="880" y="-309.8800000000001" as="targetPoint" />
463 </mxGeometry>
464 </mxCell>
465 <mxCell id="KXn8IlWK5bg8NCUujisa-25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.82;entryY=0.005;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-50" target="KXn8IlWK5bg8NCUujisa-40">
466 <mxGeometry relative="1" as="geometry">
467 <mxPoint x="1080" y="-559.88" as="sourcePoint" />
468 <mxPoint x="618" y="-509.88" as="targetPoint" />
469 <Array as="points">
470 <mxPoint x="1080" y="-539.88" />
471 </Array>
472 </mxGeometry>
473 </mxCell>
474 <mxCell id="KXn8IlWK5bg8NCUujisa-26" value="VOTER'S PROOF VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
475 <mxGeometry x="130" y="-219.25" width="560" height="40" as="geometry" />
476 </mxCell>
477 <mxCell id="KXn8IlWK5bg8NCUujisa-28" value="AUTHENTICATION + NON-MALLEABILITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
478 <mxGeometry x="1080" y="-219.25" width="230" height="40" as="geometry" />
479 </mxCell>
480 <mxCell id="KXn8IlWK5bg8NCUujisa-29" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
481 <mxGeometry x="400" y="-509.88" width="20" height="561.25" as="geometry" />
482 </mxCell>
483 <mxCell id="KXn8IlWK5bg8NCUujisa-31" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
484 <mxGeometry x="1184.19" y="-348" width="20" height="237.5" as="geometry" />
485 </mxCell>
486 <mxCell id="KXn8IlWK5bg8NCUujisa-32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-33">
487 <mxGeometry relative="1" as="geometry">
488 <mxPoint x="385" y="-510" as="targetPoint" />
489 </mxGeometry>
490 </mxCell>
491 <mxCell id="KXn8IlWK5bg8NCUujisa-33" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
492 <mxGeometry x="350" y="-736.88" width="70" height="40" as="geometry" />
493 </mxCell>
494 <mxCell id="KXn8IlWK5bg8NCUujisa-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-35">
495 <mxGeometry relative="1" as="geometry">
496 <mxPoint x="460" y="-510" as="targetPoint" />
497 </mxGeometry>
498 </mxCell>
499 <mxCell id="KXn8IlWK5bg8NCUujisa-35" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
500 <mxGeometry x="430" y="-736.88" width="60" height="40" as="geometry" />
501 </mxCell>
502 <mxCell id="KXn8IlWK5bg8NCUujisa-36" value="$$\text{encryptedBallot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
503 <mxGeometry x="500" y="-736.88" width="60" height="40" as="geometry" />
504 </mxCell>
505 <mxCell id="KXn8IlWK5bg8NCUujisa-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-38">
506 <mxGeometry relative="1" as="geometry">
507 <mxPoint x="305" y="-510" as="targetPoint" />
508 </mxGeometry>
509 </mxCell>
510 <mxCell id="KXn8IlWK5bg8NCUujisa-38" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
511 <mxGeometry x="270" y="-736.88" width="70" height="40" as="geometry" />
512 </mxCell>
513 <mxCell id="KXn8IlWK5bg8NCUujisa-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-40">
514 <mxGeometry relative="1" as="geometry">
515 <mxPoint x="650" y="-510" as="targetPoint" />
516 <Array as="points">
517 <mxPoint x="1009" y="-530" />
518 <mxPoint x="1000" y="-530" />
519 <mxPoint x="1000" y="-540" />
520 <mxPoint x="650" y="-540" />
521 <mxPoint x="650" y="-510" />
522 </Array>
523 </mxGeometry>
524 </mxCell>
525 <mxCell id="KXn8IlWK5bg8NCUujisa-40" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
526 <mxGeometry x="982" y="-559.88" width="60" height="39.88" as="geometry" />
527 </mxCell>
528 <mxCell id="KXn8IlWK5bg8NCUujisa-41" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
529 <mxGeometry x="190" y="-309.88" width="80" height="40" as="geometry" />
530 </mxCell>
531 <mxCell id="KXn8IlWK5bg8NCUujisa-43" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
532 <mxGeometry x="1160" y="-309.88" width="80" height="40" as="geometry" />
533 </mxCell>
534 <mxCell id="KXn8IlWK5bg8NCUujisa-44" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
535 <mxGeometry x="640" y="-736.88" width="60" height="40" as="geometry" />
536 </mxCell>
537 <mxCell id="KXn8IlWK5bg8NCUujisa-45" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
538 <mxGeometry x="570" y="-736.88" width="60" height="40" as="geometry" />
539 </mxCell>
540 <mxCell id="KXn8IlWK5bg8NCUujisa-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-36">
541 <mxGeometry relative="1" as="geometry">
542 <mxPoint x="530" y="-510" as="targetPoint" />
543 <mxPoint x="520" y="-660" as="sourcePoint" />
544 <Array as="points">
545 <mxPoint x="530" y="-510" />
546 </Array>
547 </mxGeometry>
548 </mxCell>
549 <mxCell id="KXn8IlWK5bg8NCUujisa-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-45">
550 <mxGeometry relative="1" as="geometry">
551 <mxPoint x="600" y="-510" as="targetPoint" />
552 <mxPoint x="700" y="-600" as="sourcePoint" />
553 <Array as="points">
554 <mxPoint x="600" y="-610" />
555 <mxPoint x="600" y="-610" />
556 </Array>
557 </mxGeometry>
558 </mxCell>
559 <mxCell id="KXn8IlWK5bg8NCUujisa-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.92;entryY=0.019;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-44" target="KXn8IlWK5bg8NCUujisa-9">
560 <mxGeometry relative="1" as="geometry">
561 <mxPoint x="669.97" y="-509.88" as="targetPoint" />
562 <mxPoint x="719.97" y="-676.88" as="sourcePoint" />
563 <Array as="points">
564 <mxPoint x="670" y="-570" />
565 <mxPoint x="629" y="-570" />
566 </Array>
567 </mxGeometry>
568 </mxCell>
569 <mxCell id="KXn8IlWK5bg8NCUujisa-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" target="KXn8IlWK5bg8NCUujisa-18">
570 <mxGeometry relative="1" as="geometry">
571 <mxPoint x="600" y="-650" as="sourcePoint" />
572 <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" />
573 <Array as="points">
574 <mxPoint x="1200" y="-650" />
575 </Array>
576 </mxGeometry>
577 </mxCell>
578 <mxCell id="KXn8IlWK5bg8NCUujisa-50" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
579 <mxGeometry x="1040" y="-599.88" width="80" height="40" as="geometry" />
580 </mxCell>
581 <mxCell id="2DXNI-Av7wMyQZ8m3Fvy-1" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1">
582 <mxGeometry x="850" y="-309.88" width="60" height="40" as="geometry" />
583 </mxCell>
584 </root>
585 </mxGraphModel>
586 </diagram>
587 <diagram name="3. aggregate-circuit" id="88JFnn8AstWJnzEelpN0">
588 <mxGraphModel dx="1233" dy="728" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
589 <root>
590 <mxCell id="vWYVikCydA5HvOjBRwIf-0" />
591 <mxCell id="vWYVikCydA5HvOjBRwIf-1" parent="vWYVikCydA5HvOjBRwIf-0" />
592 <mxCell id="i_wgu6sUIYtOpveSoJkK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1">
593 <mxGeometry x="30" y="60" width="790" height="260" as="geometry" />
594 </mxCell>
595 <mxCell id="i_wgu6sUIYtOpveSoJkK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1">
596 <mxGeometry x="50" y="135" width="750" height="95" as="geometry" />
597 </mxCell>
598 <mxCell id="mhMekiSe2uiXRmLYm047-1" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
599 <mxGeometry x="310.00000000000006" y="80" width="60" height="40" as="geometry" />
600 </mxCell>
601 <mxCell id="VWBkZtje_WCXQabFDbId-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
602 <mxGeometry x="710" y="80" width="70" height="40" as="geometry" />
603 </mxCell>
604 <mxCell id="VWBkZtje_WCXQabFDbId-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
605 <mxGeometry x="540" y="80.00000000000011" width="70" height="40" as="geometry" />
606 </mxCell>
607 <mxCell id="VWBkZtje_WCXQabFDbId-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
608 <mxGeometry x="630" y="80.00000000000011" width="60" height="40" as="geometry" />
609 </mxCell>
610 <mxCell id="VWBkZtje_WCXQabFDbId-7" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
611 <mxGeometry x="230" y="80.00000000000011" width="60" height="40" as="geometry" />
612 </mxCell>
613 <mxCell id="VWBkZtje_WCXQabFDbId-8" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
614 <mxGeometry x="450" y="80.00000000000011" width="70" height="40" as="geometry" />
615 </mxCell>
616 <mxCell id="VWBkZtje_WCXQabFDbId-11" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
617 <mxGeometry x="390" y="80" width="40" height="40" as="geometry" />
618 </mxCell>
619 <mxCell id="QCU0WVTcZCZ_NDvB6I_U-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
620 <mxGeometry x="385" y="270" width="80" height="40" as="geometry" />
621 </mxCell>
622 <mxCell id="QCU0WVTcZCZ_NDvB6I_U-15" value="" style="endArrow=classic;html=1;rounded=0;" parent="vWYVikCydA5HvOjBRwIf-1" edge="1">
623 <mxGeometry width="50" height="50" relative="1" as="geometry">
624 <mxPoint x="138.83000000000004" y="120" as="sourcePoint" />
625 <mxPoint x="138.83000000000004" y="160" as="targetPoint" />
626 </mxGeometry>
627 </mxCell>
628 <mxCell id="kuW-ZrGGYPgx6TDovwxI-0" value="SHARED PUBLIC INPUTS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
629 <mxGeometry x="458" y="354.01" width="319" height="40" as="geometry" />
630 </mxCell>
631 <mxCell id="kuW-ZrGGYPgx6TDovwxI-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
632 <mxGeometry x="606.87" y="176.93" width="20" height="326.16" as="geometry" />
633 </mxCell>
634 <mxCell id="kuW-ZrGGYPgx6TDovwxI-2" value="VOTES AGGREGATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
635 <mxGeometry x="73" y="354.01" width="360" height="40" as="geometry" />
636 </mxCell>
637 <mxCell id="kuW-ZrGGYPgx6TDovwxI-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
638 <mxGeometry x="242.82" y="156.88" width="20" height="366.25" as="geometry" />
639 </mxCell>
640 <mxCell id="KYVxoJJrrN6A2haL3CTe-1" value="<div style="font-size: 11px;">$$\text{authenticationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
641 <mxGeometry x="70" y="80" width="140" height="40" as="geometry" />
642 </mxCell>
643 <mxCell id="YQak7JiX628nDuEKiX8z-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="vWYVikCydA5HvOjBRwIf-1" source="YQak7JiX628nDuEKiX8z-0" target="QCU0WVTcZCZ_NDvB6I_U-1" edge="1">
644 <mxGeometry relative="1" as="geometry" />
645 </mxCell>
646 <mxCell id="YQak7JiX628nDuEKiX8z-0" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1">
647 <mxGeometry x="70" y="160" width="710" height="40" as="geometry" />
648 </mxCell>
649 <mxCell id="52VyXC8j5xGTEDYuN6SN-2" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
650 <mxGeometry width="50" height="50" relative="1" as="geometry">
651 <mxPoint x="259.65999999999997" y="120" as="sourcePoint" />
652 <mxPoint x="259.65999999999997" y="160" as="targetPoint" />
653 </mxGeometry>
654 </mxCell>
655 <mxCell id="52VyXC8j5xGTEDYuN6SN-3" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
656 <mxGeometry width="50" height="50" relative="1" as="geometry">
657 <mxPoint x="339.65999999999997" y="120" as="sourcePoint" />
658 <mxPoint x="339.65999999999997" y="160" as="targetPoint" />
659 </mxGeometry>
660 </mxCell>
661 <mxCell id="52VyXC8j5xGTEDYuN6SN-4" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
662 <mxGeometry width="50" height="50" relative="1" as="geometry">
663 <mxPoint x="409.66" y="120" as="sourcePoint" />
664 <mxPoint x="409.66" y="160" as="targetPoint" />
665 </mxGeometry>
666 </mxCell>
667 <mxCell id="52VyXC8j5xGTEDYuN6SN-5" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
668 <mxGeometry width="50" height="50" relative="1" as="geometry">
669 <mxPoint x="484.83" y="120" as="sourcePoint" />
670 <mxPoint x="484.83" y="160" as="targetPoint" />
671 </mxGeometry>
672 </mxCell>
673 <mxCell id="52VyXC8j5xGTEDYuN6SN-6" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
674 <mxGeometry width="50" height="50" relative="1" as="geometry">
675 <mxPoint x="574.83" y="120" as="sourcePoint" />
676 <mxPoint x="574.83" y="160" as="targetPoint" />
677 </mxGeometry>
678 </mxCell>
679 <mxCell id="52VyXC8j5xGTEDYuN6SN-7" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
680 <mxGeometry width="50" height="50" relative="1" as="geometry">
681 <mxPoint x="659.83" y="120" as="sourcePoint" />
682 <mxPoint x="659.83" y="160" as="targetPoint" />
683 </mxGeometry>
684 </mxCell>
685 <mxCell id="52VyXC8j5xGTEDYuN6SN-8" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1">
686 <mxGeometry width="50" height="50" relative="1" as="geometry">
687 <mxPoint x="744.83" y="120" as="sourcePoint" />
688 <mxPoint x="744.83" y="160" as="targetPoint" />
689 </mxGeometry>
690 </mxCell>
691 </root>
692 </mxGraphModel>
693 </diagram>
694 <diagram name="4. state-transition-circuit" id="PK6FMuq_bwtaiANtLuxe">
695 <mxGraphModel dx="3782" dy="1928" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
696 <root>
697 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-0" />
698 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-1" parent="D6Gzr2-08hJ62fW1Y4SW-0" />
699 <mxCell id="ojYA5p9BOs-s12dUr8XO-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
700 <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" />
701 </mxCell>
702 <mxCell id="ojYA5p9BOs-s12dUr8XO-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
703 <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" />
704 </mxCell>
705 <mxCell id="EZ67WfkGteQ7pZBN_wck-0" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
706 <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" />
707 </mxCell>
708 <mxCell id="EZ67WfkGteQ7pZBN_wck-7" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
709 <mxGeometry x="290" y="480" width="160" height="60" as="geometry" />
710 </mxCell>
711 <mxCell id="EZ67WfkGteQ7pZBN_wck-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
712 <mxGeometry x="915" y="347" width="355" height="113" as="geometry" />
713 </mxCell>
714 <mxCell id="0c9yVQNtpXtt_NukVZet-10" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
715 <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" />
716 </mxCell>
717 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-3" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
718 <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" />
719 </mxCell>
720 <mxCell id="xZoSSO8U0oyJhFnYmJBx-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-10" target="yhMjlz7L6oX0I03LSNM_-0" edge="1">
721 <mxGeometry relative="1" as="geometry">
722 <mxPoint x="640" y="-30" as="targetPoint" />
723 </mxGeometry>
724 </mxCell>
725 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
726 <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" />
727 </mxCell>
728 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-26" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
729 <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" />
730 </mxCell>
731 <mxCell id="SGKnkJu5_sYSCg57PFAC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-8">
732 <mxGeometry relative="1" as="geometry">
733 <mxPoint x="779.67" y="230" as="sourcePoint" />
734 <mxPoint x="779.67" y="620" as="targetPoint" />
735 </mxGeometry>
736 </mxCell>
737 <mxCell id="I46Z3Tsccw4bTtzRbnAU-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-9" target="xZoSSO8U0oyJhFnYmJBx-5">
738 <mxGeometry relative="1" as="geometry" />
739 </mxCell>
740 <mxCell id="xZoSSO8U0oyJhFnYmJBx-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1">
741 <mxGeometry relative="1" as="geometry">
742 <mxPoint x="505" y="1220" as="sourcePoint" />
743 <mxPoint x="505" y="1220" as="targetPoint" />
744 </mxGeometry>
745 </mxCell>
746 <mxCell id="xZoSSO8U0oyJhFnYmJBx-30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25" edge="1" target="EZ67WfkGteQ7pZBN_wck-1">
747 <mxGeometry relative="1" as="geometry">
748 <mxPoint x="1280" y="405" as="targetPoint" />
749 <Array as="points">
750 <mxPoint x="1390" y="830" />
751 <mxPoint x="1390" y="405" />
752 </Array>
753 </mxGeometry>
754 </mxCell>
755 <mxCell id="xZoSSO8U0oyJhFnYmJBx-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
756 <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" />
757 </mxCell>
758 <mxCell id="EZ67WfkGteQ7pZBN_wck-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-24">
759 <mxGeometry relative="1" as="geometry">
760 <mxPoint x="680" y="960" as="targetPoint" />
761 </mxGeometry>
762 </mxCell>
763 <mxCell id="xZoSSO8U0oyJhFnYmJBx-24" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
764 <mxGeometry x="620" y="810" width="120" height="40" as="geometry" />
765 </mxCell>
766 <mxCell id="EZ67WfkGteQ7pZBN_wck-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25">
767 <mxGeometry relative="1" as="geometry">
768 <mxPoint x="540" y="960" as="targetPoint" />
769 </mxGeometry>
770 </mxCell>
771 <mxCell id="xZoSSO8U0oyJhFnYmJBx-25" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
772 <mxGeometry x="480" y="810" width="120" height="40" as="geometry" />
773 </mxCell>
774 <mxCell id="xZoSSO8U0oyJhFnYmJBx-26" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
775 <mxGeometry x="900" y="810" width="120" height="40" as="geometry" />
776 </mxCell>
777 <mxCell id="xZoSSO8U0oyJhFnYmJBx-27" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
778 <mxGeometry x="760" y="810" width="120" height="40" as="geometry" />
779 </mxCell>
780 <mxCell id="xZoSSO8U0oyJhFnYmJBx-34" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
781 <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" />
782 </mxCell>
783 <mxCell id="0c9yVQNtpXtt_NukVZet-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-0" target="kZ82RYXQcsU66MAzuXJf-1" edge="1">
784 <mxGeometry relative="1" as="geometry">
785 <mxPoint x="-145" y="-10" as="targetPoint" />
786 </mxGeometry>
787 </mxCell>
788 <mxCell id="kZ82RYXQcsU66MAzuXJf-0" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
789 <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" />
790 </mxCell>
791 <mxCell id="kZ82RYXQcsU66MAzuXJf-1" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
792 <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" />
793 </mxCell>
794 <mxCell id="0c9yVQNtpXtt_NukVZet-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-3" edge="1">
795 <mxGeometry relative="1" as="geometry">
796 <mxPoint x="520.09" y="-60" as="sourcePoint" />
797 <mxPoint x="520" y="80" as="targetPoint" />
798 <Array as="points" />
799 </mxGeometry>
800 </mxCell>
801 <mxCell id="0c9yVQNtpXtt_NukVZet-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="kZ82RYXQcsU66MAzuXJf-1" edge="1">
802 <mxGeometry width="50" height="50" relative="1" as="geometry">
803 <mxPoint x="320" y="-120" as="sourcePoint" />
804 <mxPoint x="570" y="-110" as="targetPoint" />
805 <Array as="points">
806 <mxPoint x="120" y="-120" />
807 <mxPoint x="120" />
808 </Array>
809 </mxGeometry>
810 </mxCell>
811 <mxCell id="yhMjlz7L6oX0I03LSNM_-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="yhMjlz7L6oX0I03LSNM_-0" edge="1">
812 <mxGeometry relative="1" as="geometry">
813 <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" />
814 <mxPoint x="640" y="80" as="targetPoint" />
815 <Array as="points" />
816 </mxGeometry>
817 </mxCell>
818 <mxCell id="yhMjlz7L6oX0I03LSNM_-0" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
819 <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" />
820 </mxCell>
821 <mxCell id="D1O2pzwOY9OCH-spyj_d-0" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
822 <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" />
823 </mxCell>
824 <mxCell id="yhMjlz7L6oX0I03LSNM_-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-24" edge="1">
825 <mxGeometry relative="1" as="geometry">
826 <mxPoint x="898.95" y="-80" as="sourcePoint" />
827 <mxPoint x="900" y="80" as="targetPoint" />
828 <Array as="points" />
829 </mxGeometry>
830 </mxCell>
831 <mxCell id="yhMjlz7L6oX0I03LSNM_-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-20" edge="1">
832 <mxGeometry relative="1" as="geometry">
833 <mxPoint x="1059.47" y="-80" as="sourcePoint" />
834 <mxPoint x="1060" y="80" as="targetPoint" />
835 <Array as="points" />
836 </mxGeometry>
837 </mxCell>
838 <mxCell id="yhMjlz7L6oX0I03LSNM_-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1">
839 <mxGeometry relative="1" as="geometry">
840 <mxPoint x="1199.47" y="-80" as="sourcePoint" />
841 <mxPoint x="1199" y="80" as="targetPoint" />
842 <Array as="points" />
843 </mxGeometry>
844 </mxCell>
845 <mxCell id="0c9yVQNtpXtt_NukVZet-11" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
846 <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" />
847 </mxCell>
848 <mxCell id="jH9XEzTzumLLzgrA1KFi-0" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-1" target="jH9XEzTzumLLzgrA1KFi-1" edge="1">
849 <mxGeometry relative="1" as="geometry">
850 <mxPoint y="310" as="targetPoint" />
851 <mxPoint y="240" as="sourcePoint" />
852 </mxGeometry>
853 </mxCell>
854 <mxCell id="jH9XEzTzumLLzgrA1KFi-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
855 <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" />
856 </mxCell>
857 <mxCell id="0c9yVQNtpXtt_NukVZet-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-4" edge="1">
858 <mxGeometry relative="1" as="geometry">
859 <mxPoint x="400" y="-80" as="sourcePoint" />
860 <mxPoint x="400" y="80" as="targetPoint" />
861 <Array as="points" />
862 </mxGeometry>
863 </mxCell>
864 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
865 <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" />
866 </mxCell>
867 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
868 <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" />
869 </mxCell>
870 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
871 <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" />
872 </mxCell>
873 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-9" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
874 <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" />
875 </mxCell>
876 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-8" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
877 <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" />
878 </mxCell>
879 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-23" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
880 <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" />
881 </mxCell>
882 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-24" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
883 <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" />
884 </mxCell>
885 <mxCell id="xZoSSO8U0oyJhFnYmJBx-20" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
886 <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" />
887 </mxCell>
888 <mxCell id="xZoSSO8U0oyJhFnYmJBx-21" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
889 <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" />
890 </mxCell>
891 <mxCell id="I46Z3Tsccw4bTtzRbnAU-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="RKRk78QnPbcHQFYOCmT4-4" target="xZoSSO8U0oyJhFnYmJBx-5">
892 <mxGeometry relative="1" as="geometry" />
893 </mxCell>
894 <mxCell id="I46Z3Tsccw4bTtzRbnAU-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-0" target="I46Z3Tsccw4bTtzRbnAU-3">
895 <mxGeometry relative="1" as="geometry">
896 <mxPoint x="320" y="730" as="targetPoint" />
897 </mxGeometry>
898 </mxCell>
899 <mxCell id="I46Z3Tsccw4bTtzRbnAU-0" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
900 <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" />
901 </mxCell>
902 <mxCell id="I46Z3Tsccw4bTtzRbnAU-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3" target="xZoSSO8U0oyJhFnYmJBx-5">
903 <mxGeometry relative="1" as="geometry">
904 <mxPoint x="440" y="730" as="sourcePoint" />
905 </mxGeometry>
906 </mxCell>
907 <mxCell id="I46Z3Tsccw4bTtzRbnAU-3" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
908 <mxGeometry x="360" y="490" width="80" height="40" as="geometry" />
909 </mxCell>
910 <mxCell id="I46Z3Tsccw4bTtzRbnAU-18" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
911 <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" />
912 </mxCell>
913 <mxCell id="KAu6sMc1Uvy6INGLTeTi-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-31" target="RKRk78QnPbcHQFYOCmT4-4">
914 <mxGeometry relative="1" as="geometry">
915 <mxPoint x="512" y="320" as="sourcePoint" />
916 <mxPoint x="560" y="580" as="targetPoint" />
917 <Array as="points" />
918 </mxGeometry>
919 </mxCell>
920 <mxCell id="KAu6sMc1Uvy6INGLTeTi-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-9">
921 <mxGeometry relative="1" as="geometry">
922 <mxPoint x="596.5" y="300" as="sourcePoint" />
923 <mxPoint x="596.5" y="550" as="targetPoint" />
924 </mxGeometry>
925 </mxCell>
926 <mxCell id="KAu6sMc1Uvy6INGLTeTi-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-7">
927 <mxGeometry relative="1" as="geometry">
928 <mxPoint x="870" y="300" as="sourcePoint" />
929 <mxPoint x="870" y="550" as="targetPoint" />
930 </mxGeometry>
931 </mxCell>
932 <mxCell id="KAu6sMc1Uvy6INGLTeTi-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-13">
933 <mxGeometry relative="1" as="geometry">
934 <mxPoint x="979.5" y="250" as="sourcePoint" />
935 <mxPoint x="979.5" y="500" as="targetPoint" />
936 </mxGeometry>
937 </mxCell>
938 <mxCell id="KAu6sMc1Uvy6INGLTeTi-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-17">
939 <mxGeometry relative="1" as="geometry">
940 <mxPoint x="1109" y="250" as="sourcePoint" />
941 <mxPoint x="1109" y="500" as="targetPoint" />
942 </mxGeometry>
943 </mxCell>
944 <mxCell id="KAu6sMc1Uvy6INGLTeTi-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-11">
945 <mxGeometry relative="1" as="geometry">
946 <mxPoint x="1219.5" y="300" as="sourcePoint" />
947 <mxPoint x="1219.5" y="550" as="targetPoint" />
948 </mxGeometry>
949 </mxCell>
950 <mxCell id="KAu6sMc1Uvy6INGLTeTi-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
951 <mxGeometry relative="1" as="geometry">
952 <mxPoint x="779.29" y="440" as="sourcePoint" />
953 <mxPoint x="779" y="610" as="targetPoint" />
954 <Array as="points">
955 <mxPoint x="779" y="520" />
956 <mxPoint x="779" y="520" />
957 </Array>
958 </mxGeometry>
959 </mxCell>
960 <mxCell id="KAu6sMc1Uvy6INGLTeTi-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
961 <mxGeometry relative="1" as="geometry">
962 <mxPoint x="979.41" y="350" as="sourcePoint" />
963 <mxPoint x="980" y="610" as="targetPoint" />
964 </mxGeometry>
965 </mxCell>
966 <mxCell id="xZoSSO8U0oyJhFnYmJBx-31" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
967 <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" />
968 </mxCell>
969 <mxCell id="D6Gzr2-08hJ62fW1Y4SW-31" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
970 <mxGeometry x="360" y="80" width="880" height="220" as="geometry" />
971 </mxCell>
972 <mxCell id="xZoSSO8U0oyJhFnYmJBx-7" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
973 <mxGeometry x="830" y="410" width="80" height="40" as="geometry" />
974 </mxCell>
975 <mxCell id="xZoSSO8U0oyJhFnYmJBx-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
976 <mxGeometry x="740" y="410" width="80" height="40" as="geometry" />
977 </mxCell>
978 <mxCell id="xZoSSO8U0oyJhFnYmJBx-9" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
979 <mxGeometry x="557" y="410" width="80" height="40" as="geometry" />
980 </mxCell>
981 <mxCell id="RKRk78QnPbcHQFYOCmT4-4" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
982 <mxGeometry x="472" y="410" width="80" height="40" as="geometry" />
983 </mxCell>
984 <mxCell id="c3b2KowYPhYfo68HtMrI-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
985 <mxGeometry relative="1" as="geometry">
986 <mxPoint x="869.9499999999999" y="450" as="sourcePoint" />
987 <mxPoint x="870" y="610" as="targetPoint" />
988 <Array as="points">
989 <mxPoint x="869.66" y="530" />
990 <mxPoint x="869.66" y="530" />
991 </Array>
992 </mxGeometry>
993 </mxCell>
994 <mxCell id="c3b2KowYPhYfo68HtMrI-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-20">
995 <mxGeometry relative="1" as="geometry">
996 <mxPoint x="550" y="520" as="sourcePoint" />
997 <mxPoint x="550" y="570" as="targetPoint" />
998 <Array as="points">
999 <mxPoint x="549.71" y="550" />
1000 <mxPoint x="549.71" y="550" />
1001 </Array>
1002 </mxGeometry>
1003 </mxCell>
1004 <mxCell id="c3b2KowYPhYfo68HtMrI-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1005 <mxGeometry relative="1" as="geometry">
1006 <mxPoint x="1109.41" y="350" as="sourcePoint" />
1007 <mxPoint x="1110" y="610" as="targetPoint" />
1008 </mxGeometry>
1009 </mxCell>
1010 <mxCell id="c3b2KowYPhYfo68HtMrI-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1011 <mxGeometry relative="1" as="geometry">
1012 <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" />
1013 <mxPoint x="1219" y="610" as="targetPoint" />
1014 <Array as="points">
1015 <mxPoint x="1219.12" y="530" />
1016 <mxPoint x="1219.12" y="530" />
1017 </Array>
1018 </mxGeometry>
1019 </mxCell>
1020 <mxCell id="xZoSSO8U0oyJhFnYmJBx-13" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1021 <mxGeometry x="920" y="360" width="120" height="40" as="geometry" />
1022 </mxCell>
1023 <mxCell id="xZoSSO8U0oyJhFnYmJBx-17" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1024 <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" />
1025 </mxCell>
1026 <mxCell id="xZoSSO8U0oyJhFnYmJBx-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1027 <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" />
1028 </mxCell>
1029 <mxCell id="xZoSSO8U0oyJhFnYmJBx-12" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1030 <mxGeometry x="920" y="410" width="120" height="40" as="geometry" />
1031 </mxCell>
1032 <mxCell id="xZoSSO8U0oyJhFnYmJBx-18" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1033 <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" />
1034 </mxCell>
1035 <mxCell id="c3b2KowYPhYfo68HtMrI-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1036 <mxGeometry relative="1" as="geometry">
1037 <mxPoint x="550" y="520" as="sourcePoint" />
1038 <mxPoint x="550" y="610" as="targetPoint" />
1039 <Array as="points" />
1040 </mxGeometry>
1041 </mxCell>
1042 <mxCell id="I46Z3Tsccw4bTtzRbnAU-20" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1043 <mxGeometry x="510" y="543" width="80" height="40" as="geometry" />
1044 </mxCell>
1045 <mxCell id="xZoSSO8U0oyJhFnYmJBx-5" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1046 <mxGeometry x="470" y="490" width="170" height="40" as="geometry" />
1047 </mxCell>
1048 <mxCell id="c3b2KowYPhYfo68HtMrI-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1049 <mxGeometry relative="1" as="geometry">
1050 <mxPoint x="539.41" y="720" as="sourcePoint" />
1051 <mxPoint x="539.41" y="810" as="targetPoint" />
1052 <Array as="points" />
1053 </mxGeometry>
1054 </mxCell>
1055 <mxCell id="c3b2KowYPhYfo68HtMrI-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1056 <mxGeometry relative="1" as="geometry">
1057 <mxPoint x="679.6" y="720" as="sourcePoint" />
1058 <mxPoint x="679.6" y="810" as="targetPoint" />
1059 <Array as="points" />
1060 </mxGeometry>
1061 </mxCell>
1062 <mxCell id="c3b2KowYPhYfo68HtMrI-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1063 <mxGeometry relative="1" as="geometry">
1064 <mxPoint x="820" y="720" as="sourcePoint" />
1065 <mxPoint x="820" y="810" as="targetPoint" />
1066 <Array as="points" />
1067 </mxGeometry>
1068 </mxCell>
1069 <mxCell id="c3b2KowYPhYfo68HtMrI-12" value="" style="group" vertex="1" connectable="0" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1070 <mxGeometry x="360" y="610" width="880" height="160" as="geometry" />
1071 </mxCell>
1072 <mxCell id="c3b2KowYPhYfo68HtMrI-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12">
1073 <mxGeometry relative="1" as="geometry">
1074 <mxPoint x="600" y="110" as="sourcePoint" />
1075 <mxPoint x="600" y="200" as="targetPoint" />
1076 <Array as="points" />
1077 </mxGeometry>
1078 </mxCell>
1079 <mxCell id="c3b2KowYPhYfo68HtMrI-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12">
1080 <mxGeometry relative="1" as="geometry">
1081 <mxPoint x="720" y="110" as="sourcePoint" />
1082 <mxPoint x="720" y="200" as="targetPoint" />
1083 <Array as="points" />
1084 </mxGeometry>
1085 </mxCell>
1086 <mxCell id="xZoSSO8U0oyJhFnYmJBx-3" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" parent="c3b2KowYPhYfo68HtMrI-12" vertex="1">
1087 <mxGeometry width="880" height="160" as="geometry" />
1088 </mxCell>
1089 <mxCell id="c3b2KowYPhYfo68HtMrI-3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12">
1090 <mxGeometry x="10" y="50" width="350" height="100" as="geometry" />
1091 </mxCell>
1092 <mxCell id="c3b2KowYPhYfo68HtMrI-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12">
1093 <mxGeometry x="375" y="50" width="495" height="100" as="geometry" />
1094 </mxCell>
1095 <mxCell id="EZ67WfkGteQ7pZBN_wck-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3">
1096 <mxGeometry relative="1" as="geometry">
1097 <mxPoint x="-430" y="604.47" as="sourcePoint" />
1098 <mxPoint x="200" y="510" as="targetPoint" />
1099 <Array as="points">
1100 <mxPoint x="400" y="570" />
1101 <mxPoint x="200" y="570" />
1102 <mxPoint x="200" y="510" />
1103 </Array>
1104 </mxGeometry>
1105 </mxCell>
1106 <mxCell id="EZ67WfkGteQ7pZBN_wck-5" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1107 <mxGeometry x="230" y="550" width="100" height="40" as="geometry" />
1108 </mxCell>
1109 <mxCell id="EZ67WfkGteQ7pZBN_wck-8" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1110 <mxGeometry x="290" y="340" width="130" height="53" as="geometry" />
1111 </mxCell>
1112 <mxCell id="EZ67WfkGteQ7pZBN_wck-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="EZ67WfkGteQ7pZBN_wck-8" target="EZ67WfkGteQ7pZBN_wck-8">
1113 <mxGeometry relative="1" as="geometry" />
1114 </mxCell>
1115 <mxCell id="EZ67WfkGteQ7pZBN_wck-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1116 <mxGeometry relative="1" as="geometry">
1117 <mxPoint x="1079.38" y="850" as="sourcePoint" />
1118 <mxPoint x="1079.38" y="960" as="targetPoint" />
1119 </mxGeometry>
1120 </mxCell>
1121 <mxCell id="EZ67WfkGteQ7pZBN_wck-20" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1122 <mxGeometry x="620" y="960" width="120" height="40" as="geometry" />
1123 </mxCell>
1124 <mxCell id="EZ67WfkGteQ7pZBN_wck-21" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1125 <mxGeometry x="480" y="960" width="120" height="40" as="geometry" />
1126 </mxCell>
1127 <mxCell id="EZ67WfkGteQ7pZBN_wck-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1128 <mxGeometry relative="1" as="geometry">
1129 <mxPoint x="760" y="-130" as="sourcePoint" />
1130 <mxPoint x="760" y="80" as="targetPoint" />
1131 <Array as="points" />
1132 </mxGeometry>
1133 </mxCell>
1134 <mxCell id="xZoSSO8U0oyJhFnYmJBx-2" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1">
1135 <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" />
1136 </mxCell>
1137 <mxCell id="GPVaXYSz-EfsHx1UZKMQ-0" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1138 <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" />
1139 </mxCell>
1140 <mxCell id="3ep81gfC2W1f0rtrtprN-0" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1141 <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" />
1142 </mxCell>
1143 <mxCell id="3ep81gfC2W1f0rtrtprN-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1144 <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" />
1145 </mxCell>
1146 <mxCell id="3ep81gfC2W1f0rtrtprN-2" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1147 <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" />
1148 </mxCell>
1149 <mxCell id="3ep81gfC2W1f0rtrtprN-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1">
1150 <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" />
1151 </mxCell>
1152 </root>
1153 </mxGraphModel>
1154 </diagram>
1155 <diagram name="Copy of 4." id="SfqXgv12DMmRO-l3Q4tj">
1156 <mxGraphModel dx="2264" dy="1396" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
1157 <root>
1158 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-0" />
1159 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-1" parent="ZHVPnpmu-zi4kkNDXHjC-0" />
1160 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-2" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1161 <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" />
1162 </mxCell>
1163 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-3" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1164 <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" />
1165 </mxCell>
1166 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1167 <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" />
1168 </mxCell>
1169 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-5" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1170 <mxGeometry x="290" y="480" width="160" height="60" as="geometry" />
1171 </mxCell>
1172 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1173 <mxGeometry x="915" y="347" width="355" height="113" as="geometry" />
1174 </mxCell>
1175 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1176 <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" />
1177 </mxCell>
1178 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1179 <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" />
1180 </mxCell>
1181 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-10" target="ZHVPnpmu-zi4kkNDXHjC-30">
1182 <mxGeometry relative="1" as="geometry">
1183 <mxPoint x="640" y="-30" as="targetPoint" />
1184 </mxGeometry>
1185 </mxCell>
1186 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1187 <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" />
1188 </mxCell>
1189 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1190 <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" />
1191 </mxCell>
1192 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-65">
1193 <mxGeometry relative="1" as="geometry">
1194 <mxPoint x="779.67" y="230" as="sourcePoint" />
1195 <mxPoint x="779.67" y="620" as="targetPoint" />
1196 </mxGeometry>
1197 </mxCell>
1198 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-66" target="ZHVPnpmu-zi4kkNDXHjC-79">
1199 <mxGeometry relative="1" as="geometry" />
1200 </mxCell>
1201 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1202 <mxGeometry relative="1" as="geometry">
1203 <mxPoint x="505" y="1220" as="sourcePoint" />
1204 <mxPoint x="505" y="1220" as="targetPoint" />
1205 </mxGeometry>
1206 </mxCell>
1207 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20" target="ZHVPnpmu-zi4kkNDXHjC-6">
1208 <mxGeometry relative="1" as="geometry">
1209 <mxPoint x="1280" y="405" as="targetPoint" />
1210 <Array as="points">
1211 <mxPoint x="1390" y="830" />
1212 <mxPoint x="1390" y="405" />
1213 </Array>
1214 </mxGeometry>
1215 </mxCell>
1216 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-16" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1217 <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" />
1218 </mxCell>
1219 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-18">
1220 <mxGeometry relative="1" as="geometry">
1221 <mxPoint x="680" y="960" as="targetPoint" />
1222 </mxGeometry>
1223 </mxCell>
1224 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-18" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1225 <mxGeometry x="620" y="810" width="120" height="40" as="geometry" />
1226 </mxCell>
1227 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20">
1228 <mxGeometry relative="1" as="geometry">
1229 <mxPoint x="540" y="960" as="targetPoint" />
1230 </mxGeometry>
1231 </mxCell>
1232 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-20" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1233 <mxGeometry x="480" y="810" width="120" height="40" as="geometry" />
1234 </mxCell>
1235 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-21" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1236 <mxGeometry x="900" y="810" width="120" height="40" as="geometry" />
1237 </mxCell>
1238 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-22" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1239 <mxGeometry x="760" y="810" width="120" height="40" as="geometry" />
1240 </mxCell>
1241 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1242 <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" />
1243 </mxCell>
1244 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-25" target="ZHVPnpmu-zi4kkNDXHjC-26">
1245 <mxGeometry relative="1" as="geometry">
1246 <mxPoint x="-145" y="-10" as="targetPoint" />
1247 </mxGeometry>
1248 </mxCell>
1249 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-25" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1250 <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" />
1251 </mxCell>
1252 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-26" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1253 <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" />
1254 </mxCell>
1255 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-8">
1256 <mxGeometry relative="1" as="geometry">
1257 <mxPoint x="520.09" y="-60" as="sourcePoint" />
1258 <mxPoint x="520" y="80" as="targetPoint" />
1259 <Array as="points" />
1260 </mxGeometry>
1261 </mxCell>
1262 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-28" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-26">
1263 <mxGeometry width="50" height="50" relative="1" as="geometry">
1264 <mxPoint x="320" y="-120" as="sourcePoint" />
1265 <mxPoint x="570" y="-110" as="targetPoint" />
1266 <Array as="points">
1267 <mxPoint x="120" y="-120" />
1268 <mxPoint x="120" />
1269 </Array>
1270 </mxGeometry>
1271 </mxCell>
1272 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-30">
1273 <mxGeometry relative="1" as="geometry">
1274 <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" />
1275 <mxPoint x="640" y="80" as="targetPoint" />
1276 <Array as="points" />
1277 </mxGeometry>
1278 </mxCell>
1279 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-30" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1280 <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" />
1281 </mxCell>
1282 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-31" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1283 <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" />
1284 </mxCell>
1285 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-45">
1286 <mxGeometry relative="1" as="geometry">
1287 <mxPoint x="898.95" y="-80" as="sourcePoint" />
1288 <mxPoint x="900" y="80" as="targetPoint" />
1289 <Array as="points" />
1290 </mxGeometry>
1291 </mxCell>
1292 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-46">
1293 <mxGeometry relative="1" as="geometry">
1294 <mxPoint x="1059.47" y="-80" as="sourcePoint" />
1295 <mxPoint x="1060" y="80" as="targetPoint" />
1296 <Array as="points" />
1297 </mxGeometry>
1298 </mxCell>
1299 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1300 <mxGeometry relative="1" as="geometry">
1301 <mxPoint x="1199.47" y="-80" as="sourcePoint" />
1302 <mxPoint x="1199" y="80" as="targetPoint" />
1303 <Array as="points" />
1304 </mxGeometry>
1305 </mxCell>
1306 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-35" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1307 <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" />
1308 </mxCell>
1309 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-26" target="ZHVPnpmu-zi4kkNDXHjC-37">
1310 <mxGeometry relative="1" as="geometry">
1311 <mxPoint y="310" as="targetPoint" />
1312 <mxPoint y="240" as="sourcePoint" />
1313 </mxGeometry>
1314 </mxCell>
1315 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1316 <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" />
1317 </mxCell>
1318 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-39">
1319 <mxGeometry relative="1" as="geometry">
1320 <mxPoint x="400" y="-80" as="sourcePoint" />
1321 <mxPoint x="400" y="80" as="targetPoint" />
1322 <Array as="points" />
1323 </mxGeometry>
1324 </mxCell>
1325 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-39" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1326 <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" />
1327 </mxCell>
1328 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-40" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1329 <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" />
1330 </mxCell>
1331 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1332 <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" />
1333 </mxCell>
1334 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1335 <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" />
1336 </mxCell>
1337 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-43" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1338 <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" />
1339 </mxCell>
1340 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-44" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1341 <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" />
1342 </mxCell>
1343 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-45" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1344 <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" />
1345 </mxCell>
1346 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-46" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1347 <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" />
1348 </mxCell>
1349 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-47" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1350 <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" />
1351 </mxCell>
1352 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-67" target="ZHVPnpmu-zi4kkNDXHjC-79">
1353 <mxGeometry relative="1" as="geometry" />
1354 </mxCell>
1355 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-50" target="ZHVPnpmu-zi4kkNDXHjC-52">
1356 <mxGeometry relative="1" as="geometry">
1357 <mxPoint x="320" y="730" as="targetPoint" />
1358 </mxGeometry>
1359 </mxCell>
1360 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-50" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1361 <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" />
1362 </mxCell>
1363 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-51" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52" target="ZHVPnpmu-zi4kkNDXHjC-79">
1364 <mxGeometry relative="1" as="geometry">
1365 <mxPoint x="440" y="730" as="sourcePoint" />
1366 </mxGeometry>
1367 </mxCell>
1368 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-52" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1369 <mxGeometry x="360" y="490" width="80" height="40" as="geometry" />
1370 </mxCell>
1371 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-53" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1372 <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" />
1373 </mxCell>
1374 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-54" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-63" target="ZHVPnpmu-zi4kkNDXHjC-67">
1375 <mxGeometry relative="1" as="geometry">
1376 <mxPoint x="512" y="320" as="sourcePoint" />
1377 <mxPoint x="560" y="580" as="targetPoint" />
1378 <Array as="points" />
1379 </mxGeometry>
1380 </mxCell>
1381 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-55" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-66">
1382 <mxGeometry relative="1" as="geometry">
1383 <mxPoint x="596.5" y="300" as="sourcePoint" />
1384 <mxPoint x="596.5" y="550" as="targetPoint" />
1385 </mxGeometry>
1386 </mxCell>
1387 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-64">
1388 <mxGeometry relative="1" as="geometry">
1389 <mxPoint x="870" y="300" as="sourcePoint" />
1390 <mxPoint x="870" y="550" as="targetPoint" />
1391 </mxGeometry>
1392 </mxCell>
1393 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-72">
1394 <mxGeometry relative="1" as="geometry">
1395 <mxPoint x="979.5" y="250" as="sourcePoint" />
1396 <mxPoint x="979.5" y="500" as="targetPoint" />
1397 </mxGeometry>
1398 </mxCell>
1399 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-73">
1400 <mxGeometry relative="1" as="geometry">
1401 <mxPoint x="1109" y="250" as="sourcePoint" />
1402 <mxPoint x="1109" y="500" as="targetPoint" />
1403 </mxGeometry>
1404 </mxCell>
1405 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-59" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-74">
1406 <mxGeometry relative="1" as="geometry">
1407 <mxPoint x="1219.5" y="300" as="sourcePoint" />
1408 <mxPoint x="1219.5" y="550" as="targetPoint" />
1409 </mxGeometry>
1410 </mxCell>
1411 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1412 <mxGeometry relative="1" as="geometry">
1413 <mxPoint x="779.29" y="440" as="sourcePoint" />
1414 <mxPoint x="779" y="610" as="targetPoint" />
1415 <Array as="points">
1416 <mxPoint x="779" y="520" />
1417 <mxPoint x="779" y="520" />
1418 </Array>
1419 </mxGeometry>
1420 </mxCell>
1421 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1422 <mxGeometry relative="1" as="geometry">
1423 <mxPoint x="979.41" y="350" as="sourcePoint" />
1424 <mxPoint x="980" y="610" as="targetPoint" />
1425 </mxGeometry>
1426 </mxCell>
1427 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-62" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1428 <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" />
1429 </mxCell>
1430 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-63" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1431 <mxGeometry x="360" y="80" width="880" height="220" as="geometry" />
1432 </mxCell>
1433 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-64" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1434 <mxGeometry x="830" y="410" width="80" height="40" as="geometry" />
1435 </mxCell>
1436 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-65" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1437 <mxGeometry x="740" y="410" width="80" height="40" as="geometry" />
1438 </mxCell>
1439 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-66" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1440 <mxGeometry x="557" y="410" width="80" height="40" as="geometry" />
1441 </mxCell>
1442 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-67" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1443 <mxGeometry x="472" y="410" width="80" height="40" as="geometry" />
1444 </mxCell>
1445 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-68" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1446 <mxGeometry relative="1" as="geometry">
1447 <mxPoint x="869.9499999999999" y="450" as="sourcePoint" />
1448 <mxPoint x="870" y="610" as="targetPoint" />
1449 <Array as="points">
1450 <mxPoint x="869.66" y="530" />
1451 <mxPoint x="869.66" y="530" />
1452 </Array>
1453 </mxGeometry>
1454 </mxCell>
1455 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-69" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-78">
1456 <mxGeometry relative="1" as="geometry">
1457 <mxPoint x="550" y="520" as="sourcePoint" />
1458 <mxPoint x="550" y="570" as="targetPoint" />
1459 <Array as="points">
1460 <mxPoint x="549.71" y="550" />
1461 <mxPoint x="549.71" y="550" />
1462 </Array>
1463 </mxGeometry>
1464 </mxCell>
1465 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-70" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1466 <mxGeometry relative="1" as="geometry">
1467 <mxPoint x="1109.41" y="350" as="sourcePoint" />
1468 <mxPoint x="1110" y="610" as="targetPoint" />
1469 </mxGeometry>
1470 </mxCell>
1471 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-71" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1472 <mxGeometry relative="1" as="geometry">
1473 <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" />
1474 <mxPoint x="1219" y="610" as="targetPoint" />
1475 <Array as="points">
1476 <mxPoint x="1219.12" y="530" />
1477 <mxPoint x="1219.12" y="530" />
1478 </Array>
1479 </mxGeometry>
1480 </mxCell>
1481 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-72" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1482 <mxGeometry x="920" y="360" width="120" height="40" as="geometry" />
1483 </mxCell>
1484 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-73" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1485 <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" />
1486 </mxCell>
1487 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-74" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1488 <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" />
1489 </mxCell>
1490 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-75" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1491 <mxGeometry x="920" y="410" width="120" height="40" as="geometry" />
1492 </mxCell>
1493 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-76" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1494 <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" />
1495 </mxCell>
1496 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-77" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1497 <mxGeometry relative="1" as="geometry">
1498 <mxPoint x="550" y="520" as="sourcePoint" />
1499 <mxPoint x="550" y="610" as="targetPoint" />
1500 <Array as="points" />
1501 </mxGeometry>
1502 </mxCell>
1503 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-78" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1504 <mxGeometry x="510" y="543" width="80" height="40" as="geometry" />
1505 </mxCell>
1506 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-79" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1507 <mxGeometry x="470" y="490" width="170" height="40" as="geometry" />
1508 </mxCell>
1509 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-80" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1510 <mxGeometry relative="1" as="geometry">
1511 <mxPoint x="539.41" y="720" as="sourcePoint" />
1512 <mxPoint x="539.41" y="810" as="targetPoint" />
1513 <Array as="points" />
1514 </mxGeometry>
1515 </mxCell>
1516 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-81" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1517 <mxGeometry relative="1" as="geometry">
1518 <mxPoint x="679.6" y="720" as="sourcePoint" />
1519 <mxPoint x="679.6" y="810" as="targetPoint" />
1520 <Array as="points" />
1521 </mxGeometry>
1522 </mxCell>
1523 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-82" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1524 <mxGeometry relative="1" as="geometry">
1525 <mxPoint x="820" y="720" as="sourcePoint" />
1526 <mxPoint x="820" y="810" as="targetPoint" />
1527 <Array as="points" />
1528 </mxGeometry>
1529 </mxCell>
1530 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-83" value="" style="group" vertex="1" connectable="0" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1531 <mxGeometry x="360" y="610" width="880" height="160" as="geometry" />
1532 </mxCell>
1533 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-84" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83">
1534 <mxGeometry relative="1" as="geometry">
1535 <mxPoint x="600" y="110" as="sourcePoint" />
1536 <mxPoint x="600" y="200" as="targetPoint" />
1537 <Array as="points" />
1538 </mxGeometry>
1539 </mxCell>
1540 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-85" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83">
1541 <mxGeometry relative="1" as="geometry">
1542 <mxPoint x="720" y="110" as="sourcePoint" />
1543 <mxPoint x="720" y="200" as="targetPoint" />
1544 <Array as="points" />
1545 </mxGeometry>
1546 </mxCell>
1547 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-86" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83">
1548 <mxGeometry width="880" height="160" as="geometry" />
1549 </mxCell>
1550 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-87" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83">
1551 <mxGeometry x="10" y="50" width="350" height="100" as="geometry" />
1552 </mxCell>
1553 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-88" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83">
1554 <mxGeometry x="375" y="50" width="495" height="100" as="geometry" />
1555 </mxCell>
1556 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-89" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52">
1557 <mxGeometry relative="1" as="geometry">
1558 <mxPoint x="-430" y="604.47" as="sourcePoint" />
1559 <mxPoint x="200" y="510" as="targetPoint" />
1560 <Array as="points">
1561 <mxPoint x="400" y="570" />
1562 <mxPoint x="200" y="570" />
1563 <mxPoint x="200" y="510" />
1564 </Array>
1565 </mxGeometry>
1566 </mxCell>
1567 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-90" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1568 <mxGeometry x="230" y="550" width="100" height="40" as="geometry" />
1569 </mxCell>
1570 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-91" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1571 <mxGeometry x="290" y="340" width="130" height="53" as="geometry" />
1572 </mxCell>
1573 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-92" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-91" target="ZHVPnpmu-zi4kkNDXHjC-91">
1574 <mxGeometry relative="1" as="geometry" />
1575 </mxCell>
1576 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-93" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1577 <mxGeometry relative="1" as="geometry">
1578 <mxPoint x="1079.38" y="850" as="sourcePoint" />
1579 <mxPoint x="1079.38" y="960" as="targetPoint" />
1580 </mxGeometry>
1581 </mxCell>
1582 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-94" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1583 <mxGeometry x="620" y="960" width="120" height="40" as="geometry" />
1584 </mxCell>
1585 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-95" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1586 <mxGeometry x="480" y="960" width="120" height="40" as="geometry" />
1587 </mxCell>
1588 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1589 <mxGeometry relative="1" as="geometry">
1590 <mxPoint x="760" y="-130" as="sourcePoint" />
1591 <mxPoint x="760" y="80" as="targetPoint" />
1592 <Array as="points" />
1593 </mxGeometry>
1594 </mxCell>
1595 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-97" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1596 <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" />
1597 </mxCell>
1598 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-98" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1599 <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" />
1600 </mxCell>
1601 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-99" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1602 <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" />
1603 </mxCell>
1604 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1605 <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" />
1606 </mxCell>
1607 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-101" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1608 <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" />
1609 </mxCell>
1610 <mxCell id="ZHVPnpmu-zi4kkNDXHjC-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1">
1611 <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" />
1612 </mxCell>
1613 </root>
1614 </mxGraphModel>
1615 </diagram>
1616 <diagram name="5. results-circuit" id="vOdGFxvcKQLxlt7TpMJr">
1617 <mxGraphModel dx="1850" dy="1092" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0">
1618 <root>
1619 <mxCell id="bshJnAdmZ42-ucYETjzj-0" />
1620 <mxCell id="bshJnAdmZ42-ucYETjzj-1" parent="bshJnAdmZ42-ucYETjzj-0" />
1621 <mxCell id="njsKSg5quu9oUWfDPbnt-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1622 <mxGeometry x="80" y="50" width="1170" height="530" as="geometry" />
1623 </mxCell>
1624 <mxCell id="EhFKpIqwLm2i5KqQf0Kn-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1625 <mxGeometry x="120" y="140" width="1090" height="360" as="geometry" />
1626 </mxCell>
1627 <mxCell id="w11Yu14kjo9wnOEZIBzt-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.9;entryY=-0.003;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-11" target="bshJnAdmZ42-ucYETjzj-63">
1628 <mxGeometry relative="1" as="geometry" />
1629 </mxCell>
1630 <mxCell id="bshJnAdmZ42-ucYETjzj-11" value="$$\text{stateRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1631 <mxGeometry x="1100" y="80" width="80" height="40" as="geometry" />
1632 </mxCell>
1633 <mxCell id="bshJnAdmZ42-ucYETjzj-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="bshJnAdmZ42-ucYETjzj-1" edge="1">
1634 <mxGeometry relative="1" as="geometry">
1635 <mxPoint x="505" y="1200" as="sourcePoint" />
1636 <mxPoint x="505" y="1200" as="targetPoint" />
1637 </mxGeometry>
1638 </mxCell>
1639 <mxCell id="bshJnAdmZ42-ucYETjzj-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1640 <mxGeometry x="940" y="520" width="80" height="40" as="geometry" />
1641 </mxCell>
1642 <mxCell id="bshJnAdmZ42-ucYETjzj-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1643 <mxGeometry x="150" y="80" width="50" height="40" as="geometry" />
1644 </mxCell>
1645 <mxCell id="w11Yu14kjo9wnOEZIBzt-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-46" target="w11Yu14kjo9wnOEZIBzt-0">
1646 <mxGeometry relative="1" as="geometry" />
1647 </mxCell>
1648 <mxCell id="bshJnAdmZ42-ucYETjzj-46" value="<div>$$\text{resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1649 <mxGeometry x="610" y="80" width="120" height="40" as="geometry" />
1650 </mxCell>
1651 <mxCell id="w11Yu14kjo9wnOEZIBzt-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-47" target="w11Yu14kjo9wnOEZIBzt-0">
1652 <mxGeometry relative="1" as="geometry" />
1653 </mxCell>
1654 <mxCell id="bshJnAdmZ42-ucYETjzj-47" value="<div>$$\text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1655 <mxGeometry x="470" y="80" width="120" height="40" as="geometry" />
1656 </mxCell>
1657 <mxCell id="bshJnAdmZ42-ucYETjzj-53" value="" style="text;whiteSpace=wrap;html=1;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1658 <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" />
1659 </mxCell>
1660 <mxCell id="32wBmxPFM4Aquibm1vis-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-63" target="bshJnAdmZ42-ucYETjzj-37">
1661 <mxGeometry relative="1" as="geometry">
1662 <mxPoint x="980" y="400" as="targetPoint" />
1663 </mxGeometry>
1664 </mxCell>
1665 <mxCell id="bshJnAdmZ42-ucYETjzj-63" value="<div align="center">Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br></div><div align="center">0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd</b>, 0x5 = <b>resultsAdd</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1666 <mxGeometry x="780" y="200" width="400" height="80" as="geometry" />
1667 </mxCell>
1668 <mxCell id="w11Yu14kjo9wnOEZIBzt-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.351;entryY=-0.006;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-97" target="bshJnAdmZ42-ucYETjzj-63">
1669 <mxGeometry relative="1" as="geometry" />
1670 </mxCell>
1671 <mxCell id="bshJnAdmZ42-ucYETjzj-97" value="<div>$$\text{MTProofs}_i \text{ for } \text{EPK, resultsSub, resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1672 <mxGeometry x="780" y="80" width="280" height="40" as="geometry" />
1673 </mxCell>
1674 <mxCell id="bshJnAdmZ42-ucYETjzj-99" value="DECRYPTION KEY CORRECTNESS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1675 <mxGeometry x="140" y="627.1800000000001" width="180" height="40" as="geometry" />
1676 </mxCell>
1677 <mxCell id="bshJnAdmZ42-ucYETjzj-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1678 <mxGeometry x="219.68" y="517.5" width="20" height="180" as="geometry" />
1679 </mxCell>
1680 <mxCell id="bshJnAdmZ42-ucYETjzj-101" value="RESULTS INTEGRITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1681 <mxGeometry x="760" y="627.1800000000001" width="420" height="40" as="geometry" />
1682 </mxCell>
1683 <mxCell id="bshJnAdmZ42-ucYETjzj-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1">
1684 <mxGeometry x="961.24" y="396.27" width="20" height="422.49" as="geometry" />
1685 </mxCell>
1686 <mxCell id="w11Yu14kjo9wnOEZIBzt-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.112;entryY=-0.025;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="32wBmxPFM4Aquibm1vis-2" target="w11Yu14kjo9wnOEZIBzt-1">
1687 <mxGeometry relative="1" as="geometry">
1688 <mxPoint x="365" y="200" as="targetPoint" />
1689 </mxGeometry>
1690 </mxCell>
1691 <mxCell id="32wBmxPFM4Aquibm1vis-2" value="$$ESK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1692 <mxGeometry x="340" y="80" width="50" height="40" as="geometry" />
1693 </mxCell>
1694 <mxCell id="w11Yu14kjo9wnOEZIBzt-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.907;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-0" target="w11Yu14kjo9wnOEZIBzt-1">
1695 <mxGeometry relative="1" as="geometry" />
1696 </mxCell>
1697 <mxCell id="w11Yu14kjo9wnOEZIBzt-0" value="<div>$$\text{encryptedResults} = \text{resultsAdd} - \text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1698 <mxGeometry x="460" y="200" width="280" height="40" as="geometry" />
1699 </mxCell>
1700 <mxCell id="w11Yu14kjo9wnOEZIBzt-1" value="<div>$$\text{results} = \text{Dec}_{ESK}(\text{encryptedResults})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1701 <mxGeometry x="340" y="320" width="230" height="40" as="geometry" />
1702 </mxCell>
1703 <mxCell id="w11Yu14kjo9wnOEZIBzt-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1">
1704 <mxGeometry relative="1" as="geometry">
1705 <mxPoint x="365" y="160" as="sourcePoint" />
1706 <mxPoint x="260" y="200" as="targetPoint" />
1707 <Array as="points">
1708 <mxPoint x="260" y="160" />
1709 </Array>
1710 </mxGeometry>
1711 </mxCell>
1712 <mxCell id="w11Yu14kjo9wnOEZIBzt-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-1">
1713 <mxGeometry relative="1" as="geometry">
1714 <mxPoint x="490" y="430" as="sourcePoint" />
1715 <mxPoint x="455" y="520" as="targetPoint" />
1716 </mxGeometry>
1717 </mxCell>
1718 <mxCell id="w11Yu14kjo9wnOEZIBzt-11" value="$$\text{results}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1719 <mxGeometry x="415" y="520" width="80" height="40" as="geometry" />
1720 </mxCell>
1721 <mxCell id="MAhqL2grAOHlyQJotUcC-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-41">
1722 <mxGeometry relative="1" as="geometry">
1723 <mxPoint x="175" y="330" as="targetPoint" />
1724 </mxGeometry>
1725 </mxCell>
1726 <mxCell id="MAhqL2grAOHlyQJotUcC-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="MAhqL2grAOHlyQJotUcC-0">
1727 <mxGeometry relative="1" as="geometry">
1728 <mxPoint x="260" y="330" as="targetPoint" />
1729 </mxGeometry>
1730 </mxCell>
1731 <mxCell id="MAhqL2grAOHlyQJotUcC-0" value="<div>$$scalarMul()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1732 <mxGeometry x="220" y="200" width="80" height="40" as="geometry" />
1733 </mxCell>
1734 <mxCell id="MAhqL2grAOHlyQJotUcC-5" value="<div>$$isEqual()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1735 <mxGeometry x="150" y="330" width="130" height="40" as="geometry" />
1736 </mxCell>
1737 <mxCell id="MAhqL2grAOHlyQJotUcC-6" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1738 <mxGeometry x="175" y="520" width="80" height="40" as="geometry" />
1739 </mxCell>
1740 <mxCell id="MAhqL2grAOHlyQJotUcC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" target="MAhqL2grAOHlyQJotUcC-6" source="MAhqL2grAOHlyQJotUcC-5">
1741 <mxGeometry relative="1" as="geometry">
1742 <mxPoint x="220" y="370" as="sourcePoint" />
1743 <mxPoint x="220" y="400" as="targetPoint" />
1744 </mxGeometry>
1745 </mxCell>
1746 <mxCell id="MAhqL2grAOHlyQJotUcC-8" value="RESULTS CALCULATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1747 <mxGeometry x="344" y="627.1800000000001" width="390" height="40" as="geometry" />
1748 </mxCell>
1749 <mxCell id="MAhqL2grAOHlyQJotUcC-9" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1">
1750 <mxGeometry x="529.06" y="408.13" width="20" height="398.75" as="geometry" />
1751 </mxCell>
1752 </root>
1753 </mxGraphModel>
1754 </diagram>
1755</mxfile>