IndisputableMonolith.URCGenerators.CPMClosureCert
IndisputableMonolith/URCGenerators/CPMClosureCert.lean · 35 lines · 1 declarations
show as:
view math explainer →
1import Mathlib
2import IndisputableMonolith.URCGenerators.CPMMethodCert
3
4namespace IndisputableMonolith
5namespace URCGenerators
6
7/-!
8# CPM Closure Certificate (Standalone)
9
10This is a standalone CPM certificate: it certifies the generic CPM A/B/C
11consequences and includes a toy-model witness that the CPM assumptions are
12consistent.
13
14This is #eval-friendly via a URC adapter.
15-/
16
17/-- Certificate for CPM method closure (standalone). -/
18structure CPMClosureCert where
19 deriving Repr
20
21/-- Verification predicate for the CPM closure certificate.
22
23Delegates to the standalone `CPMMethodCert` verification predicate. -/
24@[simp] def CPMClosureCert.verified (_c : CPMClosureCert) : Prop :=
25 CPMMethodCert.verified {}
26
27/-- Top-level theorem: CPM closure certificate verifies. -/
28@[simp] theorem CPMClosureCert.verified_any (c : CPMClosureCert) :
29 CPMClosureCert.verified c := by
30 dsimp [CPMClosureCert.verified]
31 exact CPMMethodCert.verified_any {}
32
33end URCGenerators
34end IndisputableMonolith
35