The real voting scheme and its refinement of the ideal model

The real scheme collects concrete votes. A vote carries no honesty or validation evidence, and an adversary may submit any vote it can produce. The abstraction α : RealState → IdealState keeps the valid votes, and under it every real certificate is an ideal one. The ideal correctness property then transfers: provided every valid vote of an honest voter is backed by a validation (validated-if-honest), a real certificate implies that an honest party validated the block.

Honesty and validation enter only in Refines below, so that implementations such as Leios.Voting.Voter can be instantiated without them.

The real functionality

Real certificates

Refinement into the ideal model

Correctness transfers to the real scheme