Lean / Reader
Lean reader

PolySolution.lean

17 lines1 declarationsno sorryimports PolyStatement PolySeeds

Lean 4 Web has Mathlib, so it can check files that import only Mathlib. This one also imports PolyStatement, PolySeeds, which it does not have: you can read it there, but it will not check. Build the project itself to check it.

  1. import PolyStatement
  2. import PolySeeds
  3. namespace CubeCells
  4. /-- OEIS A376798. If a(n) is the least possible number of cell classes for
  5. a face-connected n-celled polycube under rotations and reflections,
  6. a(n)−n/48 has least positive eventual period 48. -/
  7. theorem minimum_polycube_period :
  8. IsTailPeriod 48 ∧ ∀ p : ℕ, 0 < p → IsTailPeriod p → 48 ≤ p :=
  9. ⟨period_from_seeds seeds,fun _ hp h => Nat.le_of_dvd hp (divides_period h)⟩
  10. #print axioms minimum_spec
  11. #print axioms minimum_polycube_period
  12. end CubeCells