pith. machine review for the scientific record. sign in
def

derivedCost

definition
show as:
view math explainer →
module
IndisputableMonolith.Foundation.LogicAsFunctionalEquation
domain
Foundation
line
69 · github
papers citing
7 papers (below)

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Foundation.LogicAsFunctionalEquation on GitHub at line 69.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

used by

formal source

  66/-- The cost function derived from a comparison operator by fixing the
  67second argument at the multiplicative identity. Under scale invariance,
  68this is well-defined on the multiplicative group of positive ratios. -/
  69@[simp] def derivedCost (C : ComparisonOperator) : ℝ → ℝ :=
  70  fun r => C r 1
  71
  72/-! ## The Four Aristotelian Constraints
  73
  74We encode the classical laws of logic as structural constraints on a
  75comparison operator. The mapping from Aristotle's propositional
  76formulations to functional constraints on C is:
  77
  78  Identity (A = A)             ↦  C(x, x) = 0
  79                                  comparison of a thing with itself is trivial
  80  Non-contradiction (¬(A ∧ ¬A))↦  C(x, y) = C(y, x)
  81                                  the cost is single-valued under reordering
  82                                  (with scale invariance, this gives reciprocity
  83                                   F(x) = F(1/x))
  84  Excluded middle (A ∨ ¬A)     ↦  C is continuous and total on its domain
  85                                  every comparison returns a definite value
  86  Composition consistency      ↦  Route-independence (the d'Alembert form)
  87                                  comparisons assembled forward and backward
  88                                  must compose by a fixed combining rule
  89-/
  90
  91/-- **Identity**: comparing a thing with itself costs zero. The mathematical
  92counterpart of the Aristotelian law A = A. -/
  93def Identity (C : ComparisonOperator) : Prop :=
  94  ∀ x : ℝ, 0 < x → C x x = 0
  95
  96/-- **Non-contradiction (reciprocal symmetry)**: the cost of comparing x to y
  97equals the cost of comparing y to x. The mathematical counterpart of the
  98Aristotelian law ¬(A ∧ ¬A): if comparison were not single-valued under
  99reordering, the same comparison would simultaneously hold and not hold. -/