THE CONSTELLATION PROOF The claim I know an opening of each of six commitments to a member of {0, 1, 2}. Across every listed edge, those members differ. The public inputs are the graph and the six commitments. The private witness consists of the six color numbers and their random blinding scalars. What you can infer The central triangle forces three different colors. In this particular graph, the three outer vertices are forced once that triangle is colored. The geometry therefore reveals the three color classes. The choice of labels for those classes stays hidden by the proof. Anyone who can color this graph can create a fresh valid proof with their own commitments. A certificate establishes no claim about its author's identity. The construction Arithmetic takes place in ristretto255, the prime-order group specified by RFC 9496. G is the standard generator. H is the RFC 9380 hash-to-group of UTF-8 "observatory/pedersen/H/v1" with the library's default Ristretto domain separator. Each vertex commitment is C_i = c_i G + r_i H. Each r_i is sampled independently and uniformly using the browser's random source. For every vertex we prove that, for some v in {0,1,2}, we know the discrete logarithm of C_i - vG to base H. For every edge (a,b) we do the same for C_a - C_b with v in {-2,-1,1,2}. This proves the inequality between the same committed colors used in the vertex checks. Each membership check uses a disjunction of Schnorr proofs. All candidate announcements except the chosen branch are simulated. The challenges add modulo the group order to a Fiat–Shamir challenge binding the protocol version, graph, six commitments, predicate index and all announcements. The verifier reconstructs each announcement as zH - eY, where Y is the shifted commitment for that branch, and recomputes the challenge. Changing the graph The optional edge joins vertices 1 and 3 (zero-based indices). Their colors already differ in every valid coloring of the original graph. Adding this redundant edge preserves colorability but changes the public statement. Verification of the original transcript then fails. Generating a new proof on the modified graph demonstrates the distinction. Certificate format, version 1 The JSON fields are version (1), extra (boolean), and transcript (unpadded base64url). Transcript bytes begin with six canonical 32-byte ristretto255 commitments. In predicate order, then candidate order, each Schnorr branch contributes a canonical little-endian 32-byte e followed by a canonical little-endian 32-byte z. Vertex predicates come first, in index order. Edge predicates follow EDGES order in the source, then the optional edge when present. Candidate order is the order listed above. Base graph payload size is 3,648 bytes. Extra edge adds 256 bytes. The SHA-512 challenge input concatenates UTF-8 protocol domain "observatory/graph-coloring/ristretto255/v1", one byte for vertex count, one byte for edge count, two endpoint bytes per edge, the six canonical commitments, one byte for predicate index, and that predicate's canonical announcements. Interpret the 64-byte digest as a big-endian integer and reduce modulo the scalar field order. Independent verification Download /constellation-proof.ts and a certificate JSON from the instrument. A fixed sample certificate is available at /proof-vector.json. Put the source and your selected certificate in the same directory. With Node 24 and npm: npm install @noble/curves@2.0.1 node --input-type=module -e "import {readFileSync} from 'node:fs'; import {verify} from './constellation-proof.ts'; const p = JSON.parse(readFileSync(process.argv[1], 'utf8')); console.log(await verify(p, p.extra));" certificate.json An original certificate prints true. Change the expected graph by passing !p.extra instead and it prints false. Change one character in transcript and it also fails verification. Scope This is an educational implementation of a commitment and Sigma-protocol construction. Its security argument assumes discrete-log hardness and models the Fiat–Shamir hash as a random oracle. This custom composition and its implementation have not received an independent security audit. References RFC 9496, The ristretto255 and decaf448 Groups https://www.rfc-editor.org/rfc/rfc9496 RFC 9380, Hashing to Elliptic Curves, Appendix B https://www.rfc-editor.org/rfc/rfc9380#appendix-B Cramer, Damgård and Schoenmakers, Proofs of Partial Knowledge and Simplified Design of Witness Hiding Protocols, CRYPTO 1994 https://doi.org/10.1007/3-540-48658-5_19