APNOutputs/ErdosProblems/erdos_12.parts.ii.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: Google DeepMind published the AlphaProof Nexus proof artifacts. The pinned repository identifies the mathematical sources and collaborators, including OEIS, Erdős Problems, Gergely Bérczi, and Mario Krenn; those source records remain the authority for individual credit.

Project sources: Pinned AlphaProof Nexus results documentation, AlphaProof Nexus paper, Pinned human-written natural-language proof companions

32 declarations, 0 contain sorry, 0 declared as axioms

Imports (1)
  1. abbrev Erdos12.IsGood Property P: no member divides the sum of two larger distinct members line 48 source

    Source documentation

    A set A is "good" if it is infinite and there are no distinct a,b,c in A such that a ∣ (b+c) and b > a, c > a.

    L4DEL explanation

    divides the sum of two larger terms

    IsGood A means that A is infinite and whenever a,b,c ∈ A, a ∣ b+c, a<b, and a<c, the two larger terms must coincide. Equivalently, no three distinct members realize the forbidden divisibility pattern.

    1. The conclusion b = c is how the Lean predicate permits repeated use of one larger element while excluding a triple of distinct elements.
    2. This is the formal version of the property introduced by Paul Erdős and András Sárközy; their ordered-sequence wording and the set-based Lean wording express the same restriction.

    Sources and attribution: Pinned Lean source (0647711a7118), Paul Erdős and András Sárközy (1970), p. 97

    no axioms what this means

    Statement uses: Set, Nat

    Proof uses: And, Set.Infinite, Membership.mem, Dvd.dvd, HAdd.hAdd, LT.lt, Eq

    5 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/ErdosProblems/erdos_12.parts.i.lean:48 (same declaration text).

    abbrev IsGood (A : Set ℕ) : Prop := A.Infinite ∧
    …
  2. lemma Erdos12.not_infinite_iff_eventually line 90 source

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

    Statement uses: Nat, Iff, Not, Set.Infinite, setOf, Filter.Eventually, Filter.atTop

    Proof uses: Eq.mpr, Set.Finite, id, Eq, congrArg, propext, Set.not_infinite, Exists, GE.ge, Filter.eventually_atTop, Iff.intro, BddAbove, Set.Finite.bddAbove, Membership.mem, Set, upperBounds, Exists.intro, HAdd.hAdd, OfNat.ofNat, LE.le and 5 more

    27 instances, coercions and auxiliary constants left out.

    Tactic trace: 22 steps

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

  3. lemma Erdos12.sarkozy_case_same line 112 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, LT.lt, HAdd.hAdd, HMul.hMul, OfNat.ofNat, Dvd.dvd, False

    Proof uses: Eq, Eq.mp, congrArg, Nat.mul_comm, GT.gt, Decidable.byContradiction, Not, GE.ge, LE.le, Nat.mul_le_mul_right

    22 instances, coercions and auxiliary constants left out.

    Tactic trace: 14 steps

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

  4. lemma Erdos12.sarkozy_case_diff2 line 126 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, GT.gt, OfNat.ofNat, Eq, HMod.hMod, Dvd.dvd, HAdd.hAdd, False

    Proof uses: Nat.dvd_of_mod_eq_zero, dvd_trans, Nat.mod_eq_zero_of_dvd, Eq.symm, Nat.add_mod, Eq.mp, congrArg, Nat.mod_eq_of_lt

    16 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

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

  5. lemma Erdos12.sarkozy_case_diff1 line 136 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, GT.gt, OfNat.ofNat, Eq, HMod.hMod, Dvd.dvd, HAdd.hAdd, False

    Proof uses: Nat.dvd_of_mod_eq_zero, dvd_trans, Nat.mod_eq_zero_of_dvd, Eq.symm, Nat.add_mod, Eq.mp, congrArg, Decidable.byContradiction, Not, Nat.mod_eq_of_lt

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 10 steps

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

  6. def Erdos12.IsGoodSarkozySeq line 147 source

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

    Statement uses: Nat, Set, Real

    Proof uses: And, Membership.mem, Eq, HMod.hMod, OfNat.ofNat, GT.gt, LT.lt, HAdd.hAdd, HMul.hMul, Set.Infinite, Set.iUnion, Filter.Eventually, LE.le, HPow.hPow, HSub.hSub, Set.ncard, Inter.inter, Set.Icc, Filter.atTop

    20 instances, coercions and auxiliary constants left out.

  7. lemma Erdos12.sarkozy_implies_good line 156 source

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

    Statement uses: Nat, Set, Real, Erdos12.IsGoodSarkozySeq, Erdos12.IsGood, Set.iUnion

    Proof uses: Membership.mem, Eq, HMod.hMod, OfNat.ofNat, And, GT.gt, LT.lt, HAdd.hAdd, HMul.hMul, Set.Infinite, Filter.Eventually, LE.le, HPow.hPow, HSub.hSub, Set.ncard, Inter.inter, Set.Icc, Filter.atTop, And.intro, Dvd.dvd and 17 more

    36 instances, coercions and auxiliary constants left out.

    Tactic trace: 61 steps

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

  8. lemma Erdos12.sarkozy_seq_of_aux line 211 source

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

    Statement uses: Nat, Set, Real, Membership.mem, Eq, HMod.hMod, OfNat.ofNat, GT.gt, LT.lt, GE.ge, HMul.hMul, LE.le, Set.Infinite, Set.iUnion, Filter.Eventually, HPow.hPow, HSub.hSub, Set.ncard, Inter.inter, Set.Icc and 2 more

    Proof uses: And.intro, And, HAdd.hAdd, Decidable.byContradiction, Not

    43 instances, coercions and auxiliary constants left out.

    Tactic trace: 33 steps

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

  9. lemma Erdos12.sarkozy_primes line 243 source

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

    Statement uses: Exists, Nat, And, GT.gt, OfNat.ofNat, LT.lt, Ne, Nat.Prime, LE.le, HPow.hPow, HAdd.hAdd

    Proof uses: HMul.hMul, Exists.intro, And.intro, LT.lt.trans_le', And.left, And.right, Bound.le_self_pow_of_pos, Mathlib.Meta.NormNum.isNat_le_true, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Bool, Bool.true, Nat.zero_lt_succ, LT.lt.ne, LE.le.trans_lt, Eq.rec, Nat.succ, Eq, lt_of_le_of_lt, pow_right_monotone and 29 more

    45 instances, coercions and auxiliary constants left out.

    Tactic trace: 7 steps

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

  10. lemma Erdos12.mod_eq_of_mod_mul line 247 source

    standard axioms: propext what this means

    Statement uses: Nat, Eq, HMod.hMod, OfNat.ofNat

    Proof uses: Dvd.dvd, Nat.dvd_of_mod_eq_zero, Nat.ModEq.of_dvd

    7 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  11. lemma Erdos12.sarkozy_CRT_single line 252 source

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

    Statement uses: Nat, Nat.Prime, LT.lt, Ne, Exists, And, Eq, HMod.hMod, OfNat.ofNat

    Proof uses: Finset.prod, Finset.range, Nat.Coprime, Nat.Coprime.prod_right, Membership.mem, Finset, Ne.symm, Eq.mp, congrArg, propext, Finset.mem_range, Iff.mpr, Nat.coprime_primes, Subtype, Nat.ModEq, Nat.chineseRemainder, Exists.intro, And.intro, And.left, Subtype.property and 11 more

    12 instances, coercions and auxiliary constants left out.

    Tactic trace: 31 steps

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

  12. lemma Erdos12.sarkozy_CRT line 284 source

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

    Statement uses: Nat, Nat.Prime, LT.lt, Ne, Exists, And, Eq, HMod.hMod, OfNat.ofNat

    Proof uses: Erdos12.sarkozy_CRT_single, Exists.intro, Classical.choose, Classical.choose_spec

    8 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  13. def Erdos12.P_n_def line 291 source

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

    Statement uses: Nat

    Proof uses: HMul.hMul, Finset.prod, Finset.range

    3 instances, coercions and auxiliary constants left out.

  14. lemma Erdos12.P_n_mod_pn line 293 source

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

    Statement uses: Nat, Eq, HMod.hMod, Erdos12.P_n_def, OfNat.ofNat

    Proof uses: Dvd.dvd, Eq.mpr, HMul.hMul, Finset.prod, Finset.range, id, congrArg, Erdos12.P_n_def.eq_1, Nat.dvd_mul_right, Nat.mod_eq_zero_of_dvd

    7 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  15. lemma Erdos12.P_n_mod_pm line 299 source

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

    Statement uses: Nat, LT.lt, Eq, HMod.hMod, Erdos12.P_n_def, OfNat.ofNat

    Proof uses: Dvd.dvd, Eq.mpr, HMul.hMul, Finset.prod, Finset.range, id, congrArg, Erdos12.P_n_def.eq_1, Finset.dvd_prod_of_mem, Membership.mem, Finset, propext, Finset.mem_range, dvd_mul_of_dvd_right, Nat.mod_eq_zero_of_dvd

    11 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

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

  16. lemma Erdos12.P_n_def_pos line 309 source

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

    Statement uses: Nat, GT.gt, OfNat.ofNat, Erdos12.P_n_def

    Proof uses: Decidable.byContradiction, Not, Finset.prod, Finset.range, Finset.prod_pos, Membership.mem, Finset, LT.lt, Eq.mpr, HMul.hMul, id, Eq, congrArg, Erdos12.P_n_def.eq_1, Nat.mul_pos

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 10 steps

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

  17. lemma Erdos12.M_n_growth line 321 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, LT.lt, HMul.hMul, OfNat.ofNat, HAdd.hAdd, GE.ge

    Proof uses: Nat.recAux, Nat.zero_le, LE.le, Decidable.byContradiction, Not

    17 instances, coercions and auxiliary constants left out.

    Tactic trace: 6 steps

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

  18. lemma Erdos12.B_n_props line 329 source

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

    Statement uses: Nat, Eq, HMod.hMod, OfNat.ofNat, LT.lt, Set, setOf, And, Membership.mem, Set.Icc, HMul.hMul, Erdos12.P_n_def, GE.ge, LE.le

    Proof uses: And.intro, And.right, Erdos12.P_n_mod_pn, Erdos12.mod_eq_of_mod_mul, Eq.mp, congrArg, Erdos12.P_n_mod_pm, And.left

    19 instances, coercions and auxiliary constants left out.

    Tactic trace: 27 steps

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

  19. def Erdos12.ValidMSeq line 359 source

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

    Statement uses: Real, Nat

    Proof uses: And, GE.ge, OfNat.ofNat, LT.lt, HMul.hMul, HAdd.hAdd, Erdos12.P_n_def, LE.le, HPow.hPow, HSub.hSub, HDiv.hDiv

    23 instances, coercions and auxiliary constants left out.

  20. lemma Erdos12.valid_M_seq_gap line 365 source

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

    Statement uses: Real, Nat, Erdos12.ValidMSeq, LT.lt, HMul.hMul, OfNat.ofNat

    Proof uses: Nat.recAux, Decidable.byContradiction, Not, HAdd.hAdd, Or, Eq, Eq.mpr, id, congrArg, And.left, And, GE.ge, Erdos12.P_n_def, LE.le, HPow.hPow, HSub.hSub, HDiv.hDiv, And.right

    34 instances, coercions and auxiliary constants left out.

    Tactic trace: 12 steps

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

  21. lemma Erdos12.prod_p_bound line 377 source

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

    Statement uses: Nat, LE.le, HPow.hPow, OfNat.ofNat, HAdd.hAdd, Finset.prod, Finset.range

    Proof uses: Nat.recAux, of_eq_true, Eq.trans, True, congrArg, zero_add, one_pow, pow_one, Eq.mpr, HMul.hMul, id, Eq, Finset.prod_range_succ, Nat.mul_le_mul, Eq.symm, Nat.pow_add, Mathlib.Tactic.Ring.of_eq, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Mathlib.Tactic.Ring.add_congr and 83 more

    112 instances, coercions and auxiliary constants left out.

    Tactic trace: 20 steps

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

  22. lemma Erdos12.P_n_bound line 397 source

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

    Statement uses: Nat, LE.le, HPow.hPow, OfNat.ofNat, HAdd.hAdd, Erdos12.P_n_def

    Proof uses: Eq.mpr, HMul.hMul, Finset.prod, Finset.range, id, Eq, congrArg, Erdos12.P_n_def.eq_1, Erdos12.prod_p_bound, Nat.mul_le_mul, Eq.symm, Nat.pow_add, Eq.refl, Mathlib.Tactic.Ring.of_eq, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Mathlib.Tactic.Ring.add_congr, Mathlib.Tactic.Ring.atom_pf, Mathlib.Tactic.Ring.cast_pos, Mathlib.Meta.NormNum.isNat_ofNat and 80 more

    94 instances, coercions and auxiliary constants left out.

    Tactic trace: 16 steps

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

  23. lemma Erdos12.exponent_bound line 412 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, GE.ge, HMul.hMul, Nat, LE.le, HAdd.hAdd, HPow.hPow, HSub.hSub

    Proof uses: le_of_not_gt, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, congrArg, Mathlib.Tactic.Ring.of_eq, Mathlib.Tactic.Ring.add_congr, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Int.rawCast, Int.negOfNat, Mathlib.Tactic.Ring.sub_congr, Mathlib.Tactic.Ring.cast_pos, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Mathlib.Meta.NormNum.instAtLeastTwo, Mathlib.Tactic.Ring.mul_congr, Mathlib.Tactic.Ring.atom_pf, Mathlib.Tactic.Ring.add_mul, Mathlib.Tactic.Ring.mul_add, Mathlib.Tactic.Ring.mul_pf_left and 62 more

    107 instances, coercions and auxiliary constants left out.

    Tactic trace: 11 steps

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

  24. lemma Erdos12.exists_valid_M_seq line 421 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, Nat, LE.le, HPow.hPow, HAdd.hAdd, Exists, Erdos12.ValidMSeq

    Proof uses: Nat.ceil, HDiv.hDiv, HMul.hMul, Exists.intro, GE.ge, Eq.mpr, id, Eq, congrArg, propext, lt_div_iff₀, lt_of_not_ge, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, HSub.hSub, Mathlib.Tactic.Ring.of_eq, Mathlib.Tactic.Ring.add_congr, Int.rawCast, Int.negOfNat, Nat.rawCast and 165 more

    216 instances, coercions and auxiliary constants left out.

    Tactic trace: 196 steps

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

  25. lemma Erdos12.B_seq_infinite line 574 source

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

    Statement uses: Nat, Set, LT.lt, HMul.hMul, OfNat.ofNat, HAdd.hAdd, HasSubset.Subset, Set.Icc, Set.Nonempty, Set.Infinite, Set.iUnion

    Proof uses: Set.infinite_of_forall_exists_gt, Membership.mem, Exists, And, Exists.intro, GE.ge, And.left, LE.le, Erdos12.M_n_growth, GT.gt, Decidable.byContradiction, Not, And.intro, Eq.mpr, id, Eq, congrArg, propext, Set.mem_iUnion

    25 instances, coercions and auxiliary constants left out.

    Tactic trace: 17 steps

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

  26. lemma Erdos12.B_seq_nonempty line 590 source

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

    Statement uses: Nat, GE.ge, HMul.hMul, OfNat.ofNat, Erdos12.P_n_def, GT.gt, Set.Nonempty, setOf, And, Membership.mem, Set, Set.Icc, Eq, HMod.hMod

    Proof uses: HSub.hSub, HAdd.hAdd, LT.lt, Nat.mod_lt, LE.le, Nat.le_add_right, Nat.add_lt_add_left, Nat.add_le_add_left, Mathlib.Tactic.Ring.of_eq, HPow.hPow, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Mathlib.Tactic.Ring.add_congr, Mathlib.Tactic.Ring.mul_congr, Mathlib.Tactic.Ring.cast_pos, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Mathlib.Tactic.Ring.atom_pf, Mathlib.Tactic.Ring.add_mul, Mathlib.Tactic.Ring.mul_add and 26 more

    44 instances, coercions and auxiliary constants left out.

    Tactic trace: 25 steps

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

  27. lemma Erdos12.B_seq_ncard line 623 source

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

    Statement uses: Nat, GE.ge, HMul.hMul, OfNat.ofNat, Erdos12.P_n_def, GT.gt, LE.le, Real, HSub.hSub, HDiv.hDiv, Set.ncard, setOf, And, Membership.mem, Set, Set.Icc, Eq, HMod.hMod

    Proof uses: Trans.simple, Finset.card, Finset.image, HAdd.hAdd, Finset.range, Iff.mpr, sub_le_iff_le_add, div_le_iff₀', Mathlib.Tactic.Bound.Nat.cast_pos_of_pos, cast, Eq.symm, Eq.trans, congrArg, Nat.cast_one, congr, le_of_lt, of_eq_true, LT.lt, True, funext and 93 more

    190 instances, coercions and auxiliary constants left out.

    Tactic trace: 26 steps

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

  28. lemma Erdos12.exists_M_n_and_B_n line 637 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, Nat, LE.le, HPow.hPow, HAdd.hAdd, Eq, HMod.hMod, Exists, Set, And, setOf, Membership.mem, Set.Icc, HMul.hMul, Erdos12.P_n_def, Set.Infinite, Set.iUnion and 5 more

    Proof uses: Erdos12.ValidMSeq, Erdos12.exists_valid_M_seq, Exists.intro, And.intro, Eq.refl, Erdos12.valid_M_seq_gap, And.left, GE.ge, HDiv.hDiv, And.right, HasSubset.Subset, Set.Nonempty, Erdos12.P_n_def_pos, Erdos12.B_seq_nonempty, Erdos12.B_seq_infinite, Eq.mpr, id, congrArg, propext, Filter.eventually_atTop and 117 more

    184 instances, coercions and auxiliary constants left out.

    Tactic trace: 61 steps

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

  29. lemma Erdos12.exists_sarkozy_seq_aux line 689 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, Exists, Nat, Set, And, Membership.mem, Eq, HMod.hMod, GE.ge, HMul.hMul, LE.le, Set.Infinite, Set.iUnion, Filter.Eventually, HPow.hPow, HSub.hSub, Set.ncard and 3 more

    Proof uses: Erdos12.exists_sarkozy_seq_aux.match_1, Ne, Nat.Prime, HAdd.hAdd, Erdos12.sarkozy_primes, Erdos12.exists_sarkozy_seq_aux.match_2, Erdos12.sarkozy_CRT, And.left, And.right, Erdos12.exists_sarkozy_seq_aux.match_3, setOf, Erdos12.P_n_def, Erdos12.exists_M_n_and_B_n, Exists.intro, And.intro, Erdos12.B_n_props, Eq.mpr, id, congrArg, Eq.symm

    48 instances, coercions and auxiliary constants left out.

    Tactic trace: 55 steps

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

  30. lemma Erdos12.exists_sarkozy_seq line 741 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, Exists, Nat, Set, Erdos12.IsGoodSarkozySeq

    Proof uses: And, Membership.mem, Eq, HMod.hMod, GE.ge, HMul.hMul, LE.le, Set.Infinite, Set.iUnion, Filter.Eventually, HPow.hPow, HSub.hSub, Set.ncard, Inter.inter, Set.Icc, Filter.atTop, Erdos12.exists_sarkozy_seq_aux, Exists.intro, Erdos12.sarkozy_seq_of_aux

    29 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

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

  31. lemma Erdos12.exists_good_set_dense_c_lt_1 line 747 source

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

    Statement uses: Real, GT.gt, OfNat.ofNat, LT.lt, Exists, Set, Nat, And, Erdos12.IsGood, Not, Set.Infinite, setOf, Set.ncard, Inter.inter, Set.Icc, HPow.hPow, HSub.hSub

    Proof uses: Erdos12.IsGoodSarkozySeq, Erdos12.exists_sarkozy_seq, Exists.intro, Set.iUnion, And.intro, Erdos12.sarkozy_implies_good, Iff, Filter.Eventually, Filter.atTop, Erdos12.not_infinite_iff_eventually, Eq.mpr, id, Eq, congrArg, propext, Filter.Eventually.mono, LE.le, And.right, Membership.mem, HAdd.hAdd and 4 more

    43 instances, coercions and auxiliary constants left out.

    Tactic trace: 11 steps

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

  32. theorem Erdos12.target_theorem_0 Erdős problem 12(ii): no universal power saving for every admissible set line 762 source

    L4DEL explanation

    The proof is similar to the previous one for Erdős #12(i), differing mainly in the use of a Behrend-style construction

    Let S be a set of non-negative integers < N no three of which form an arithmetical progression

    The proposed universal exponent c > 0 is false: one can construct an admissible infinite set whose counting function is at least N^(1-c) eventually for every chosen positive c. The theorem packages that negative answer as the failure of the asserted uniform sparse-subsequence bound.

    1. A Behrend-style sphere supplies dense finite sets with no three-term arithmetic progression.
    2. Chinese-remainder conditions place those sets in separated blocks while preventing the forbidden divisibility relation across blocks.
    3. The blocks are large enough that the union eventually exceeds every fixed N^(1-c) threshold.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written proof companion for Erdős 12(ii), Erdős Problems 12 source record, Felix Behrend (1946), original PNAS paper, p. 331

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

    Statement uses: Iff, False, Exists, Real, And, GT.gt, OfNat.ofNat, Set, Nat, Erdos12.IsGood, Set.Infinite, setOf, LT.lt, Set.ncard, Inter.inter, Set.Icc, HPow.hPow, HSub.hSub

    Proof uses: Iff.rfl, Eq.mpr, id, Eq, congrArg, propext, Iff.intro, False.elim, Min.min, HDiv.hDiv, lt_min, lt_of_not_ge, LE.le, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, HAdd.hAdd, Neg.neg, HMul.hMul, inferInstance, AddMonoidWithOne and 96 more

    119 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/ErdosProblems/erdos_12.parts.i.lean:1228 (different declaration text). Qualify references as Erdos12.target_theorem_0@path.

    Tactic trace: 32 steps

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

    theorem target_theorem_0
      : answer(False) ↔ ∃ c > (0 : ℝ), ∀ (A : Set ℕ), IsGood A → {N : ℕ | (A ∩ Icc 1 N).ncard < (N : ℝ) ^ (1 - c)}.Infinite := by
    …

    Mentions: Erdos12.IsGood