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

OperativePositiveRatioComparison

definition
show as:
view math explainer →
module
IndisputableMonolith.Foundation.LogicAsFunctionalEquation.DirectProof
domain
Foundation
line
24 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Foundation.LogicAsFunctionalEquation.DirectProof on GitHub at line 24.

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

  21/-- An operative positive-ratio comparison is a continuous, nontrivial
  22comparison operator satisfying identity, symmetric single-valued comparison,
  23and scale invariance on positive arguments. -/
  24structure OperativePositiveRatioComparison (C : ComparisonOperator) : Prop where
  25  identity : Identity C
  26  non_contradiction : NonContradiction C
  27  continuous : ExcludedMiddle C
  28  scale_invariant : ScaleInvariant C
  29  non_trivial : NonTrivial C
  30
  31/-- Finite pairwise polynomial closure is the polynomial route-independence
  32condition from the Level-1 logic-as-functional-equation module. -/
  33def FinitePairwisePolynomialClosure (C : ComparisonOperator) : Prop :=
  34  RouteIndependence C
  35
  36/-- Scale invariance descends a two-argument comparison to a cost on the
  37positive ratio of the arguments. -/
  38theorem operative_descends_to_ratio
  39    (C : ComparisonOperator)
  40    (hOp : OperativePositiveRatioComparison C) :
  41    ∀ x y : ℝ, 0 < x → 0 < y → C x y = derivedCost C (x / y) := by
  42  intro x y hx hy
  43  unfold derivedCost
  44  have hy_inv_pos : 0 < y⁻¹ := inv_pos.mpr hy
  45  have hscale := hOp.scale_invariant x y y⁻¹ hx hy hy_inv_pos
  46  have hleft : y⁻¹ * x = x / y := by
  47    rw [div_eq_mul_inv, mul_comm]
  48  have hright : y⁻¹ * y = 1 := by
  49    exact inv_mul_cancel₀ (ne_of_gt hy)
  50  calc
  51    C x y = C (y⁻¹ * x) (y⁻¹ * y) := hscale.symm
  52    _ = C (x / y) 1 := by rw [hleft, hright]
  53
  54/-- Operative comparisons have reciprocal-symmetric derived costs. -/