IMO1996 P1 C
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1996_p1_c :
if does_exist_97 then Relation.ReflTransGen (Move 97) SqA SqB
else ¬ Relation.ReflTransGen (Move 97) SqA SqBTrusted statement context
noncomputable section
namespace Imo1996P1
abbrev OnBoard (p : ℤ × ℤ) : Prop := 1 ≤ p.1 ∧ p.1 ≤ 20 ∧ 1 ≤ p.2 ∧ p.2 ≤ 12
abbrev Move (r : ℤ) (p q : ℤ × ℤ) : Prop :=
OnBoard p ∧ OnBoard q ∧ (p.1 - q.1) ^ 2 + (p.2 - q.2) ^ 2 = r
abbrev SqA : ℤ × ℤ := (1, 1)
abbrev SqB : ℤ × ℤ := (20, 1)
abbrev does_exist_97 : Bool := false