FormalConjectures/ErdosProblems/34.lean
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:
- erdosproblems.com/34
- [Er77c] Erdős, Paul, Problems and results on combinatorial number theory. III. Number theory day (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number theory. Monographies de L'Enseignement Mathematique (1980).
- [He86] Hegyvári, N., On consecutive sums in sequences. Acta Math. Hungar. (1986), 193--200.
- [Ko15] Konieczny, J., On consecutive sums in permutations. arXiv:1504.07156 (2015).
Imports (1)
- def
Erdos34.consecutiveSumsThe set of consecutive sums of a permutationpof{1,…,n}, where positionkholds the valuep k + 1: the sums∑_{u ≤ k ≤ v} (p k + 1)line 42 sourceSource documentation
The set of consecutive sums of a permutation
pof{1,…,n}, where positionkholds the valuep 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,FinsetProof uses:
Finset.image,Prod,Finset.sum,Finset.Icc,Prod.fst,Prod.snd,HAdd.hAdd,OfNat.ofNat,Finset.filter,LE.le,Finset.univ16 instances, coercions and auxiliary constants left out.
def consecutiveSums (n : ℕ) (p : Equiv.Perm (Fin n)) : Finset ℕ := …
- theorem
Erdos34.erdos_34sorry line 57 sourcedepends 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.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.