Aether Catalog definitions — EML_EML_TropicalSPB
DefinitionEML_EML_TropicalSPBaether-catalogeml
Definition bundle for the Aether Catalog module EML.EML.TropicalSPB, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from EML/EML/TropicalSPB.lean by skeleton subtraction import Mathlib /-! # CatalogBuild.EML.TropicalSPB Auto-generated from theorem catalog database. Domain: EML Declarations: 6 -/ noncomputable section /-- The tropical SPB: replaces + with min and × with +. tspb(x, y) = min(x, y) - max(0, x + y) Motivation: In standard SPB, spb(x,y) = (x+y)/(1-xy). Tropicalizing: numerator x+y → min(x,y), denominator 1-xy → min(0, -(x+y)) = -max(0, x+y). Division → subtraction, so tspb(x,y) = min(x,y) - max(0, x+y). -/ def tropSPB (x y : ℝ) : ℝ := min x y - max 0 (x + y) /-- Alternative tropical SPB using max instead of min: tspb_max(x, y) = max(x, y) - max(0, x + y). -/ def tropSPBMax (x y : ℝ) : ℝ := max x y - max 0 (x + y) end