Zulip Chat Archive
Stream: Formal conjectures
Topic: ErdΕs 196
Yan Yablonovskiy πΊπ¦ (Sep 01 2025 at 00:23):
Hey all, below is my preliminary version of ErdΕs 196, I am just worried its too simple and doesn't really work :
import FormalConjectures.Util.ProblemImports
/-!
# ErdΕs Problem 196
*Reference:* [erdosproblems.com/196](https://www.erdosproblems.com/196)
-/
open Function Set Nat
namespace Erdos196
/-- Must every permutation of $\mathbb{N}$, contain a monotone 4-term arithmetic progression. -/
@[category research open, AMS 5 11]
theorem erdos_196' (f : β β β) : βS, IsAPOfLengthWith S 4 (sInf S) 1 β IsAPOfLength (f '' S) 4 := by
sorry
end Erdos196
I think the sequences being monotone might be handled by being a bijection. But it also concerns me a little that the cited results use positive integers rather than naturals.
I am also unsure how to encode the permutation with the bijection, should i be asking for an arithmetic progression with , such that the image of is a four term progression.
Moritz Firsching (Sep 02 2025 at 07:54):
That looks pretty good already, but I don't quite follow why 4 indexing numbers should form an AP with step 1 themselves, they only have to be monotone (in either direction), right? I think it is a bit confusing the way it is stated on erdosproblems.com, because I think the in the indexes there is misleading. they should by such that eitehr or , if I understand the paper correctly. So I would write this as:
@[category research open, AMS 5 11]
theorem erdos_196 (f : β β β) : β (a : List β),
((a.Sorted (Β· < Β· )) β¨ (a.Sorted (Β· > Β· ))) β§ IsAPOfLength (f '' a.toFinset) 4 := by
sorry
and this is formulated as a questions, let's use the answer(sorry) mechanism:
@[category research open, AMS 5 11]
theorem erdos_196 : (β (f : β β β), β (a : List β),
((a.Sorted (Β· < Β· )) β¨ (a.Sorted (Β· > Β· ))) β§ IsAPOfLength (f '' a.toFinset) 4)
β answer(sorry) := by
Regarding positive integers rather than naturals here: I wouldn't worry about that at all, adding a constant (for instant 1 to every number in the set shouldn't change the questions of arithmetic progressions at all here.)
Yan Yablonovskiy πΊπ¦ (Sep 02 2025 at 08:53):
Thanks heaps! Makes sense , I had tried to use PNat but it complains about AddCommMonoid instances
Yan Yablonovskiy πΊπ¦ (Sep 02 2025 at 10:34):
Moritz Firsching said:
@[category research open, AMS 5 11] theorem erdos_196 : (β (f : β β β), β (a : List β), ((a.Sorted (Β· < Β· )) β¨ (a.Sorted (Β· > Β· ))) β§ IsAPOfLength (f '' a.toFinset) 4) β answer(sorry) := by
In general is the preference for this repo to have hypothesis before or after the colon ( e.g. for mathlib
https://leanprover-community.github.io/contribute/style.html#hypotheses-left-of-colon )
Moritz Firsching (Sep 02 2025 at 10:38):
in general same as mathlib, but for the β answer(sorry) to make sense, it is sometimes necessary to move them after the colon
Moritz Firsching (Sep 03 2025 at 20:51):
see also discussion now at the bottom of https://www.erdosproblems.com/forum/thread/196
Last updated: Dec 20 2025 at 21:32 UTC