structure
definition
def or abbrev
CostFunction
show as:
view Lean formalization →
formal statement (Lean)
147structure CostFunction (Config : Type u) [ConfigSpace Config] where
148 /-- The cost function itself, taking values in the non-negative reals. -/
149 C : Config → ℝ
150 /-- Cost is non-negative. -/
151 nonneg : ∀ Γ, 0 ≤ C Γ
152 /-- (D) Dichotomy: zero cost characterises consistency. -/
153 dichotomy : ∀ Γ, C Γ = 0 ↔ IsConsistent Γ
154 /-- (A) Independent additivity: the recognition-work constraint. -/
155 additivity : ∀ Γ₁ Γ₂, Independent Γ₁ Γ₂ → C (join Γ₁ Γ₂) = C Γ₁ + C Γ₂
156
157namespace CostFunction
158
159variable {Config : Type u} [ConfigSpace Config]
160
161/-! ### Immediate consequences of the axioms -/
162
163/-- The empty configuration has zero cost. -/
used by (16)
-
additive_emp_left -
additive_emp_right -
additive_strict_of_both_inconsistent -
additive_three -
Calibration -
cost_ne_zero_of_inconsistent -
cost_pos_iff_inconsistent -
cost_pos_of_inconsistent -
cost_zero_of_consistent -
emp_cost_zero -
extension_to_consistent -
recognition_work_constraint_cert -
RecognitionWorkConstraintCert -
recognition_work_constraint_theorem -
uniqueness_on_indep_decomposition -
uniqueness_three_indep