FormalConjectures/ErdosProblems/34.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

2 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 34

References:

Imports (1)
  1. def Erdos34.consecutiveSums The set of consecutive sums of a permutation p of {1,…,n}, where position k holds the value p k + 1: the sums ∑_{u ≤ k ≤ v} (p k + 1) line 42 source

    Source documentation

    The set of consecutive sums of a permutation p of {1,…,n}, where position k holds the value p k + 1: the sums ∑_{u ≤ k ≤ v} (p k + 1).

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Equiv.Perm, Fin, Finset

    Proof uses: Finset.image, Prod, Finset.sum, Finset.Icc, Prod.fst, Prod.snd, HAdd.hAdd, OfNat.ofNat, Finset.filter, LE.le, Finset.univ

    16 instances, coercions and auxiliary constants left out.

    def consecutiveSums (n : ℕ) (p : Equiv.Perm (Fin n)) : Finset ℕ :=
    …
  2. theorem Erdos34.erdos_34 sorry line 57 source

    depends on sorry what this means

    Statement uses: Iff, False, Real, LT.lt, OfNat.ofNat, Exists, Nat, GE.ge, Equiv.Perm, Fin, Finset.card, Erdos34.consecutiveSums, HMul.hMul, HPow.hPow

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    26 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.