lean-golf Lean 4 proof leaderboard

USA2008 P6

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3

Statement

import Mathlib.Algebra.Field.ZMod
import Mathlib.Combinatorics.SimpleGraph.Finite
import Mathlib.FieldTheory.Finiteness
import Mathlib.RingTheory.PicardGroup
theorem _root_.LeanGolf.compfiles.usa2008_p6 (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj] :
    ∃ k : ℕ, Fintype.card {x : Fin n → ZMod 2 // ∀ v : Fin n,
      Even ((G.neighborFinset v).filter fun u => x u = x v).card} = 2 ^ k
Trusted statement context
namespace Usa2008P6

variable {n : ℕ} (G : SimpleGraph (Fin n)) [DecidableRel G.Adj]