USA1986 P1B
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.Order.Ring.Star
import Mathlib.Tactic.IntervalCases
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.NormNum.Prime
theorem _root_.LeanGolf.compfiles.usa1986_p1b :
if does_exist_21 then
∃ n : ℕ, 0 < n ∧
∀ i ∈ Finset.range 21, ∃ p : ℕ, p.Prime ∧ p < 17 ∧ p ∣ n + i
else
¬ ∃ n : ℕ, 0 < n ∧
∀ i ∈ Finset.range 21, ∃ p : ℕ, p.Prime ∧ p < 17 ∧ p ∣ n + iTrusted statement context
noncomputable section
namespace Usa1986P1
abbrev does_exist_21 : Bool := true