Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 1056 · variants.k2

Source:Erdős Problems · erdosproblems.com/1056
Textbook result A standard result, good for practice. First verified proof: +3 points.
Statement:reviewed
Statement:

This is problem A15 in Guy's collection [Gu04], where he reports that in a letter in 1979 Erdős observed that 3∗4≡5∗6∗7≡1mod  113 * 4 \equiv 5 * 6 * 7 \equiv 1 \mod 11.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.00510 [math.NT] · NS.00510v1 for this version
Declaration:Erdos1056.erdos_1056.variants.k2
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3; accepted critique: up to 100
Statement hash:85edda291ce75626334ccfabac451904c33d07b56c6003060310ecd2881e645b
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1056.lean

Formal statement

theorem erdos_1056.variants.k2 :
    AllModProdEqualsOne 11 ![3, 5, 8]
Show the full Challenge.lean (81 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1056

*Reference:* [erdosproblems.com/1056](https://www.erdosproblems.com/1056)
-/

@[expose] public section

open Nat
namespace Erdos1056

/--
The proposition that the modular product of a collection of consecutive interval equals $1$ modulo $p$,
where intervals are defined by a function specifying the consecutive boundaries.
-/
def AllModProdEqualsOne (p : ℕ) {k : ℕ} (boundaries : Fin (k + 1) → ℕ) : Prop :=
  ∀ i : Fin k,
    (∏ n ∈ Finset.Ico (boundaries i.castSucc) (boundaries (i.castSucc + 1)), n) ≡ 1 [MOD p]

/--
Let $k ≥ 2$. Does there exist a prime $p$ and consecutive intervals $I_0,\dots,I_k$
such that $\prod\limits_{n{\in}I_i}n \equiv 1 \mod n$ for all $1 \le i \le k$?
-/
@[category research open, question, AMS 11]
theorem erdos_1056 :
    ∀ k ≥ 2, ∃ (p : ℕ) (_ : p.Prime) (boundaries : Fin (k + 1) → ℕ) (_ : StrictMono boundaries),
    AllModProdEqualsOne p boundaries := by
  sorry

/--
This is problem A15 in Guy's collection [Gu04], where he reports that in a letter in 1979
Erdős observed that $3 * 4 \equiv 5 * 6 * 7 \equiv 1 \mod 11$.
-/
@[category textbook, AMS 11]
theorem erdos_1056.variants.k2 :
    AllModProdEqualsOne 11 ![3, 5, 8] := by
  unfold AllModProdEqualsOne
  decide

/--
Makowski [Ma83] found, for $k=3$:
$2 * 3 * 4 * 5 \equiv 6 * 7 * 8 * 9 * 10 * 11 \equiv 12 * 13 * 14 * 15 \equiv 1 \mod 17$.
-/
@[category textbook, AMS 11]
theorem erdos_1056.variants.k3 :
    AllModProdEqualsOne 17 ![2, 6, 12, 16] := by
  unfold AllModProdEqualsOne
  decide

/--
Noll and Simmons asked, more generally, whether there are solutions to
$q_1! \equiv \dots \equiv q_k! \mod p$ for arbitrarily large $k$ (with $q_1 < \dots < q_k$).
-/
@[category research open, question, AMS 11]
theorem erdos_1056.variants.noll_simmons :
    ∀ᶠ k in Filter.atTop,
    ∃ (p : ℕ) (_ : p.Prime) (Q : Fin k → ℕ) (_ : StrictMono Q) (_ : ∀ i, Q i < p),
    ∀ i j : Fin k, (Q i)! ≡ (Q j)! [MOD p] := by
  sorry

end Erdos1056

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1056.erdos_1056.variants.k2 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_k2 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-1056--erdos-1056-variants-k2      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1056--erdos-1056-variants-k2
nosorry submit erdos-1056--erdos-1056-variants-k2 nosorry/erdos-1056--erdos-1056-variants-k2/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.