arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/tally-algebra.mmd
v3-pq/figures/src/tally-algebra.mmdRaw
 1flowchart TD
 2  classDef pub fill:#d5e8d4,stroke:#82b366;
 3  classDef op fill:#dae8fc,stroke:#6c8ebf;
 4  A["public running total A[warden][field] =<br/>sum of all current slot vectors<br/>(each = a ballot's masked pieces<br/>+ sequencer blinding layers)"]:::pub
 5  A --> W1["warden 1: opens its lockboxes,<br/>checks commitments, strips its masks<br/>and the escrowed blinding —<br/>publishes partial sum S_1 + proof"]:::op
 6  A --> W2["warden 2: S_2 + proof"]:::op
 7  A --> W3["... any θ of the ν wardens"]:::op
 8  W1 --> P["θ points of ONE polynomial<br/>(sum of all counted ballots' polynomials,<br/>plus joint blinding that is 0 at x=0)"]:::pub
 9  W2 --> P
10  W3 --> P
11  P --> L["draw the unique curve through<br/>the θ points (Lagrange), read it at x = 0"]:::op
12  L --> T["value at zero = THE TALLY<br/>exact integer arithmetic: no decryption,<br/>no noise, no brute-force search"]:::pub