structure
definition
CPMMethodCert
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.URCGenerators.CPMMethodCert on GitHub at line 22.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
-
nontrivial -
of -
model -
cmin -
defect_le_constants_mul_energyGap -
defect_le_constants_mul_tests -
energyGap_ge_cmin_mul_defect -
Model -
Model -
of -
A -
is -
of -
is -
of -
is -
defectMass -
energyGap -
tests -
of -
A -
is -
A -
and -
M -
M -
M -
M -
constant -
toyModel -
toyModel_cmin_pos -
toyModel_defect_pos -
toyModel_energy_pos
used by
formal source
19-/
20
21/-- Standalone certificate for the CPM method. -/
22structure CPMMethodCert where
23 deriving Repr
24
25/-- A small toy CPM model witnessing consistency of the assumptions.
26
27All functionals are constant 1, and the inequalities hold numerically with
28`Knet = 1`, `Cproj = 2`, `Ceng = 1`, `Cdisp = 1`.
29
30This is not intended to model physics; it is only a nontrivial consistency witness.
31-/
32noncomputable def toyModel : Model Unit where
33 C := {
34 Knet := 1,
35 Cproj := 2,
36 Ceng := 1,
37 Cdisp := 1,
38 Knet_nonneg := by norm_num,
39 Cproj_nonneg := by norm_num,
40 Ceng_nonneg := by norm_num,
41 Cdisp_nonneg := by norm_num
42 }
43 defectMass := fun _ => 1
44 orthoMass := fun _ => 1
45 energyGap := fun _ => 1
46 tests := fun _ => 1
47 projection_defect := by
48 intro _
49 norm_num
50 energy_control := by
51 intro _
52 norm_num