23 proofs · 111 theorems

LuxFormal Proofs

Formal verification of consensus protocols, DeFi invariants, and cryptographic primitives using Lean 4, Halmos, and Foundry.

Lean 4Partial

BFT Safety

Quorum Intersection & Honest Majority

Formal proof of Byzantine fault tolerance safety properties including quorum intersection, honest majority guarantees, and unique decision thresholds.

5 theorems·Zach Kelling · Woo Bin
BFTSafetyQuorumConsensus
Lean 4Proved

Consensus Safety

Main Safety Theorem

The central safety theorem proving that no two honest nodes can finalize conflicting decisions under the assumed fault model.

1 theorem·Zach Kelling · Woo Bin
SafetyConsensusFinality
Lean 4Proved

Consensus Liveness

Liveness Under Partial Synchrony

Formal proof that the consensus protocol eventually makes progress under partial synchrony assumptions with bounded message delays.

1 theorem·Zach Kelling · Woo Bin
LivenessPartial SynchronyConsensus
Lean 4Proved

Wave Protocol

Decision Stability & Confidence Monotonicity

Three theorems proving decided_stable (finalized decisions never revert), confidence_monotone (confidence only increases), and finalization (termination guarantee).

3 theorems·Zach Kelling · Woo Bin
WaveStabilityFinalizationProtocol
Lean 4Proved

Flare Protocol

Certificate Skip Exclusivity & Honest Support

Three theorems proving cert_skip_exclusive (no conflicting certificates), honest_support (honest nodes back valid certs), and classify_total (complete classification).

3 theorems·Zach Kelling · Woo Bin
FlareCertificatesProtocol
Lean 4Proved

Quasar Protocol

Height Monotonicity & BLS Quorum

Three theorems proving height_monotone (finalized height only increases), bls_quorum (BLS signature quorum validity), and dual_sig (dual-certificate consistency).

3 theorems·Zach Kelling · Woo Bin
QuasarBLSPost-QuantumProtocol
Lean 4Partial

Ray Protocol

Ray Consensus Verification

Formal verification of the Ray consensus protocol with two key theorems covering protocol safety and progress guarantees.

3 theorems·Zach Kelling · Woo Bin
RayConsensusProtocol
Lean 4Proved

Field Protocol

Field Consensus Verification

Two theorems verifying the Field consensus protocol properties including consistency and termination.

2 theorems·Zach Kelling · Woo Bin
FieldConsensusProtocol
Lean 4Proved

Nova Protocol

Nova Consensus Verification

Two theorems verifying the Nova consensus protocol covering fast-path finality and fallback safety.

2 theorems·Zach Kelling · Woo Bin
NovaConsensusProtocol
Lean 4Proved

Nebula Protocol

Nebula Consensus Verification

Two theorems verifying the Nebula consensus protocol properties for probabilistic finality and convergence.

2 theorems·Zach Kelling · Woo Bin
NebulaConsensusProtocol
Lean 4Proved

Photon Protocol

Photon Consensus Verification

Two theorems verifying the Photon consensus protocol for low-latency finality and message complexity bounds.

2 theorems·Zach Kelling · Woo Bin
PhotonConsensusProtocol
Lean 4Proved

Prism Protocol

Prism Consensus Verification

Two theorems verifying the Prism consensus protocol properties for parallel block processing and ordering guarantees.

2 theorems·Zach Kelling · Woo Bin
PrismConsensusProtocol
Lean 4Axiom

BLS Cryptography

Bilinearity & Signature Aggregation

Three axioms for BLS signature verification with bilinearity proved. Establishes the cryptographic foundation for aggregate signatures used in Quasar consensus.

3 theorems·Zach Kelling · Woo Bin
BLSCryptographyBilinearityAggregation
Lean 4Axiom

FROST Threshold

Schnorr Threshold Signature Axioms

Two axioms with real postconditions for FROST threshold signature verification, establishing correctness of t-of-n Schnorr threshold signing.

2 theorems·Zach Kelling · Woo Bin
FROSTThresholdSchnorrCryptography
Lean 4Axiom

Ringtail Post-Quantum

Lattice-Based Threshold Signature Axioms

Two axioms for Ringtail post-quantum threshold signatures based on lattice cryptography, ensuring quantum resistance for consensus finality.

2 theorems·Zach Kelling · Woo Bin
RingtailPost-QuantumLatticeThreshold
Lean 4Axiom

ML-DSA

Module Lattice Digital Signature Axioms

Two axioms for ML-DSA (FIPS 204) post-quantum digital signatures establishing correctness and unforgeability under lattice hardness assumptions.

2 theorems·Zach Kelling · Woo Bin
ML-DSAPost-QuantumFIPS 204Signatures
Lean 4Proved

Warp Delivery

Cross-Chain Message Delivery Guarantees

Three proved theorems plus nonces_monotone for Warp cross-chain messaging, ensuring exactly-once delivery and replay protection.

4 theorems·Zach Kelling · Woo Bin
WarpCross-ChainDeliveryReplay Protection
Lean 4Proved

Warp Ordering

Cross-Chain Message Ordering

Two proved theorems for Warp message ordering guarantees, ensuring causal consistency across chains.

2 theorems·Zach Kelling · Woo Bin
WarpOrderingCausal Consistency
HalmosProved

AMM V2 Invariants

Constant Product & No-Drain Proofs

Twelve symbolic proofs verifying AMM V2 invariants including constant product preservation, no-drain guarantees, output bounds, and fee correctness using Halmos symbolic execution.

12 theorems·Zach Kelling · Woo Bin
AMMConstant ProductDeFiSymbolic
HalmosProved

LiquidLUX Vault

Share Inflation Protection & Exchange Rate

Nine symbolic proofs for the LiquidLUX vault covering share inflation protection, exchange rate monotonicity, deposit/withdraw symmetry, and fee accounting correctness.

9 theorems·Zach Kelling · Woo Bin
VaultStakingInflationSymbolic
HalmosProved

Markets Lending

Utilization Bounds & Interest Monotonicity

Eight symbolic proofs for the Morpho-style lending markets covering utilization bounds, interest rate monotonicity, collateral sufficiency, and liquidation safety.

8 theorems·Zach Kelling · Woo Bin
LendingUtilizationInterest RateSymbolic
HalmosProved

E2E Bridge Safety

Bridge-Deposit-Yield-Teleport Pipeline

End-to-end symbolic proofs verifying the complete bridge-deposit-yield-teleport pipeline, ensuring no asset loss across the full DeFi flow.

5 theorems·Zach Kelling · Woo Bin
E2EBridgeTeleportSymbolic
FoundryProved

Invariant Test Suite

33 Property-Based Fuzz Suites

Comprehensive property-based fuzzing across 33 test suites covering AMM, LiquidLUX, Markets, Perps, StableSwap, Staking, Karma, Bridge, Governance, and Treasury protocols.

33 theorems·Zach Kelling · Woo Bin
InvariantFuzzingProperty-BasedFull Stack