Exact directed L/X diameter of the symmetric group
The theorem LX.exact_diameter_all establishes the stated diameter formula for every n ≥ 5, with matching upper and lower bounds. LX.sharp_route_all proves the existence of an L/X word within the sharp bound between any ordered pair of permutations. The result concerns the directed two-generator problem, OEIS A039745. The formalization does not provide an executable shortest-word solver.