class
definition
Composition
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Foundation.CostAxioms on GitHub at line 68.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
three_act_resolution_below_climax -
CostAlgebraData -
defectDist_no_global_quasi_triangle -
J_defect_form -
RCL_holds -
reciprocal -
CostAlgHomKappa -
CostAlgPlusHom -
layerSysPlus_id -
ledgerAlg_id -
monotone_preserves_argmin -
octaveAlg_id -
phiRing_id -
recAlg_comp -
composition_law_equiv_coshAdd -
isCalibrated_of_isCalibratedLimit -
Jcost_is_normalized -
prefer_comp_mono -
extraction_cost_strict_minimum -
id -
Composition_implies_CoshAddIdentity -
Composition_Normalization_implies_symmetry -
CostFunctionalAxioms -
J_eq_Jcost -
Normalization -
nothing_costs_infinity -
uniqueness_specification -
RCL_unique_polynomial_form -
stable_existence_requires_discrete -
real_supports_logic -
simultaneous_differs_from_sequential -
HasLocalComposition -
derivedCost -
J_is_unique_cost_under_logic -
laws_of_logic_imply_dalembert_hypotheses -
operative_to_laws_of_logic -
l4DerivableCert_inhabited -
multiplicative_reciprocal_symmetry -
E_coh_pos -
closed_ratio_is_phi
formal source
65
66This is the d'Alembert functional equation in multiplicative form.
67It forces F to be compatible with the multiplicative structure of ℝ₊. -/
68class Composition (F : ℝ → ℝ) : Prop where
69 dAlembert : ∀ x y : ℝ, 0 < x → 0 < y →
70 F (x * y) + F (x / y) = 2 * F x * F y + 2 * F x + 2 * F y
71
72/-- **Axiom 3 (Calibration)**: The second derivative at the origin (in log coordinates) equals 1.
73
74Let G(t) = F(exp(t)). Then G''(0) = 1.
75
76This normalizes the "curvature" of the cost functional at unity,
77ensuring a unique solution rather than a family. -/
78class Calibration (F : ℝ → ℝ) : Prop where
79 second_deriv_at_zero : deriv (deriv (fun t => F (exp t))) 0 = 1
80
81/-- The complete axiom bundle for a cost functional. -/
82class CostFunctionalAxioms (F : ℝ → ℝ) extends
83 Normalization F, Composition F, Calibration F : Prop
84
85/-! ## The Canonical Cost Functional J -/
86
87/-- The canonical cost functional:
88 J(x) = ½(x + x⁻¹) - 1
89
90This is the **unique** solution to the three axioms (proven below). -/
91noncomputable def J (x : ℝ) : ℝ := (x + x⁻¹) / 2 - 1
92
93/-- J equals the Cost.Jcost defined in the Cost module. -/
94lemma J_eq_Jcost : J = Cost.Jcost := by
95 ext x; rfl
96
97/-! ## Verification: J satisfies the axioms -/
98