In this track: Scaling and layer 2
intermediate · 3 MIN READ

Validity proofs and verification

The checked statement matters as much as the proof’s name.

LET’S PICTURE IT

A certificate saying a calculation is consistent is useful only if it concerns the exact problem you intended to solve.

SEE IT FOR YOURSELF
Build a root and follow one membership proofStep 1 / 4
Build a root and follow one membership proofA0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956

This example hashes UTF-8 A, B, C and D. The displayed hashes are abbreviated, and the tree uses the playground’s sorted-pair convention.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Bind the public context

A verifier must connect the proof with the relevant state roots, inputs and outputs. Verifying a different valid computation would not establish the desired transition.

Encoding errors can matter

If a circuit or verifier omits a required constraint, a proof can satisfy the implemented statement while failing the designer’s intended rule. Cryptographic strength does not repair an incomplete specification.

Trusted components need inspection

Some systems have setup assumptions, upgrade permissions or operator controls. Those choices should be evaluated directly rather than hidden behind the word mathematical.

Compare with a small local proof

The Merkle playground demonstrates verifying membership against a selected root. That is much simpler than a rollup validity proof, but it illustrates why a trusted reference and matching rules are necessary.

TURN UNDERSTANDING INTO PRACTICEOpen the Merkle trees →
QUICK CHECK · NO PRESSURE

Does proving the wrong statement establish the intended application rule?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.