Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Tropical_SATB_TropicalTensor

Definition
Tropical_SATB_TropicalTensor

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogtropical

Definition bundle for the Aether Catalog module Tropical.SATB.TropicalTensor, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Tropical/SATB/TropicalTensor.lean by skeleton subtraction
import Mathlib

/-!
# Tropical Tensor Products and Finite Minimization

This module formalizes the core tropical (min-plus) algebra theorems for finite
product-space optimization:

1. **Product-space minimization** (`tropMin_prod`): The minimum of a function
   over a product `α × β` equals the iterated minimum `min_a min_b f(a,b)`.

2. **Tropical tensor additive theorem** (`tropMin_tropTensor`): For independent
   cost functions `f : α → ℝ` and `g : β → ℝ`, the minimum of their tropical
   tensor product `(a,b) ↦ f(a) + g(b)` equals `min f + min g`.

These are the finite exactness theorems behind Bellman elimination and
factorized energy minimization in tropical algebra.
-/

open Finset BigOperators

noncomputable section

/-- The tropical minimum of a real-valued function over a finite nonempty type.
    This is `inf` in the min-plus semiring. -/
def tropMin {α : Type*} [Fintype α] [Nonempty α] (f : α → ℝ) : ℝ :=
  Finset.univ.inf' Finset.univ_nonempty f

/-- The tropical tensor product of two cost functions: pointwise addition. -/
def tropTensor {α β : Type*} (f : α → ℝ) (g : β → ℝ) : α × β → ℝ
  | (a, b) => f a + g b

variable {α β : Type*} [Fintype α] [Fintype β] [Nonempty α] [Nonempty β]



/-
The minimum is attained: there exists `a` with `f a = tropMin f`.
-/

/-
**Theorem A: Product-space minimization.**
    The minimum over a product type equals the iterated minimum.
    This is the formal core of variable elimination in dynamic programming.
-/

/-
**Theorem B: Tropical tensor additive theorem.**
    For independent costs, `min_{a,b} (f(a) + g(b)) = min_a f(a) + min_b g(b)`.
-/

/-
There exists an optimal pair for any function on a product space.
-/

/-
There exists an optimal pair for a tropical tensor product.
-/

end

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me