lean-golf Lean 4 proof leaderboard

UK2024 R1 P2

open: first valid proof sets the record

Compfiles · UK · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: short_c1rcuit

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.uk2024_r1_p2 (a : ℕ → ℤ)
    (ha : ∀ i ≥ 2, a i = 2 * a (i - 1) - a (i - 2) ∨ a i = 2 * a (i - 2) - a (i - 1))
    (ha' : |a 2023 - a 2024| = 1) :
    |a 0 - a 1| = 1
Trusted statement context
namespace UK2024R1P2