lean-golf Lean 4 proof leaderboard

IMO2006 P5

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Authors: Violeta Hernández Palacios

Statement

import Mathlib.Algebra.Polynomial.Roots
import Mathlib.Dynamics.PeriodicPts.Defs
theorem _root_.LeanGolf.compfiles.imo2006_p5 {P : Polynomial ℤ} (hP : 1 < P.natDegree) {k : ℕ} (hk : 0 < k) :
    (P.comp^[k] X - X).roots.toFinset.card ≤ P.natDegree
Trusted statement context
open Function Polynomial

namespace Imo2006P5