Published May 31, 2026 | Version v1

Lean 4 Formalized Proof Artifacts for Local Softmax and Global Weights in Non-Boolean Event Structures

  • 1. TU Wien

Description

This supplement records the Lean 4 formalization used to verify the finite claims about gluing, generalized-softmax coordinates, and the pentagon half-weight. The project was checked with Lean v4.30.0 and mathlib v4.30.0; the command lake build completed successfully, and the source contains no sorry, admit, or axiom.
The formalization separates three layers:
  • First (Core.lean) defines finite event structures, admissible weights, positive coordinates, and the representation theorem for scaled link-function preimages.
  • Second (Gluing.lean) formalizes local context-wise distributions, single-valuedness, the normalizer-ratio calculation, and the theorem that single-valued local distributions glue to a global admissible weight.
  • Third (Pentagon.lean) formalizes the pentagon example: the half-weight is admissible, every two-valued state and every finite classical mixture obeys the cyclic bound 2, the half-weight has cyclic sum 5/2, and 5/2 > √5. The same file also verifies the positive softmax-coordinate path and its boundary endpoint at the half-weight.

Files

2026-softmax-verification.zip

Files (7.8 kB)

Name Size
md5:865db93302a5cac88809521b547670d0
7.8 kB Preview Download