AFTD Auto-Formalizing Theoretical Domains

cubic_edge_entropy_zero

theoremverified

The edge entropy production phi(0) is equal to 0.

Statement

theorem cubic_edge_entropy_zero : cubic_edge_entropy 0 = 0
Source
arXiv:2204.00875
Verified
13 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • cubic_edge_entropyThe entropy production contribution phi(x) of an edge carrying stationary current x under unit total forward-plus-reverse flux is |x| *…
  • weighted_max_cut_linear_combinationFor all real numbers W and M, the convex combination of (3/4)W + (3/16)M and W - M with weights 16/19 and 3/19 equals (15/19)W.

Read back from the Lean

The function cubic_edge_entropy evaluated at 0 is equal to 0.

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

The proof, explained

By definition, the cubic edge entropy is given by cubic_edge_entropy(x) = |x| * ln((1 + |x|) / (1 - |x|)). Setting x = 0 gives |0| * ln((1 + 0) / (1 - 0)) = 0 * ln(1) = 0. In Lean, the proof unfolds the definition of cubic_edge_entropy and simplifies the resulting arithmetic expression to 0 = 0.

  1. The edge entropy production at zero current vanishes: cubic_edge_entropy 0 = 0.

    The proof employs a `first` tactic block to try several candidate tactic branches. The successful branch first unfolds the definition of `cubic_edge_entropy` at 0 via `simp only [cubic_edge_entropy] at *`, transforming the goal into |0| * Real.log ((1 + |0|) / (1 - |0|)) = 0. Then `simpa using weighted_max_cut_linear_combination` simplifies |0| to 0 and evaluates 0 * ... = 0, closing the goal by reflexivity (the lemma `weighted_max_cut_linear_combination` is unused).

    line 2

    uses weighted_max_cut_linear_combination

    theorem cubic_edge_entropy_zero : cubic_edge_entropy 0 = 0 := by first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination | (simp only [cubic_edge_entropy] at *; first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination)
weighted_max_cut_linear_combination
For any real numbers W and M, the linear combination (16/19) * ((3/4) * W + (3/16) * M) + (3/19) * (W - M) equals (15/19) * W.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The edge entropy production vanishes at zero current. -/theorem cubic_edge_entropy_zero : cubic_edge_entropy 0 = 0 := by first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination | (simp only [cubic_edge_entropy] at *; first | exact weighted_max_cut_linear_combination | (apply weighted_max_cut_linear_combination <;> assumption) | (apply weighted_max_cut_linear_combination <;> simp_all) | simpa using weighted_max_cut_linear_combination)
See it in the graphDiscuss this resultChallenge it