structure
definition
Config
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Gravity.ILG on GitHub at line 21.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
default -
additive_emp_left -
additive_emp_right -
additive_strict_of_both_inconsistent -
additive_three -
Calibration -
ConfigSpace -
CostFunction -
cost_ne_zero_of_inconsistent -
cost_pos_iff_inconsistent -
cost_pos_of_inconsistent -
cost_zero_of_consistent -
emp_cost_zero -
extension_to_consistent -
inconsistent_of_join_indep_right -
independent_emp -
join_emp -
recognition_work_constraint_cert -
RecognitionWorkConstraintCert -
recognition_work_constraint_theorem -
uniqueness_on_indep_decomposition -
uniqueness_three_indep -
ConfigProps -
defaultConfig -
gbar_with -
vbarSq_with -
vbar_with -
w_t_nonneg_with -
w_t_ref_with -
w_t_rescale_with -
w_t_with -
A -
A_advances_time -
ActualizationPrinciple -
adjoint_from_cost_monotonic -
A_toward_identity -
A_well_defined -
BornRule -
collapse_automatic -
Contingent
formal source
18 vbul : ℝ → ℝ
19
20/-! Configurable numeric regularization parameters. -/
21structure Config where
22 upsilonStar : ℝ
23 eps_r : ℝ
24 eps_v : ℝ
25 eps_t : ℝ
26 eps_a : ℝ
27
28@[simp] def defaultConfig : Config :=
29 { upsilonStar := 1.0
30 , eps_r := 1e-12
31 , eps_v := 1e-12
32 , eps_t := 0.01
33 , eps_a := 1e-12 }
34
35structure ConfigProps (cfg : Config) : Prop where
36 eps_t_nonneg : 0 ≤ cfg.eps_t
37 eps_t_le_one : cfg.eps_t ≤ 1
38
39@[simp] lemma defaultConfig_props : ConfigProps defaultConfig := by
40 refine ⟨?h0, ?h1⟩ <;> norm_num
41
42def vbarSq_with (cfg : Config) (C : BaryonCurves) (r : ℝ) : ℝ :=
43 max 0 ((C.vgas r) ^ 2 + ((Real.sqrt cfg.upsilonStar) * (C.vdisk r)) ^ 2 + (C.vbul r) ^ 2)
44
45def vbar_with (cfg : Config) (C : BaryonCurves) (r : ℝ) : ℝ :=
46 Real.sqrt (max cfg.eps_v (vbarSq_with cfg C r))
47
48def gbar_with (cfg : Config) (C : BaryonCurves) (r : ℝ) : ℝ :=
49 (vbar_with cfg C r) ^ 2 / max cfg.eps_r r
50
51structure Params where