AFTD Auto-Formalizing Theoretical Domains

cubic_stationary_entropy_inf

def

For 0 < J < n, S_G(J) is the infimum of sum_e phi(j_e) among stationary currents j with |j_e| < 1 and sum_e |j_e| = J.

Statement

noncomputable def cubic_stationary_entropy_inf {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (o : SimpleGraphOrientation G) (J : ℝ) : ℝ
Defined in
arXiv:2204.00875
Verified
12 Nov 2026
Axioms
none listed
Built on 3
  • cubic_edge_entropyThe entropy production contribution phi(x) of an edge carrying stationary current x under unit total forward-plus-reverse flux is |x| *…
  • is_stationary_currentA current j on the edges of an oriented finite simple graph G is stationary if at every vertex, the sum of currents leaving the vertex…
  • SimpleGraphOrientationAn orientation of a finite simple graph G assigns to each edge an ordered pair of its endpoints.
Used by 1

Read back from the Lean

Given a finite type V with decidable equality, a simple graph G on V with decidable adjacency, an orientation o of G (assigning to each edge e an ordered pair (o.dir e) whose unordered pair is e), and a real number J, cubic_stationary_entropy_inf G o J defines the real infimum (sInf) of the set of values s : ℝ for which there exists an edge current j : G.edgeFinset → ℝ satisfying: 1. j is a stationary current: for every vertex v : V, the net divergence $\sum_{e \in G.\text{edgeFinset}} ((\text{if } (o.\text{dir } e)_1 = v \text{ then } j(e) \text{ else } 0) - (\text{if } (o.\text{dir } e)_2 = v \text{ then } j(e) \text{ else } 0)) = 0$; 2. $|j(e)| < 1$ for every edge e; 3. The total absolute current $\sum_{e \in G.\text{edgeFinset}} |j(e)| = J$; and 4. $\sum_{e \in G.\text{edgeFinset}} \text{cubic\_edge\_entropy}(j(e)) = s$, where $\text{cubic\_edge\_entropy}(x) = |x| \ln\left(\frac{1 + |x|}{1 - |x|}\right)$.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Infimal stationary entropy production S_G(J) among currents with total absolute current J. -/
noncomputable def cubic_stationary_entropy_inf {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (o : SimpleGraphOrientation G) (J : ℝ) : ℝ := sInf { s : ℝ | ∃ (j : G.edgeFinset → ℝ), is_stationary_current G o j ∧
    (∀ e, |j e| < 1) ∧ (∑ e, |j e| = J) ∧ (∑ e, cubic_edge_entropy (j e) = s) }
See it in the graphDiscuss this resultChallenge it