mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
Adapted from Peng et al. (2026) pipeline-math verify.sh:
1. SHA pin check — frozen theorem stubs pinned in frozen.sha256
2. Banned keywords — sorry/native_decide/admit blocked in proof files
3. lake build clean — 0 errors, 0 unexpected warnings
4. #print axioms — proof depends only on {propext, Class.choice, Quot.sound}
5. Discharge gate — @Frozen = @Proof := rfl (type-level gate)
Frozen theorem template in docs/frozen_template/:
Defs.lean — SHA-pinned definitions
Theorems.lean — SHA-pinned sorry stubs
Proofs/ — LLM fills these
Discharge.lean — rfl discharge gate
Solution.lean — clean exports
verify_lean.py: standalone 5-check (no LLM)
16 lines
438 B
Text
16 lines
438 B
Text
/-
|
|
Copyright (c) 2026 SilverSight. All rights reserved.
|
|
Released under Apache 2.0 license.
|
|
|
|
Discharge gate: each frozen theorem is matched to its proof by `rfl`.
|
|
If the types don't match exactly, this file fails to compile.
|
|
-/
|
|
import ModuleName.Theorems
|
|
import ModuleName.Proofs.Basic
|
|
|
|
open ModuleName
|
|
|
|
/-! ## Discharge gates -/
|
|
|
|
theorem my_theorem : my_theorem = my_theorem_proof := rfl
|
|
lemma my_lemma : my_lemma = my_lemma_proof := rfl
|