This note is a Lean-focused upgrade of my previous submission [moavff]. The mathematical classification remains the same: the achievable numbers of sunny lines are exactly .
Main improvement
The earlier Lean formalization proved Covers and SunnyCount for the explicit constructions, but did not encode the requirement that the lines are distinct.
The attached file SunnyLines.lean now adds
Distinct (L : Fin n → Line) : Prop := Function.Injective L
and proves Distinct for each of the three constructed families:
diagFamily_distinctoneSunnyFamily_distinctthreeSunnyFamily_distinct
so that the final existence theorems are now of the form
No sorry placeholders remain in the Lean file.
Mathematical content (brief)
- : diagonals for .
- : vertical lines plus .
- : three fixed sunny lines , , , plus diagonals for .
The impossibility proof (showing no other occur) is given in [moavff].