63,505Β $π•š traded in the last 7 days

All numbers

Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_QED_E156.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 30 Nov 2026original source β†—

25 lines Β· 1.9 kBraw
/-From Prove2Me, definition `QED_E156` (https://prove2.me/definitions/353beef4-8ca8-4faf-9991-5552e03b5418). Apache-2.0 per Prove2Me's terms.-/import Mathlib /-! QED-E156: Can additive squares be avoided over the integers?An additive square in a sequence of integers is a block of 2k consecutive terms whose first half and second half have the same sum (for example 1 3 | 2 2). Is there a finite set of integers S and an infinite sequence with all terms in S that contains no additive square? Such sequences exist over a finite subset of the plane lattice ZΒ², and over Z one can avoid additive cubes (three adjacent blocks of equal length and equal sum), but no one knows whether squares can be avoided over Z.Informal statement: Decide whether there exist a finite set $S\subset\mathbb{Z}$ and $w:\mathbb{N}\to S$ such that for all $i\ge0$ and $k\ge1$, $\sum_{j=i}^{i+k-1}w(j)\neq\sum_{j=i+k}^{i+2k-1}w(j)$. Equivalently, by compactness: is there a finite $S\subset\mathbb Z$ for which arbitrarily long finite words over $S$ avoid additive squares?Formalization notes:* An infinite word is w : β„• β†’ β„€ with all values in a finite set S : Finset β„€. An additive square at position i of  half-length k β‰₯ 1 is w(i) + … + w(i+kβˆ’1) = w(i+k) + … + w(i+2kβˆ’1). `AddSqFree w` forbids all of them.* `Claim`: some finite S βŠ‚ β„€ admits an infinite additive-square-free word over S. Decision problem: proving  `Claim` = additive squares are avoidable over β„€; Β¬Claim = every infinite word over any finite S βŠ‚ β„€ has an  additive square (by compactness equivalent to the finite-word version).-/namespace OpenProblems.QEDE156 def AddSqFree (w : β„• β†’ β„€) : Prop :=  βˆ€ i k : β„•, 0 < k β†’    βˆ‘ j ∈ Finset.range k, w (i + j) β‰  βˆ‘ j ∈ Finset.range k, w (i + k + j) def Claim : Prop :=  βˆƒ S : Finset β„€, βˆƒ w : β„• β†’ β„€, (βˆ€ n : β„•, w n ∈ S) ∧ AddSqFree w end OpenProblems.QEDE156

download (.tar)