Skip to content

About

Claude formal verification experiment for VEIL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

93 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VEIL Formal Verification

Lean 4 formalization of the security properties of VEIL: Lightweight Zero-Knowledge for Hash-Based Multilinear Proof Systems (ePrint 2026/683).

The axioms, definitions, and theorem statements from the paper are encoded in Lean and the proofs are machine-checked by Lean's kernel.

Audit document

veil.succinct.xyz presents the paper's definitions and theorems side-by-side with their Lean formalizations to make human review of the trusted base as easy as possible.

What needs human review, and what doesn't

The repository is split into two kinds of code:

  • Trusted base — */Defs.lean and */Protocol.lean files, plus Shared/TrustedBase.lean. These contain the axioms, definitions, and theorem statements. Lean cannot check that these match the paper, so they must be audited by humans. They are written for readability, with paper citations and variable names matching the paper.
  • Proof files — */Completeness.lean, */Binding.lean, */Soundness.lean, */Zkness.lean, and the rest of Shared/. These contain only proofs that the trusted-base theorems hold. They are checked automatically by Lean's kernel and should not need human review.

See CLAUDE.md for the full convention and project layout.

Verifying the proofs

Install elan (the Lean version manager), then:

lake exe cache get   # download precompiled Mathlib oleans
lake build           # compile and type-check all theorems

lake build runs Lean's kernel over every proof in the project and also verifies that no spurious axioms were introduced. For independent kernel-level validation, run lake env leanchecker afterward; see the Lean reference on validating proofs for background (note: some instructions on that page may be outdated).

License

Dual-licensed under either of Apache License, Version 2.0 or MIT license at your option.

About

Claude formal verification experiment for VEIL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages