arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
docs(v3-pq): rewrite protocol intuition as self-contained + humanized

tested against three naive-reader rounds (PASS): cast-of-characters table,
worked 3-warden numeric example, who-sees-what box, blinding motivation,
honest quantum/integrity asterisk; figures updated to v1.4 semantics
(vote-journey added; timeline/tally-algebra/architecture-delta de-staled)
Pau Escrich p4u@dabax.net
Sat, 24 Oct 2026 08:24:36 +0000
commit

9cf8f4c212017d2483e29a0610db429122314d8c

parent

da8da00a305038426cc8b976892851f8269d21f7

M v3-pq/figures/architecture-delta.svg → v3-pq/figures/architecture-delta.svg

@@ -1,3 +1,3 @@

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1011px" height="834px" viewBox="0 0 1011 834"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="107" y="10" width="294" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 292px; height: 1px; padding-top: 47px; margin-left: 108px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ElGamal ballots<br />(BabyJubjub, Shor-breakable)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="663" y="10" width="284" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 282px; height: 1px; padding-top: 47px; margin-left: 664px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Shamir shares + PRF masks<br />(Goldilocks field)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="132" y="133" width="244" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 242px; height: 1px; padding-top: 170px; margin-left: 133px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Groth16 ballot proof<br />(BN254, trusted setup)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="657" y="133" width="295" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 293px; height: 1px; padding-top: 170px; margin-left: 658px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Plonky3 STARK<br />(browser WASM, transparent)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="112" y="256" width="285" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 283px; height: 1px; padding-top: 293px; margin-left: 113px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">DKG / council key ceremony<br />(shared BabyJubjub key)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="655" y="256" width="300" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 298px; height: 1px; padding-top: 293px; margin-left: 656px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Warden ML-KEM keys<br />(no shared key, no ceremony)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="139" y="379" width="230" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 416px; margin-left: 140px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Threshold decryption<br />+ BSGS search</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><rect x="664" y="379" width="281" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 279px; height: 1px; padding-top: 416px; margin-left: 665px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">θ warden sums + Lagrange<br />(exact, no decryption)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><rect x="101" y="502" width="306" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 304px; height: 1px; padding-top: 539px; margin-left: 102px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Re-encryption of stored ballots<br />(silent revoting)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><rect x="642" y="502" width="325" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 323px; height: 1px; padding-top: 539px; margin-left: 643px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Hash-chained opaque slot leaves<br />+ padded accumulator</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><rect x="129" y="635" width="251" height="54" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: rgb(248, 206, 204); stroke: rgb(184, 84, 80);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 249px; height: 1px; padding-top: 662px; margin-left: 130px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ECDSA voter signatures</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><rect x="620" y="625" width="369" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 367px; height: 1px; padding-top: 662px; margin-left: 621px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Hash-preimage proof inside the STARK<br />(CSP credentials: SLH-DSA)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><rect x="10" y="739" width="488" height="73" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 486px; height: 1px; padding-top: 776px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Unchanged: ZisK batch program, SHA-256 state SMT,<br />blob DA, process registry, permissionless sequencers</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="15"><g transform="translate(0.5,0.5)"><path d="M 401 47.23 Q 401 47.23 653.88 47.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 661.88 47.23 L 653.88 51.23 L 653.88 43.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 47px; margin-left: 532px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="16"><g transform="translate(0.5,0.5)"><path d="M 376 170.23 Q 376 170.23 647.88 170.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 655.88 170.23 L 647.88 174.23 L 647.88 166.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 170px; margin-left: 517px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="17"><g transform="translate(0.5,0.5)"><path d="M 397 293.23 Q 397 293.23 645.88 293.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 653.88 293.23 L 645.88 297.23 L 645.88 289.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 293px; margin-left: 526px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="18"><g transform="translate(0.5,0.5)"><path d="M 369 416.23 Q 369 416.23 654.88 416.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 662.88 416.23 L 654.88 420.23 L 654.88 412.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 416px; margin-left: 517px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="19"><g transform="translate(0.5,0.5)"><path d="M 407 539.23 Q 407 539.23 632.88 539.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 640.88 539.23 L 632.88 543.23 L 632.88 535.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 539px; margin-left: 525px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="20"><g transform="translate(0.5,0.5)"><path d="M 380 662 Q 380 662 610.88 662.22" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 618.88 662.23 L 610.88 666.22 L 610.89 658.22 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 662px; margin-left: 500px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; background-color: #E8E8E88D; white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>+<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="831px" height="844px" viewBox="0 0 831 844"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="51" y="0" width="273" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 271px; height: 1px; padding-top: 37px; margin-left: 52px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ElGamal ballots<br />(BabyJubjub, Shor-breakable)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="527" y="0" width="264" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 262px; height: 1px; padding-top: 37px; margin-left: 528px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Shamir shares + PRF masks<br />(Goldilocks field)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="77" y="123" width="221" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 219px; height: 1px; padding-top: 160px; margin-left: 78px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Groth16 ballot proof<br />(BN254, trusted setup)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="524" y="123" width="271" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 269px; height: 1px; padding-top: 160px; margin-left: 525px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Plonky3 STARK<br />(browser WASM, transparent)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="56" y="246" width="262" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 260px; height: 1px; padding-top: 283px; margin-left: 57px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">DKG / council key ceremony<br />(shared BabyJubjub key)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="524" y="246" width="271" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 269px; height: 1px; padding-top: 283px; margin-left: 525px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Warden ML-KEM keys<br />(no shared key, no ceremony)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="83" y="369" width="209" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 207px; height: 1px; padding-top: 406px; margin-left: 84px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Threshold decryption<br />+ BSGS search</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><rect x="532" y="369" width="254" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 252px; height: 1px; padding-top: 406px; margin-left: 533px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">θ warden sums + Lagrange<br />(exact, no decryption)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><rect x="49" y="502" width="277" height="73" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 275px; height: 1px; padding-top: 539px; margin-left: 50px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Re-encryption of stored ballots<br />(silent revoting)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><rect x="514" y="492" width="290" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 288px; height: 1px; padding-top: 539px; margin-left: 515px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Re-blinding of public slot vectors<br />(overwrites and refreshes<br />look identical)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><rect x="71" y="645" width="233" height="54" fill="#f8cecc" stroke="#b85450" pointer-events="all" style="fill: light-dark(rgb(248, 206, 204), rgb(81, 45, 43)); stroke: light-dark(rgb(184, 84, 80), rgb(215, 129, 126));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 231px; height: 1px; padding-top: 672px; margin-left: 72px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ECDSA voter signatures</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><rect x="489" y="635" width="340" height="73" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 338px; height: 1px; padding-top: 672px; margin-left: 490px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Hash-preimage proof inside the STARK<br />(CSP credentials: SLH-DSA)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><rect x="0" y="749" width="374" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 372px; height: 1px; padding-top: 796px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Unchanged: ZisK batch program, blob DA,<br />process registry, permissionless sequencers<br />(state tree re-hashed with Blake3)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="15"><g transform="translate(0.5,0.5)"><path d="M 324 37.23 Q 324 37.23 517.88 37.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 525.88 37.23 L 517.88 41.23 L 517.88 33.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 37px; margin-left: 426px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="16"><g transform="translate(0.5,0.5)"><path d="M 298 160.23 Q 298 160.23 514.88 160.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 522.88 160.23 L 514.88 164.23 L 514.88 156.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 160px; margin-left: 411px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="17"><g transform="translate(0.5,0.5)"><path d="M 318 283.23 Q 318 283.23 514.88 283.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 522.88 283.23 L 514.88 287.23 L 514.88 279.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 283px; margin-left: 421px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="18"><g transform="translate(0.5,0.5)"><path d="M 292 406.23 Q 292 406.23 522.88 406.23" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 530.88 406.23 L 522.88 410.23 L 522.88 402.23 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 406px; margin-left: 412px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="19"><g transform="translate(0.5,0.5)"><path d="M 326 539.23 Q 326 539.23 504.88 539.42" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 512.88 539.43 L 504.88 543.42 L 504.89 535.42 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 539px; margin-left: 420px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="20"><g transform="translate(0.5,0.5)"><path d="M 304 672 Q 304 672 479.88 672.22" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 487.88 672.23 L 479.88 676.22 L 479.89 668.22 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 672px; margin-left: 397px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">becomes</div></div></div></foreignObject></switch></g></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
M v3-pq/figures/src/architecture-delta.drawio → v3-pq/figures/src/architecture-delta.drawio

@@ -1,72 +1,72 @@

<mxfile host="Electron"> - <diagram id="S4F1yJwrE4aiwejdvWKP" name="pageWithNumber"> + <diagram id="mleOSZ0vbd41FN4AsYcr" name="pageWithNumber"> <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <UserObject label="ElGamal ballots&#xa;(BabyJubjub, Shor-breakable)" mermaidId="n:a1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="ElGamal ballots&#xa;(BabyJubjub, Shor-breakable)" id="2"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="294" x="105" y="8" as="geometry" /> + <mxGeometry height="73" width="273" x="59" y="8" as="geometry" /> </mxCell> </UserObject> <UserObject label="Shamir shares + PRF masks&#xa;(Goldilocks field)" mermaidId="n:b1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Shamir shares + PRF masks&#xa;(Goldilocks field)" id="3"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="284" x="661" y="8" as="geometry" /> + <mxGeometry height="73" width="264" x="535" y="8" as="geometry" /> </mxCell> </UserObject> <UserObject label="Groth16 ballot proof&#xa;(BN254, trusted setup)" mermaidId="n:a2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Groth16 ballot proof&#xa;(BN254, trusted setup)" id="4"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="244" x="130" y="131" as="geometry" /> + <mxGeometry height="73" width="221" x="85" y="131" as="geometry" /> </mxCell> </UserObject> <UserObject label="Plonky3 STARK&#xa;(browser WASM, transparent)" mermaidId="n:b2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Plonky3 STARK&#xa;(browser WASM, transparent)" id="5"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="295" x="655" y="131" as="geometry" /> + <mxGeometry height="73" width="271" x="532" y="131" as="geometry" /> </mxCell> </UserObject> <UserObject label="DKG / council key ceremony&#xa;(shared BabyJubjub key)" mermaidId="n:a3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="DKG / council key ceremony&#xa;(shared BabyJubjub key)" id="6"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="285" x="110" y="254" as="geometry" /> + <mxGeometry height="73" width="262" x="64" y="254" as="geometry" /> </mxCell> </UserObject> <UserObject label="Warden ML-KEM keys&#xa;(no shared key, no ceremony)" mermaidId="n:b3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Warden ML-KEM keys&#xa;(no shared key, no ceremony)" id="7"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="300" x="653" y="254" as="geometry" /> + <mxGeometry height="73" width="271" x="532" y="254" as="geometry" /> </mxCell> </UserObject> <UserObject label="Threshold decryption&#xa;+ BSGS search" mermaidId="n:a4" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Threshold decryption&#xa;+ BSGS search" id="8"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="230" x="137" y="377" as="geometry" /> + <mxGeometry height="73" width="209" x="91" y="377" as="geometry" /> </mxCell> </UserObject> <UserObject label="θ warden sums + Lagrange&#xa;(exact, no decryption)" mermaidId="n:b4" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="θ warden sums + Lagrange&#xa;(exact, no decryption)" id="9"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="281" x="662" y="377" as="geometry" /> + <mxGeometry height="73" width="254" x="540" y="377" as="geometry" /> </mxCell> </UserObject> <UserObject label="Re-encryption of stored ballots&#xa;(silent revoting)" mermaidId="n:a5" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Re-encryption of stored ballots&#xa;(silent revoting)" id="10"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="306" x="99" y="500" as="geometry" /> + <mxGeometry height="73" width="277" x="57" y="510" as="geometry" /> </mxCell> </UserObject> - <UserObject label="Hash-chained opaque slot leaves&#xa;+ padded accumulator" mermaidId="n:b5" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Hash-chained opaque slot leaves&#xa;+ padded accumulator" id="11"> + <UserObject label="Re-blinding of public slot vectors&#xa;(overwrites and refreshes&#xa;look identical)" mermaidId="n:b5" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Re-blinding of public slot vectors&#xa;(overwrites and refreshes&#xa;look identical)" id="11"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="325" x="640" y="500" as="geometry" /> + <mxGeometry height="93" width="290" x="522" y="500" as="geometry" /> </mxCell> </UserObject> <UserObject label="ECDSA voter signatures" mermaidId="n:a6" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="ECDSA voter signatures" id="12"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="54" width="251" x="127" y="633" as="geometry" /> + <mxGeometry height="54" width="233" x="79" y="653" as="geometry" /> </mxCell> </UserObject> <UserObject label="Hash-preimage proof inside the STARK&#xa;(CSP credentials: SLH-DSA)" mermaidId="n:b6" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Hash-preimage proof inside the STARK&#xa;(CSP credentials: SLH-DSA)" id="13"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="369" x="618" y="623" as="geometry" /> + <mxGeometry height="73" width="340" x="497" y="643" as="geometry" /> </mxCell> </UserObject> - <UserObject label="Unchanged: ZisK batch program, SHA-256 state SMT,&#xa;blob DA, process registry, permissionless sequencers" mermaidId="n:k1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Unchanged: ZisK batch program, SHA-256 state SMT,&#xa;blob DA, process registry, permissionless sequencers" id="14"> + <UserObject label="Unchanged: ZisK batch program, blob DA,&#xa;process registry, permissionless sequencers&#xa;(state tree re-hashed with Blake3)" mermaidId="n:k1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Unchanged: ZisK batch program, blob DA,&#xa;process registry, permissionless sequencers&#xa;(state tree re-hashed with Blake3)" id="14"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="73" width="488" x="8" y="737" as="geometry" /> + <mxGeometry height="93" width="374" x="8" y="757" as="geometry" /> </mxCell> </UserObject> <UserObject label="becomes" mermaidId="e:a1-&gt;b1#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0;entryY=0.51;" mermaidBaseValue="becomes" id="15">
M v3-pq/figures/src/architecture-delta.mmd → v3-pq/figures/src/architecture-delta.mmd

@@ -6,6 +6,6 @@ a1["ElGamal ballots<br/>(BabyJubjub, Shor-breakable)"]:::v2 -->|becomes| b1["Shamir shares + PRF masks<br/>(Goldilocks field)"]:::v3

a2["Groth16 ballot proof<br/>(BN254, trusted setup)"]:::v2 -->|becomes| b2["Plonky3 STARK<br/>(browser WASM, transparent)"]:::v3 a3["DKG / council key ceremony<br/>(shared BabyJubjub key)"]:::v2 -->|becomes| b3["Warden ML-KEM keys<br/>(no shared key, no ceremony)"]:::v3 a4["Threshold decryption<br/>+ BSGS search"]:::v2 -->|becomes| b4["θ warden sums + Lagrange<br/>(exact, no decryption)"]:::v3 - a5["Re-encryption of stored ballots<br/>(silent revoting)"]:::v2 -->|becomes| b5["Hash-chained opaque slot leaves<br/>+ padded accumulator"]:::v3 + a5["Re-encryption of stored ballots<br/>(silent revoting)"]:::v2 -->|becomes| b5["Re-blinding of public slot vectors<br/>(overwrites and refreshes<br/>look identical)"]:::v3 a6["ECDSA voter signatures"]:::v2 -->|becomes| b6["Hash-preimage proof inside the STARK<br/>(CSP credentials: SLH-DSA)"]:::v3 - k1["Unchanged: ZisK batch program, SHA-256 state SMT,<br/>blob DA, process registry, permissionless sequencers"]:::keep + k1["Unchanged: ZisK batch program, blob DA,<br/>process registry, permissionless sequencers<br/>(state tree re-hashed with Blake3)"]:::keep
M v3-pq/figures/src/tally-algebra.drawio → v3-pq/figures/src/tally-algebra.drawio

@@ -1,49 +1,49 @@

<mxfile host="Electron"> - <diagram id="xNBtwIUqAlUy2ogS_Odl" name="pageWithNumber"> + <diagram id="hNcCkWKlLxsp0wK7A4kb" name="pageWithNumber"> <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> - <UserObject label="public accumulator A[i][f] =&#xa;sum of masked shares of all admitted,&#xa;not-yet-consumed packages + batch pads&#xa;(excluded set X handled at tally)" mermaidId="n:A" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="public accumulator A[i][f] =&#xa;sum of masked shares of all admitted,&#xa;not-yet-consumed packages + batch pads&#xa;(excluded set X handled at tally)" id="2"> + <UserObject label="public running total A[warden][field] =&#xa;sum of all current slot vectors&#xa;(each = a ballot&#39;s masked pieces&#xa;+ sequencer blinding layers)" mermaidId="n:A" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="public running total A[warden][field] =&#xa;sum of all current slot vectors&#xa;(each = a ballot&#39;s masked pieces&#xa;+ sequencer blinding layers)" id="2"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="112" width="358" x="308" y="8" as="geometry" /> + <mxGeometry height="112" width="322" x="334" y="8" as="geometry" /> </mxCell> </UserObject> - <UserObject label="warden 1: decapsulate its K&#39;s,&#xa;check h commitments, subtract pads&#xa;publish blinded S_1 + ZisK proof" mermaidId="n:W1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="warden 1: decapsulate its K&#39;s,&#xa;check h commitments, subtract pads&#xa;publish blinded S_1 + ZisK proof" id="3"> + <UserObject label="warden 1: opens its lockboxes,&#xa;checks commitments, strips its masks&#xa;and the escrowed blinding —&#xa;publishes partial sum S_1 + proof" mermaidId="n:W1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="warden 1: opens its lockboxes,&#xa;checks commitments, strips its masks&#xa;and the escrowed blinding —&#xa;publishes partial sum S_1 + proof" id="3"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="320" x="8" y="170" as="geometry" /> + <mxGeometry height="112" width="328" x="8" y="170" as="geometry" /> </mxCell> </UserObject> <UserObject label="warden 2: S_2 + proof" mermaidId="n:W2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="warden 2: S_2 + proof" id="4"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="54" width="218" x="378" y="190" as="geometry" /> + <mxGeometry height="54" width="218" x="386" y="199" as="geometry" /> </mxCell> </UserObject> <UserObject label="... any θ of the ν wardens" mermaidId="n:W3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="... any θ of the ν wardens" id="5"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="54" width="239" x="646" y="190" as="geometry" /> + <mxGeometry height="54" width="239" x="654" y="199" as="geometry" /> </mxCell> </UserObject> - <UserObject label="θ points of ONE polynomial F + blinding G,&#xa;G(0)=0 so the result is unchanged;&#xa;F = sum of active voters polynomials" mermaidId="n:P" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="θ points of ONE polynomial F + blinding G,&#xa;G(0)=0 so the result is unchanged;&#xa;F = sum of active voters polynomials" id="6"> + <UserObject label="θ points of ONE polynomial&#xa;(sum of all counted ballots&#39; polynomials,&#xa;plus joint blinding that is 0 at x=0)" mermaidId="n:P" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="θ points of ONE polynomial&#xa;(sum of all counted ballots&#39; polynomials,&#xa;plus joint blinding that is 0 at x=0)" id="6"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="363" x="306" y="313" as="geometry" /> + <mxGeometry height="93" width="342" x="324" y="332" as="geometry" /> </mxCell> </UserObject> - <UserObject label="Lagrange interpolation at x = 0" mermaidId="n:L" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="Lagrange interpolation at x = 0" id="7"> + <UserObject label="draw the unique curve through&#xa;the θ points (Lagrange), read it at x = 0" mermaidId="n:L" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="draw the unique curve through&#xa;the θ points (Lagrange), read it at x = 0" id="7"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="54" width="277" x="349" y="456" as="geometry" /> + <mxGeometry height="73" width="336" x="327" y="475" as="geometry" /> </mxCell> </UserObject> - <UserObject label="F(0) = sum of active ballots = THE TALLY&#xa;exact field arithmetic: no decryption,&#xa;no noise, no discrete-log search" mermaidId="n:T" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="F(0) = sum of active ballots = THE TALLY&#xa;exact field arithmetic: no decryption,&#xa;no noise, no discrete-log search" id="8"> + <UserObject label="value at zero = THE TALLY&#xa;exact integer arithmetic: no decryption,&#xa;no noise, no brute-force search" mermaidId="n:T" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="value at zero = THE TALLY&#xa;exact integer arithmetic: no decryption,&#xa;no noise, no brute-force search" id="8"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="353" x="311" y="560" as="geometry" /> + <mxGeometry height="93" width="335" x="328" y="598" as="geometry" /> </mxCell> </UserObject> - <UserObject label="" mermaidId="e:A-&gt;W1#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.9;entryX=0.5;entryY=0;" mermaidBaseValue="" id="9"> - <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.9;entryX=0.5;entryY=0;" target="3"> + <UserObject label="" mermaidId="e:A-&gt;W1#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.86;entryX=0.5;entryY=0;" mermaidBaseValue="" id="9"> + <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0;exitY=0.86;entryX=0.5;entryY=0;" target="3"> <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="168" y="145" /> + <mxPoint x="172" y="145" /> </Array> </mxGeometry> </mxCell>

@@ -55,20 +55,20 @@ <Array as="points" />

</mxGeometry> </mxCell> </UserObject> - <UserObject label="" mermaidId="e:A-&gt;W3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.96;entryX=0.5;entryY=0;" mermaidBaseValue="" id="11"> - <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.96;entryX=0.5;entryY=0;" target="5"> + <UserObject label="" mermaidId="e:A-&gt;W3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.92;entryX=0.5;entryY=0;" mermaidBaseValue="" id="11"> + <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.92;entryX=0.5;entryY=0;" target="5"> <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="766" y="145" /> + <mxPoint x="774" y="145" /> </Array> </mxGeometry> </mxCell> </UserObject> - <UserObject label="" mermaidId="e:W1-&gt;P#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0;entryY=0.06;" mermaidBaseValue="" id="12"> - <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0;entryY=0.06;" target="6"> + <UserObject label="" mermaidId="e:W1-&gt;P#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0;entryY=0.1;" mermaidBaseValue="" id="12"> + <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=0;entryY=0.1;" target="6"> <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="168" y="288" /> + <mxPoint x="172" y="307" /> </Array> </mxGeometry> </mxCell>

@@ -80,11 +80,11 @@ <Array as="points" />

</mxGeometry> </mxCell> </UserObject> - <UserObject label="" mermaidId="e:W3-&gt;P#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=1;entryY=0;" mermaidBaseValue="" id="14"> - <mxCell edge="1" parent="1" source="5" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=1;entryY=0;" target="6"> + <UserObject label="" mermaidId="e:W3-&gt;P#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=1;entryY=0.03;" mermaidBaseValue="" id="14"> + <mxCell edge="1" parent="1" source="5" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=0.5;exitY=1;entryX=1;entryY=0.03;" target="6"> <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="766" y="288" /> + <mxPoint x="774" y="307" /> </Array> </mxGeometry> </mxCell>
M v3-pq/figures/src/tally-algebra.mmd → v3-pq/figures/src/tally-algebra.mmd

@@ -1,12 +1,12 @@

flowchart TD classDef pub fill:#d5e8d4,stroke:#82b366; classDef op fill:#dae8fc,stroke:#6c8ebf; - A["public accumulator A[i][f] =<br/>sum of masked shares of all admitted,<br/>not-yet-consumed packages + batch pads<br/>(excluded set X handled at tally)"]:::pub - A --> W1["warden 1: decapsulate its K's,<br/>check h commitments, subtract pads<br/>publish blinded S_1 + ZisK proof"]:::op + 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 + 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 A --> W2["warden 2: S_2 + proof"]:::op A --> W3["... any θ of the ν wardens"]:::op - W1 --> P["θ points of ONE polynomial F + blinding G,<br/>G(0)=0 so the result is unchanged;<br/>F = sum of active voters polynomials"]:::pub + W1 --> P["θ points of ONE polynomial<br/>(sum of all counted ballots' polynomials,<br/>plus joint blinding that is 0 at x=0)"]:::pub W2 --> P W3 --> P - P --> L["Lagrange interpolation at x = 0"]:::op - L --> T["F(0) = sum of active ballots = THE TALLY<br/>exact field arithmetic: no decryption,<br/>no noise, no discrete-log search"]:::pub + P --> L["draw the unique curve through<br/>the θ points (Lagrange), read it at x = 0"]:::op + L --> T["value at zero = THE TALLY<br/>exact integer arithmetic: no decryption,<br/>no noise, no brute-force search"]:::pub
M v3-pq/figures/src/timeline.drawio → v3-pq/figures/src/timeline.drawio

@@ -1,46 +1,46 @@

<mxfile host="Electron"> - <diagram id="CivAd8G_7ypzeduTa5ZY" name="pageWithNumber"> + <diagram id="eEVXJVgcyKH336i1-ZZH" name="pageWithNumber"> <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> - <UserObject label="VOTING&#xa;casting + batch settlement&#xa;(unchanged from v2)" mermaidId="n:V" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="VOTING&#xa;casting + batch settlement&#xa;(unchanged from v2)" id="2"> + <UserObject label="VOTING&#xa;casting + batch settlement&#xa;(wardens can file complaints&#xa;from day one — voters just revote)" mermaidId="n:V" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="VOTING&#xa;casting + batch settlement&#xa;(wardens can file complaints&#xa;from day one — voters just revote)" id="2"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="279" x="8" y="18" as="geometry" /> + <mxGeometry height="112" width="305" x="8" y="8" as="geometry" /> </mxCell> </UserObject> <UserObject label="GRACE WINDOW&#xa;pending batches settle&#xa;(unchanged from v2)" mermaidId="n:G" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="GRACE WINDOW&#xa;pending batches settle&#xa;(unchanged from v2)" id="3"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="244" x="337" y="18" as="geometry" /> + <mxGeometry height="93" width="220" x="363" y="18" as="geometry" /> </mxCell> </UserObject> - <UserObject label="accumulator frozen&#xa;as A_cast" mermaidId="n:F1" mermaidBaseStyle="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="accumulator frozen&#xa;as A_cast" id="4"> + <UserObject label="running total frozen&#xa;as A_cast" mermaidId="n:F1" mermaidBaseStyle="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="running total frozen&#xa;as A_cast" id="4"> <mxCell parent="1" style="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="63" width="192" x="631" y="33" as="geometry" /> + <mxGeometry height="63" width="174" x="633" y="33" as="geometry" /> </mxCell> </UserObject> - <UserObject label="COMPLAINT WINDOW (new)&#xa;wardens scan the blob archive,&#xa;file proven complaints against&#xa;malformed packages" mermaidId="n:CW" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="COMPLAINT WINDOW (new)&#xa;wardens scan the blob archive,&#xa;file proven complaints against&#xa;malformed packages" id="5"> + <UserObject label="COMPLAINT DEADLINE (new)&#xa;last chance for wardens to prove&#xa;a broken package on-chain&#xa;(all-warden waiver can close early)" mermaidId="n:CW" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="COMPLAINT DEADLINE (new)&#xa;last chance for wardens to prove&#xa;a broken package on-chain&#xa;(all-warden waiver can close early)" id="5"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="112" width="310" x="873" y="8" as="geometry" /> + <mxGeometry height="112" width="306" x="857" y="8" as="geometry" /> </mxCell> </UserObject> - <UserObject label="exclusion set X&#xa;frozen on-chain" mermaidId="n:F2" mermaidBaseStyle="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="exclusion set X&#xa;frozen on-chain" id="6"> + <UserObject label="exclusion list X&#xa;frozen on-chain" mermaidId="n:F2" mermaidBaseStyle="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="exclusion list X&#xa;frozen on-chain" id="6"> <mxCell parent="1" style="html=1;rounded=1;whiteSpace=wrap;arcSize=50;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="63" width="161" x="1233" y="33" as="geometry" /> + <mxGeometry height="63" width="147" x="1213" y="33" as="geometry" /> </mxCell> </UserObject> - <UserObject label="TALLY CEREMONY (new)&#xa;θ wardens: reconstruct batch-pad keys&#xa;+ revoked set R, run zero-blinding,&#xa;publish proven sum-shares S_i" mermaidId="n:TC" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="TALLY CEREMONY (new)&#xa;θ wardens: reconstruct batch-pad keys&#xa;+ revoked set R, run zero-blinding,&#xa;publish proven sum-shares S_i" id="7"> + <UserObject label="TALLY CEREMONY (new)&#xa;any θ wardens: open lockboxes,&#xa;recover the blinding keys the batches&#xa;escrowed, publish proven partial sums" mermaidId="n:TC" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="TALLY CEREMONY (new)&#xa;any θ wardens: open lockboxes,&#xa;recover the blinding keys the batches&#xa;escrowed, publish proven partial sums" id="7"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="112" width="372" x="1444" y="8" as="geometry" /> + <mxGeometry height="112" width="332" x="1410" y="8" as="geometry" /> </mxCell> </UserObject> - <UserObject label="RESULTS&#xa;anyone interpolates θ sums,&#xa;registry verifies proofs + records" mermaidId="n:RES" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="RESULTS&#xa;anyone interpolates θ sums,&#xa;registry verifies proofs + records" id="8"> + <UserObject label="RESULTS&#xa;contract draws the curve through&#xa;θ sums, reads it at zero" mermaidId="n:RES" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="RESULTS&#xa;contract draws the curve through&#xa;θ sums, reads it at zero" id="8"> <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> - <mxGeometry height="93" width="323" x="1866" y="18" as="geometry" /> + <mxGeometry height="93" width="293" x="1792" y="18" as="geometry" /> </mxCell> </UserObject> - <UserObject label="" mermaidId="e:V-&gt;G#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0;entryY=0.49;" mermaidBaseValue="" id="9"> - <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.49;entryX=0;entryY=0.49;" target="3"> + <UserObject label="" mermaidId="e:V-&gt;G#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.49;" mermaidBaseValue="" id="9"> + <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.49;" target="3"> <mxGeometry relative="1" as="geometry"> <Array as="points" /> </mxGeometry>
M v3-pq/figures/src/timeline.mmd → v3-pq/figures/src/timeline.mmd

@@ -2,9 +2,9 @@ flowchart LR

classDef ph fill:#dae8fc,stroke:#6c8ebf; classDef ev fill:#fff2cc,stroke:#d6b656; classDef fin fill:#d5e8d4,stroke:#82b366; - V["VOTING<br/>casting + batch settlement<br/>(unchanged from v2)"]:::ph --> G["GRACE WINDOW<br/>pending batches settle<br/>(unchanged from v2)"]:::ph - G --> F1(["accumulator frozen<br/>as A_cast"]):::ev - F1 --> CW["COMPLAINT WINDOW (new)<br/>wardens scan the blob archive,<br/>file proven complaints against<br/>malformed packages"]:::ph - CW --> F2(["exclusion set X<br/>frozen on-chain"]):::ev - F2 --> TC["TALLY CEREMONY (new)<br/>θ wardens: reconstruct batch-pad keys<br/>+ revoked set R, run zero-blinding,<br/>publish proven sum-shares S_i"]:::ph - TC --> RES["RESULTS<br/>anyone interpolates θ sums,<br/>registry verifies proofs + records"]:::fin + V["VOTING<br/>casting + batch settlement<br/>(wardens can file complaints<br/>from day one — voters just revote)"]:::ph --> G["GRACE WINDOW<br/>pending batches settle<br/>(unchanged from v2)"]:::ph + G --> F1(["running total frozen<br/>as A_cast"]):::ev + F1 --> CW["COMPLAINT DEADLINE (new)<br/>last chance for wardens to prove<br/>a broken package on-chain<br/>(all-warden waiver can close early)"]:::ph + CW --> F2(["exclusion list X<br/>frozen on-chain"]):::ev + F2 --> TC["TALLY CEREMONY (new)<br/>any θ wardens: open lockboxes,<br/>recover the blinding keys the batches<br/>escrowed, publish proven partial sums"]:::ph + TC --> RES["RESULTS<br/>contract draws the curve through<br/>θ sums, reads it at zero"]:::fin
A v3-pq/figures/src/vote-journey.drawio

@@ -0,0 +1,63 @@

+<mxfile host="Electron"> + <diagram id="lJnUZOkedmzYlhfG8Rlc" name="pageWithNumber"> + <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> + <root> + <mxCell id="0" /> + <mxCell id="1" parent="0" /> + <UserObject label="YOU (browser)&#xa;split ballot into ν pieces,&#xa;mask each, lock mask keys&#xa;into warden lockboxes,&#xa;prove it all correct" mermaidId="n:Y" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="YOU (browser)&#xa;split ballot into ν pieces,&#xa;mask each, lock mask keys&#xa;into warden lockboxes,&#xa;prove it all correct" id="2"> + <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> + <mxGeometry height="131" width="255" x="8" y="8" as="geometry" /> + </mxCell> + </UserObject> + <UserObject label="A SEQUENCER&#xa;checks the proof, bundles&#xa;many packages into a batch,&#xa;adds its own blinding,&#xa;proves the whole batch" mermaidId="n:S" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="A SEQUENCER&#xa;checks the proof, bundles&#xa;many packages into a batch,&#xa;adds its own blinding,&#xa;proves the whole batch" id="3"> + <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> + <mxGeometry height="131" width="264" x="432" y="8" as="geometry" /> + </mxCell> + </UserObject> + <UserObject label="ETHEREUM&#xa;contract verifies the proof,&#xa;blobs store your package,&#xa;your slot&#39;s blinded vector,&#xa;and the running total" mermaidId="n:E" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="ETHEREUM&#xa;contract verifies the proof,&#xa;blobs store your package,&#xa;your slot&#39;s blinded vector,&#xa;and the running total" id="4"> + <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> + <mxGeometry height="131" width="244" x="850" y="8" as="geometry" /> + </mxCell> + </UserObject> + <UserObject label="ANY θ WARDENS&#xa;open their lockboxes,&#xa;strip masks + blinding&#xa;from their column,&#xa;publish proven partial sums" mermaidId="n:W" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="ANY θ WARDENS&#xa;open their lockboxes,&#xa;strip masks + blinding&#xa;from their column,&#xa;publish proven partial sums" id="5"> + <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> + <mxGeometry height="131" width="255" x="1262" y="8" as="geometry" /> + </mxCell> + </UserObject> + <UserObject label="THE CONTRACT&#xa;draws the one curve through&#xa;the θ points, reads it at zero:&#xa;that number IS the result" mermaidId="n:R" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="THE CONTRACT&#xa;draws the one curve through&#xa;the θ points, reads it at zero:&#xa;that number IS the result" id="6"> + <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1"> + <mxGeometry height="112" width="263" x="1667" y="18" as="geometry" /> + </mxCell> + </UserObject> + <UserObject label="package + proof&#xa;(private channel)" mermaidId="e:Y-&gt;S#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="package + proof&#xa;(private channel)" id="7"> + <mxCell edge="1" parent="1" source="2" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="3"> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + </mxGeometry> + </mxCell> + </UserObject> + <UserObject label="batch proof +&#xa;published data" mermaidId="e:S-&gt;E#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="batch proof +&#xa;published data" id="8"> + <mxCell edge="1" parent="1" source="3" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="4"> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + </mxGeometry> + </mxCell> + </UserObject> + <UserObject label="after the election" mermaidId="e:E-&gt;W#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="after the election" id="9"> + <mxCell edge="1" parent="1" source="4" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="5"> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + </mxGeometry> + </mxCell> + </UserObject> + <UserObject label="θ partial sums" mermaidId="e:W-&gt;R#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="θ partial sums" id="10"> + <mxCell edge="1" parent="1" source="5" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="6"> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + </mxGeometry> + </mxCell> + </UserObject> + </root> + </mxGraphModel> + </diagram> +</mxfile>
A v3-pq/figures/src/vote-journey.mmd

@@ -0,0 +1,10 @@

+flowchart LR + classDef you fill:#d5e8d4,stroke:#82b366; + classDef mid fill:#dae8fc,stroke:#6c8ebf; + classDef chain fill:#fff2cc,stroke:#d6b656; + classDef end_ fill:#ffe6cc,stroke:#d79b00; + Y["YOU (browser)<br/>split ballot into ν pieces,<br/>mask each, lock mask keys<br/>into warden lockboxes,<br/>prove it all correct"]:::you + Y -->|"package + proof<br/>(private channel)"| S["A SEQUENCER<br/>checks the proof, bundles<br/>many packages into a batch,<br/>adds its own blinding,<br/>proves the whole batch"]:::mid + S -->|"batch proof +<br/>published data"| E["ETHEREUM<br/>contract verifies the proof,<br/>blobs store your package,<br/>your slot's blinded vector,<br/>and the running total"]:::chain + E -->|"after the election"| W["ANY θ WARDENS<br/>open their lockboxes,<br/>strip masks + blinding<br/>from their column,<br/>publish proven partial sums"]:::mid + W -->|"θ partial sums"| R["THE CONTRACT<br/>draws the one curve through<br/>the θ points, reads it at zero:<br/>that number IS the result"]:::end_
M v3-pq/figures/tally-algebra.svg → v3-pq/figures/tally-algebra.svg

@@ -1,3 +1,3 @@

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="909px" height="677px" viewBox="0 0 909 677"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="310" y="10" width="358" height="112" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 356px; height: 1px; padding-top: 66px; margin-left: 311px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">public accumulator A[i][f] =<br />sum of masked shares of all admitted,<br />not-yet-consumed packages + batch pads<br />(excluded set X handled at tally)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="10" y="172" width="320" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 318px; height: 1px; padding-top: 219px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">warden 1: decapsulate its K's,<br />check h commitments, subtract pads<br />publish blinded S_1 + ZisK proof</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="380" y="192" width="218" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 216px; height: 1px; padding-top: 219px; margin-left: 381px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">warden 2: S_2 + proof</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="648" y="192" width="239" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 237px; height: 1px; padding-top: 219px; margin-left: 649px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">... any θ of the ν wardens</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="308" y="315" width="363" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 361px; height: 1px; padding-top: 362px; margin-left: 309px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">θ points of ONE polynomial F + blinding G,<br />G(0)=0 so the result is unchanged;<br />F = sum of active voters polynomials</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="351" y="458" width="277" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 275px; height: 1px; padding-top: 485px; margin-left: 352px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Lagrange interpolation at x = 0</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="313" y="562" width="353" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 351px; height: 1px; padding-top: 609px; margin-left: 314px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">F(0) = sum of active ballots = THE TALLY<br />exact field arithmetic: no decryption,<br />no noise, no discrete-log search</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 310 110.8 Q 170 147 170 162.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 170 170.88 L 166 162.88 L 174 162.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 489 122 Q 489 122 489 182.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 489 190.88 L 485 182.88 L 493 182.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><path d="M 668 117.52 Q 768 147 767.6 182.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 767.51 190.88 L 763.6 182.84 L 771.6 182.93 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><path d="M 170 265 Q 170 290 299.1 318.61" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 306.91 320.34 L 298.23 322.51 L 299.96 314.7 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><path d="M 489 246 Q 489 246 489.43 305.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 489.49 313.88 L 485.43 305.91 L 493.43 305.85 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><path d="M 767.5 246 Q 768 290 679.83 312.72" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 672.08 314.72 L 678.83 308.85 L 680.83 316.6 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="15"><g transform="translate(0.5,0.5)"><path d="M 489.5 408 Q 489.5 408 489.5 448.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 489.5 456.88 L 485.5 448.88 L 493.5 448.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="16"><g transform="translate(0.5,0.5)"><path d="M 489.5 512 Q 489.5 512 489.5 552.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 489.5 560.88 L 485.5 552.88 L 493.5 552.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>+<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="887px" height="685px" viewBox="0 0 887 685"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="326" y="0" width="322" height="112" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 320px; height: 1px; padding-top: 56px; margin-left: 327px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">public running total A[warden][field] =<br />sum of all current slot vectors<br />(each = a ballot's masked pieces<br />+ sequencer blinding layers)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="0" y="162" width="328" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 326px; height: 1px; padding-top: 218px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">warden 1: opens its lockboxes,<br />checks commitments, strips its masks<br />and the escrowed blinding —<br />publishes partial sum S_1 + proof</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="378" y="191" width="218" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 216px; height: 1px; padding-top: 218px; margin-left: 379px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">warden 2: S_2 + proof</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="646" y="191" width="239" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 237px; height: 1px; padding-top: 218px; margin-left: 647px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">... any θ of the ν wardens</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="316" y="324" width="342" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 340px; height: 1px; padding-top: 371px; margin-left: 317px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">θ points of ONE polynomial<br />(sum of all counted ballots' polynomials,<br />plus joint blinding that is 0 at x=0)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="319" y="467" width="336" height="73" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 334px; height: 1px; padding-top: 504px; margin-left: 320px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">draw the unique curve through<br />the θ points (Lagrange), read it at x = 0</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="320" y="590" width="335" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 333px; height: 1px; padding-top: 637px; margin-left: 321px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">value at zero = THE TALLY<br />exact integer arithmetic: no decryption,<br />no noise, no brute-force search</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 326 96.32 Q 164 137 164 152.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 164 160.88 L 160 152.88 L 168 152.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 487 112 Q 487 112 487 181.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 487 189.88 L 483 181.88 L 491 181.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><path d="M 648 103.04 Q 766 137 765.58 181.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 765.51 189.88 L 761.58 181.85 L 769.58 181.92 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><path d="M 164 274 Q 164 299 307.11 331.29" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 314.91 333.05 L 306.23 335.19 L 307.99 327.39 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><path d="M 487 245 Q 487 245 487 314.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 487 322.88 L 483 314.88 L 491 314.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><path d="M 765.5 245 Q 766 299 666.83 324.52" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 659.08 326.51 L 665.83 320.64 L 667.83 328.39 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="15"><g transform="translate(0.5,0.5)"><path d="M 487 417 Q 487 417 487 457.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 487 465.88 L 483 457.88 L 491 457.88 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="16"><g transform="translate(0.5,0.5)"><path d="M 487 540 Q 487 540 487.41 580.88" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 487.49 588.88 L 483.41 580.92 L 491.41 580.84 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
M v3-pq/figures/timeline.svg → v3-pq/figures/timeline.svg

@@ -1,3 +1,3 @@

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="2213px" height="144px" viewBox="0 0 2213 144"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="10" y="20" width="279" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 277px; height: 1px; padding-top: 67px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">VOTING<br />casting + batch settlement<br />(unchanged from v2)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="339" y="20" width="244" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 242px; height: 1px; padding-top: 67px; margin-left: 340px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">GRACE WINDOW<br />pending batches settle<br />(unchanged from v2)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="633" y="35" width="192" height="63" rx="31.5" ry="31.5" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: rgb(255, 242, 204); stroke: rgb(214, 182, 86);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 190px; height: 1px; padding-top: 67px; margin-left: 634px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">accumulator frozen<br />as A_cast</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="875" y="10" width="310" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 308px; height: 1px; padding-top: 66px; margin-left: 876px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">COMPLAINT WINDOW (new)<br />wardens scan the blob archive,<br />file proven complaints against<br />malformed packages</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="1235" y="35" width="161" height="63" rx="31.5" ry="31.5" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: rgb(255, 242, 204); stroke: rgb(214, 182, 86);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 159px; height: 1px; padding-top: 67px; margin-left: 1236px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">exclusion set X<br />frozen on-chain</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="1446" y="10" width="372" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: rgb(218, 232, 252); stroke: rgb(108, 142, 191);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 370px; height: 1px; padding-top: 66px; margin-left: 1447px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TALLY CEREMONY (new)<br />θ wardens: reconstruct batch-pad keys<br />+ revoked set R, run zero-blinding,<br />publish proven sum-shares S_i</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="1868" y="20" width="323" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: rgb(213, 232, 212); stroke: rgb(130, 179, 102);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 321px; height: 1px; padding-top: 67px; margin-left: 1869px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">RESULTS<br />anyone interpolates θ sums,<br />registry verifies proofs + records</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 289 65.57 Q 289 65.57 329.88 65.57" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 337.88 65.57 L 329.88 69.57 L 329.88 61.57 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 583 65.57 Q 583 65.57 623.88 65.82" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 631.88 65.86 L 623.86 69.82 L 623.91 61.82 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><path d="M 825 65.87 Q 825 65.87 865.88 65.98" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 873.88 66 L 865.87 69.98 L 865.89 61.98 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><path d="M 1185 66 Q 1185 66 1225.88 65.89" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 1233.88 65.87 L 1225.89 69.89 L 1225.87 61.89 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><path d="M 1396 65.87 Q 1396 65.87 1436.88 65.98" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 1444.88 66 L 1436.87 69.98 L 1436.89 61.98 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><path d="M 1818 66 Q 1818 66 1858.88 65.65" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(51, 51, 51);"/><path d="M 1866.88 65.58 L 1858.92 69.65 L 1858.85 61.65 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(51, 51, 51); stroke: rgb(51, 51, 51);"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>+<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="2079px" height="114px" viewBox="0 0 2079 114"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="0" y="0" width="305" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 303px; height: 1px; padding-top: 56px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">VOTING<br />casting + batch settlement<br />(wardens can file complaints<br />from day one — voters just revote)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="355" y="10" width="220" height="93" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 218px; height: 1px; padding-top: 57px; margin-left: 356px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">GRACE WINDOW<br />pending batches settle<br />(unchanged from v2)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="625" y="25" width="174" height="63" rx="31.5" ry="31.5" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: light-dark(rgb(255, 242, 204), rgb(40, 29, 0)); stroke: light-dark(rgb(214, 182, 86), rgb(109, 81, 0));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 172px; height: 1px; padding-top: 57px; margin-left: 626px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">running total frozen<br />as A_cast</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="849" y="0" width="306" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 304px; height: 1px; padding-top: 56px; margin-left: 850px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">COMPLAINT DEADLINE (new)<br />last chance for wardens to prove<br />a broken package on-chain<br />(all-warden waiver can close early)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="1205" y="25" width="147" height="63" rx="31.5" ry="31.5" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: light-dark(rgb(255, 242, 204), rgb(40, 29, 0)); stroke: light-dark(rgb(214, 182, 86), rgb(109, 81, 0));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 145px; height: 1px; padding-top: 57px; margin-left: 1206px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">exclusion list X<br />frozen on-chain</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><rect x="1402" y="0" width="332" height="112" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 330px; height: 1px; padding-top: 56px; margin-left: 1403px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TALLY CEREMONY (new)<br />any θ wardens: open lockboxes,<br />recover the blinding keys the batches<br />escrowed, publish proven partial sums</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><rect x="1784" y="10" width="293" height="93" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 291px; height: 1px; padding-top: 57px; margin-left: 1785px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">RESULTS<br />contract draws the curve through<br />θ sums, reads it at zero</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 305 56 Q 305 56 345.88 55.65" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 353.88 55.58 L 345.92 59.65 L 345.85 51.65 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 575 55.57 Q 575 55.57 615.88 55.82" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 623.88 55.86 L 615.86 59.82 L 615.91 51.82 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><path d="M 799 55.87 Q 799 55.87 839.88 55.98" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 847.88 56 L 839.87 59.98 L 839.89 51.98 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="12"><g transform="translate(0.5,0.5)"><path d="M 1155 56 Q 1155 56 1195.88 55.89" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1203.88 55.87 L 1195.89 59.89 L 1195.87 51.89 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="13"><g transform="translate(0.5,0.5)"><path d="M 1352 55.87 Q 1352 55.87 1392.88 55.98" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1400.88 56 L 1392.87 59.98 L 1392.89 51.98 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g><g data-cell-id="14"><g transform="translate(0.5,0.5)"><path d="M 1734 56 Q 1734 56 1774.88 55.65" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1782.88 55.58 L 1774.92 59.65 L 1774.85 51.65 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
A v3-pq/figures/vote-journey.svg

@@ -0,0 +1,3 @@

+<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1924px" height="133px" viewBox="0 0 1924 133"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="0" y="0" width="255" height="131" fill="#d5e8d4" stroke="#82b366" pointer-events="all" style="fill: light-dark(rgb(213, 232, 212), rgb(31, 47, 30)); stroke: light-dark(rgb(130, 179, 102), rgb(68, 110, 44));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 253px; height: 1px; padding-top: 66px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">YOU (browser)<br />split ballot into ν pieces,<br />mask each, lock mask keys<br />into warden lockboxes,<br />prove it all correct</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="424" y="0" width="264" height="131" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 262px; height: 1px; padding-top: 66px; margin-left: 425px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">A SEQUENCER<br />checks the proof, bundles<br />many packages into a batch,<br />adds its own blinding,<br />proves the whole batch</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><rect x="842" y="0" width="244" height="131" fill="#fff2cc" stroke="#d6b656" pointer-events="all" style="fill: light-dark(rgb(255, 242, 204), rgb(40, 29, 0)); stroke: light-dark(rgb(214, 182, 86), rgb(109, 81, 0));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 242px; height: 1px; padding-top: 66px; margin-left: 843px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ETHEREUM<br />contract verifies the proof,<br />blobs store your package,<br />your slot's blinded vector,<br />and the running total</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><rect x="1254" y="0" width="255" height="131" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all" style="fill: light-dark(rgb(218, 232, 252), rgb(29, 41, 59)); stroke: light-dark(rgb(108, 142, 191), rgb(92, 121, 163));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 253px; height: 1px; padding-top: 66px; margin-left: 1255px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">ANY θ WARDENS<br />open their lockboxes,<br />strip masks + blinding<br />from their column,<br />publish proven partial sums</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><rect x="1659" y="10" width="263" height="112" fill="#ffe6cc" stroke="#d79b00" pointer-events="all" style="fill: light-dark(rgb(255, 230, 204), rgb(54, 33, 10)); stroke: light-dark(rgb(215, 155, 0), rgb(153, 101, 0));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 261px; height: 1px; padding-top: 66px; margin-left: 1660px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">THE CONTRACT<br />draws the one curve through<br />the θ points, reads it at zero:<br />that number IS the result</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><path d="M 255 65.5 Q 255 65.5 414.88 65.5" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 422.88 65.5 L 414.88 69.5 L 414.88 61.5 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 66px; margin-left: 340px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">package + proof<br />(private channel)</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><path d="M 688 65.5 Q 688 65.5 832.88 65.5" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 840.88 65.5 L 832.88 69.5 L 832.88 61.5 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 66px; margin-left: 765px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">batch proof +<br />published data</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 1086 65.5 Q 1086 65.5 1244.88 65.5" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1252.88 65.5 L 1244.88 69.5 L 1244.88 61.5 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 66px; margin-left: 1170px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">after the election</div></div></div></foreignObject></switch></g></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 1509 65.5 Q 1509 65.5 1649.88 65.97" fill="none" stroke="#333333" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/><path d="M 1657.88 66 L 1649.87 69.97 L 1649.9 61.97 Z" fill="#333333" stroke="#333333" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(51, 51, 51), rgb(204, 204, 204)); stroke: light-dark(rgb(51, 51, 51), rgb(204, 204, 204));"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 66px; margin-left: 1584px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #333333; background-color: #E8E8E88D; "><div style="display: inline-block; font-size: 16px; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; color: light-dark(#333333, #cccccc); line-height: 1.2; pointer-events: all; background-color: light-dark(#E8E8E88D, #2a2a2a8D); white-space: nowrap; ">θ partial sums</div></div></div></foreignObject></switch></g></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
M v3-pq/spec.md → v3-pq/spec.md

@@ -58,71 +58,176 @@ ---

## Protocol intuition — read this first -*A plain-English walkthrough of a v3 election, phase by phase, mapped onto the v2 flow you -already know. Every term used loosely here gets a precise definition from §2 onward; the -jargon cheat-sheet is §2.4.* +*This walkthrough is self-contained: you need no prior DAVINCI knowledge. Every term used +loosely here gets a precise definition from §2 onward; the jargon cheat-sheet is §2.4. +Readers who know v2 will recognize the shape — the deltas are marked "(v2: …)".* + +### The cast + +| Who | What they do | What you have to trust them with | +|---|---|---| +| **You, the voter** | vote from a browser; revote whenever you like | your own device | +| **The organizer** | creates the election: the **census** (the list of eligible voters and their voting weights), the ballot rules, the schedule — and picks which registered wardens form the committee | getting the voter list right, and choosing a committee worth trusting (the privacy guarantee below traces to that choice) | +| **ν key wardens** (say 5) | a committee; each publishes a post-quantum "lockbox" public key up front — anyone can lock a small secret so that only that warden can open it. After the election, any **θ** of them (say 3) jointly produce the result | privacy only: fewer than θ of them must stay honest. They cannot change the result — nobody can. (If fewer than θ show up at the end, the result cannot be produced — the standard committee trade-off) | +| **Sequencers** | anyone who wants to run one (permissionless). They collect votes, bundle them into **batches**, and *settle* each batch — publish it to Ethereum with a cryptographic proof that every rule was followed | nothing for correctness (the proof is checked by the contract). The one you submit to learns when you revote, and could ignore you — in which case you just switch to another; no sequencer can block the election | +| **The smart contract** | the referee's referee on Ethereum: verifies every proof, stores the public state, and at the end computes the result itself | it's Ethereum — the usual assumptions | +| **Observers** | anyone. All published data is enough to replay and re-check the whole election | — | + +Each eligible voter owns one fixed **slot** — a position in the public state that holds their +current (hidden) vote. Revoting just writes your slot again; the last write before closing +counts. Revoting is a feature, not an edge case: it is what lets a pressured or coerced voter +quietly change their vote later. (v2 had the same census, slots, sequencers and contract.) + +### The trick, with tiny numbers + +Everything rests on one 1979-vintage idea — Shamir secret sharing — plus the observation +that *shares add up*. Suppose θ=2, ν=3, and all arithmetic is modulo some large prime. + +- **Alice votes 1.** Her browser picks a random line through her vote: + $f_A(x) = 1 + 4x$. Her three *shares* are $f_A(1)=5$, $f_A(2)=9$, $f_A(3)=13$ — one per + warden. Any two shares pin down the line and reveal $f_A(0)=1$. One share alone says + *nothing*: for every possible vote $v$ there is a line through $(0, v)$ and $(1, 5)$, so + the share 5 is perfectly consistent with Alice voting 0, 1, or anything else. +- **Bob votes 0.** His line: $f_B(x) = 0 + 2x$. Shares: 2, 4, 6. +- Shares are never shown in the clear. Alice hides each one under a **mask** — a random + number only warden $i$ will be able to recompute, because its key is locked in that + warden's lockbox. Say her masks are 20, 50, 70: she publishes 25, 59, 83. Bob's masks are + 10, 30, 40: he publishes 12, 34, 46. To everyone else these six numbers are pure static. +- The public **running total** per warden is just the sum of published numbers: + warden 1: 37, warden 2: 93, warden 3: 129. +- **After the election**, warden 1 opens its lockboxes, recomputes its two masks + (20 and 10), and subtracts: $37 - 30 = 7$. Warden 2: $93 - 80 = 13$. Those are points of + the *sum* line $F(x) = f_A(x) + f_B(x) = 1 + 6x$: indeed $F(1)=7$, $F(2)=13$. The + contract draws the line through $(1,7)$ and $(2,13)$ and reads it at zero: $F(0) = 1$. + **One yes-vote — and no group of fewer than θ wardens can ever tell whose.** (Warden 1 + did learn one point of each voter's line along the way — which, as above, is consistent + with any vote.) + +Two footnotes to keep the example honest. Real elections use a huge prime modulus, so +"random-looking" means genuinely indistinguishable from noise — the small numbers here are +for readability. And a real ballot is a short *vector* of numbers (one per option — "rate 5 +candidates" is five values; voting weights scale them under the election's rules); everything +shown here just happens once per position, and the result is a vector of per-option totals. + +No warden ever learns a ballot (one share is noise). No decryption key for "the votes" +exists anywhere, so there is nothing to steal, leak, or break — short of θ wardens +colluding, which is the same committee-trust every threshold scheme has. That's the whole +protocol; the rest is making every step *provable* so nobody has to be trusted for +correctness. -**Setup.** The organizer creates the election exactly as in v2 — census, ballot rules, -duration. One thing changed: instead of waiting for a key ceremony, the organizer points at a -committee of ν key wardens (say 5, or 16), each of which has already published a post-quantum -"lockbox" public key: anyone can lock a small secret so that only that warden can open it. -There is **no election encryption key** — nothing is generated jointly, and v2's whole DKG -phase is simply gone. +![The life of one vote](figures/vote-journey.svg) -**Casting.** The voter's browser takes each ballot value and splits it into ν puzzle pieces, -one per warden, using the Shamir trick: any θ pieces (the *threshold* — e.g. 3 of 5) fit -together to reconstruct the value, while θ−1 or fewer are pure noise that says nothing at -all. The browser then hides each piece under a one-time mask (a random-looking number added -to it), locks each mask key into the matching warden's lockbox, and attaches a STARK proof — -generated right there in the browser — that the whole construction is consistent: the pieces -encode one valid ballot that follows the election rules, the masks match their commitments, -and the voter is who they claim to be. The published vote (a *package*) is just masked -pieces + locked boxes + commitments. Everything visible is noise; nothing about the choice -can be read from it, now or ever, by anything short of θ wardens cooperating. +### The same story, phase by phase -**Voting period.** Sequencers collect packages and settle batches with a zkVM proof, as in -v2. Each voter's slot holds a public **blinded vector** — the voter's masked pieces, buried -under extra blinding that the sealing sequencer adds. Every batch touches a set of slots and -publishes each one's new vector, and **an overwrite (a revote) and a routine refresh publish -exactly the same kind of record** — fresh-looking numbers either way, so an outside observer -cannot tell who revoted. This is v2's silent revoting, achieved by blinding instead of -re-encryption: in v2 the sequencer re-encrypted stored ciphertexts; here it re-blinds stored -share vectors. The public **running total** is simply the sum of all current slot vectors — -public yet unreadable, updated by each slot's published delta. There are no nullifiers and -no "spend" objects: replacing your ballot is just writing your slot again, exactly as in v2. +**Setup.** The organizer registers the election on the contract: census, ballot rules, +schedule, and which ν registered wardens form the committee. That's it — because wardens' +lockbox keys already exist, there is **no key-generation ceremony and no election +encryption key**. (v2 ran a distributed key generation — DKG — to create a shared key +before every election; that whole phase is gone.) + +**Casting.** Your browser splits each ballot value into ν shares, masks them, locks the +mask keys into the wardens' lockboxes, and — right there in the browser — generates a +zero-knowledge proof (a STARK: a proof made only of hashes, no trusted setup) that the +whole construction is honest: the shares encode one valid ballot that follows the election +rules, the masks match their commitments, and you hold the secret key behind your voter +identity — a hash-based key, itself post-quantum (elections may *additionally* accept +classical wallet signatures during migration, §11) — while the batch step below checks that +identity against the census and your slot. +The *package* you send — masked shares, locked boxes, commitments — goes to a +sequencer of your choice over a private channel, proof attached. If you don't trust your +own browser, you can demand it open any candidate package for inspection on a second +device, then discard it and cast a fresh one (§5.2) — a cheating client gets caught. + +**Voting period.** Sequencers verify incoming proofs, bundle packages into batches, and +settle each batch: the contract accepts it only with a proof that *every* rule was followed +(this proof is produced by a zkVM — a virtual machine whose entire execution is provable). +The bulky data — packages and slot vectors — rides along in Ethereum *blobs*, cheap bulk +storage attached to the transaction; the contract itself keeps only tiny commitments and +the verified state. + +Your slot then holds a public **blinded vector**: your masked shares with an extra layer of +blinding added by the sequencer. Why the extra layer? Consider revoting without it: your +slot's numbers would change from your old package's numbers to your new package's — and +since packages are public, anyone could match the change and see you revoted. So the +sequencer re-blinds — and, crucially, each batch *also* re-blinds a sample of slots whose +owners did nothing, **sized by protocol rule so that revotes don't stand alone** (a single +overwrite travels with sixteen look-alike refreshes — or as many as there are other occupied +slots; in a nearly-empty election there is little crowd to hide in, as in v2). The result: +**a revote +and a routine "refresh" publish byte-identical +kinds of records.** Fresh-looking numbers either way; an observer sees *that* slots changed, +never *which* of the changes were revotes — the hiding is among the batch's touched slots, +which is exactly why the sample rule exists. (v2 achieved the same by re-encrypting stored +ciphertexts; v3 re-blinds stored +vectors — no encryption needed.) A revote's batch simply subtracts the slot's old vector and +adds the new one — the published delta — so the old ballot leaves the total the moment the +new one enters. The blinding isn't lost: every batch leaves the committee a +sealed note — its key split θ-of-ν across the wardens, the same Shamir trick again — +recording which updates were real and how to remove +the blinding at tally time. The running total is the sum of all current slot vectors: +public, continuously updated, and unreadable. -**End of election.** After the grace window come two short new phases: first the -**complaint deadline** — any warden that finds a broken package (a lockbox that doesn't open -to what was promised) can prove that on-chain and have the package excluded, **at any time -from the moment the package settles** (so a voter with a buggy client finds out early and -simply revotes); the deadline is the last moment to do it — then the exclusion list freezes. +**End of election.** Casting closes; a short *grace window* lets in-flight batches land; +the running total freezes. Then one new deadline (new vs v2): the **complaint deadline**. +Why it exists: the browser's proof checks everything it can see, but it deliberately cannot +look *inside* the lockboxes (proving post-quantum encryption in-proof is the one expensive +step this design avoids). So if some package's lockbox doesn't open to what was promised — +a buggy or malicious client — +the affected warden proves that on-chain and the package is excluded from the count. A +complaint is itself a proof, so a warden cannot abuse it to exclude an honest vote. +Wardens can file complaints *from the moment a package lands*, so an honest voter with a +broken client finds out while voting is still open and simply revotes. The deadline is the +last moment to complain; then the exclusion list freezes. (If all ν wardens attest early +that they're done checking, results can start immediately.) -![Election timeline: the two new phases before results](figures/timeline.svg) +![Election timeline: the phases before results](figures/timeline.svg) -**Results.** Any θ wardens now each do one job: open all their lockboxes, strip the masks — -their own per-ballot masks and the sequencers' blinding layers, whose keys every batch proof -escrowed to the committee — off their column of the frozen running total, and publish the -resulting **partial sum** — with a proof that they did exactly that and nothing else. The punchline: those θ -partial sums are θ points on a single polynomial, and that polynomial's value at zero *is* -the exact election result. The smart contract draws the unique curve through the θ points and -reads it at zero — ordinary integer math, done on-chain. No shared-key decryption ever -happens — there is no shared key to decrypt with (each warden only ever opens its own -lockboxes). +**Results.** Any θ wardens each do one job: open their lockboxes, strip their masks and the +sequencers' blinding off *their own column* of the frozen total, and publish the resulting +**partial sum** — with a proof that they did exactly that and nothing else. The θ partial +sums are θ points on a single polynomial, and its value at zero *is* the election result. +The contract draws the curve and reads it off — ordinary modular integer arithmetic (the +same "mod a large prime" as the example), on-chain, exact. +(v2 ended with a threshold *decryption* plus a brute-force search to extract the number; +v3's ending is the schoolbook interpolation you saw above.) ![How the tally emerges from θ partial sums](figures/tally-algebra.svg) -What this buys you: -- **There is no *shared* election decryption key.** (Threshold-shared *batch-payload* keys do exist and are reconstructed at tally — §8.5/§10.4 — but no key ever decrypts the ballot aggregate.) Not distributed as an election key, that is — - it does not exist, and neither does the key-generation ceremony that managed it in v2 - (wardens keep ordinary per-warden lockbox keys, and tally time still has its own - coordinated ceremony — §10). -- **Harvest-now-decrypt-later is dead below θ wardens.** The published pieces are - information-theoretic noise; the only cryptography protecting them is the lockboxes - (ML-KEM) and hashes — both post-quantum. -- **Every step is proof-checked** — browser proof, batch proof, warden proofs — so voters, - sequencers and wardens are checked, not trusted, for correctness. -- **The tally is exact integer arithmetic.** No decryption failures, no noise budgets, no - brute-force search at the end. +### Who sees what — plainly + +- **The public / an observer**: all packages, all blinded vectors, the running total, which + slots changed and when, turnout, the complaint list, the result. Never a ballot, and + never whether a change was a revote or a refresh. +- **Your sequencer**: that *you* (your slot) revoted in the batches it sealed — the same + thing the vote-collecting server inevitably sees in v2. Never your ballot or shares. +- **Fewer than θ wardens, even colluding, even with quantum computers, even in 30 years + from archived data**: each holds shares that are individually pure noise — nothing. (To be + exact: below θ *raw shares* the protection is pure math; the *archived masked data* is + additionally guarded by one computational assumption — the ML-KEM lockboxes, a + post-quantum lattice scheme. That is the single lock a future cryptanalyst would have to + break.) +- **θ or more colluding wardens**: can reconstruct individual ballots (every threshold + voting system has exactly this boundary) and, at tally time, jointly learn which slot + updates were revotes. Choose the committee accordingly. + +### What this buys you + +- **Nothing to harvest.** The quantum "harvest now, decrypt later" attack dies below θ + wardens: published shares are information-theoretic noise, and the only cryptography + guarding the mask keys is lockboxes (ML-KEM) and hashes — both post-quantum. (v2's + published ElGamal ciphertexts fall to a future quantum computer retroactively.) +- **No shared decryption key exists** — not held by anyone, not generated, not reconstructable. + Each warden has only its own ordinary keypair. The tally still takes one coordinated + round among θ wardens (opening the batches' sealed notes together), but no step of it + ever produces a key that decrypts ballots. +- **Checked, not trusted.** Voter, sequencer and warden each move only with a proof: the + contract rejects anything else. Integrity needs no honest operator anywhere. (One honest + asterisk: ballot *secrecy* is what's quantum-proof today; the *integrity* plumbing still + includes some classical Ethereum-era pieces — the proof wrapper, blob commitments, and + optional legacy wallet signatures — with a tracked migration path, §12.5. Breaking those + could forge state while they last; it can never retroactively read ballots.) +- **Exact results.** The tally is integer arithmetic — no decryption failures, no noise + budgets, no brute-force search at the end. ---