-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.lean
More file actions
38 lines (29 loc) · 1.03 KB
/
Main.lean
File metadata and controls
38 lines (29 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import Std
import GovernanceBoundary.Spec.IdentifierMap
namespace GovernanceBoundary.Verify
-- REQ.EXEC.MAIN:
-- Main entry point for this package.
--
-- WHY:
-- This executable exists solely to ensure that the full
-- formalization compiles end-to-end under CI and local builds.
--
-- OBS:
-- No definitions, theorems, or logic belong here.
-- This file must remain trivial and stable.
-- Any failure here indicates a broken proof or import graph.
/-!
Coverage checks for GovernanceBoundary.Spec.IdentifierMap.
These are intentionally small, structural sanity checks used by `lake exe verify`.
-/
/-- Coverage check: GB v1 defines exactly 10 identifiers. -/
theorem identifier_count_v1 :
GovernanceBoundary.Spec.all.length = 10 := by
simp [GovernanceBoundary.Spec.all]
/-- Optional: ensure the identifier list has no duplicates. -/
theorem identifier_nodup_v1 :
(GovernanceBoundary.Spec.all.Nodup) := by
decide
end GovernanceBoundary.Verify
def main : IO Unit := do
IO.println "Success: verification checks passed."