APNOutputs/ErdosProblems/erdos_741.parts.i.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: 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
121 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- def
Erdos741.S_xThe lower observation scale in the Erdős 741 counterexample line 79 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
S_x(k)=4^(3^k)is the rapidly growing left endpoint of thekth scale. Base four makes the digit split carry-free, while the double-exponential spacing prevents earlier added intervals from controlling the next density measurement.- Raise 4 to
3^k; the resulting scales race apart. - At
2*S_x(k), the proof measures how sparse the two monochromatic self-sumsets still are. - This Lean artifact uses the fixed-factor companion scale
S_y(k)=10*S_x(k); Ulam AI's written proof uses longerk*N_kintervals and explicitly distinguishes the constructions.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: propext what this means
Statement uses:
NatProof uses:
HPow.hPow,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
def S_x (k : ℕ) : ℕ := 4 ^ (3 ^ k)
- Raise 4 to
- def
Erdos741.S_yThe upper endpoint: ten times the lower scale line 80 sourceL4DEL explanation
Our proof uses the same underlying mechanism, but chooses the intervals Ik with length kNk rather than a fixed multiple of Nk .
S_y(k)=10*S_x(k)gives each added interval a fixed nine-scale-unit width. Those fat intervals later force many same-colour sums before the next enormous base-four scale arrives.- Start at
S_x(k)and end at ten times that value. - Compare partial densities at
2*S_x(k)and2*S_y(k). - Do not identify this fixed-multiple construction with Ulam AI's fully written variant, whose interval length grows like
k*N_k; the note says they share a mechanism, not identical intervals.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: propext what this means
Statement uses:
NatProof uses:
HMul.hMul,OfNat.ofNat,HPow.hPow6 instances, coercions and auxiliary constants left out.
def S_y (k : ℕ) : ℕ := 10 * 4 ^ (3 ^ k)
- Start at
- def
Erdos741.S_CThe sparse union of fat intervals that drives density oscillation line 82 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
S_Cis the union of every half-open interval[S_x(k),S_y(k)). Each interval is locally large, but the starting scales grow so quickly that earlier intervals become negligible at the next lower checkpoint.- Insert the full interval from
S_x(k)throughS_y(k)-1for everyk. - The intervals later provide a large block in whichever colour receives their elements.
- Their separation lets the proof alternate between sparse lower-scale behavior and dense upper-scale behavior.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: propext what this means
Statement uses:
Set,NatProof uses:
Set.iUnion,Set.Ico, Erdos741.S_x, Erdos741.S_y1 instances, coercions and auxiliary constants left out.
def S_C : Set ℕ := ⋃ k, Ico (S_x k) (S_y k)
Mentions: Erdos741.S_x, Erdos741.S_y
- Insert the full interval from
- def
Erdos741.split1Put each binary digit into the 0-or-1 part of a base-four number line 84 sourceL4DEL explanation
Every digit d ∈ {0, 1, 2, 3} has a unique decomposition
split1(n)recursively keeps the parity bit of each base-four digit. Its base-four digits are therefore only 0 or 1, which prevents carries when twoB1elements are added.- Take
n % 2as the current low digit. - Recurse on
n/4, shifting the result left by one base-four place. - Paired with
split2, the two digit streams add back to the original natural number.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,dite,Eq,OfNat.ofNat,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv12 instances, coercions and auxiliary constants left out.
noncomputable def split1 (n : ℕ) : ℕ := …
- Take
- def
Erdos741.split2Put the complementary 0-or-2 contribution into the second base-four stream line 88 sourceL4DEL explanation
Every digit d ∈ {0, 1, 2, 3} has a unique decomposition
split2(n)keepsn % 4 - n % 2at each digit, so its base-four digits are 0 or 2. Digit by digit,split1(n)+split2(n)=nwithout a carry.- Remove the parity contribution from the current base-four digit.
- Recurse on
n/4and shift by a factor of four. - The complementary digits are the coverage half of the construction; each half's self-sums remain sparse.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,dite,Eq,OfNat.ofNat,Not,HAdd.hAdd,HSub.hSub,HMod.hMod,HMul.hMul,HDiv.hDiv14 instances, coercions and auxiliary constants left out.
noncomputable def split2 (n : ℕ) : ℕ := …
- def
Erdos741.B1The carry-free base-four set with digits 0 and 1 line 92 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
B1is the range ofsplit1. Its elements use only 0-or-1 base-four digits, makingB1+B1digitwise sparse even thoughB1+B2will cover every natural number.- Collect every output of
split1. - Two such outputs can only produce base-four sum digits 0, 1, or 2.
- This supplies one sparse monochromatic channel in the partition argument.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Set.range, Erdos741.split1def B1 : Set ℕ := Set.range split1
Mentions: Erdos741.split1
- Collect every output of
- def
Erdos741.B2The complementary carry-free base-four set with digits 0 and 2 line 93 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
B2is the range ofsplit2. It is the digitwise complement toB1: together the two sets represent every natural, whileB2+B2has the same sparse-count phenomenon asB1+B1.- Collect every output of
split2. - Its digits are 0 or 2, equivalently twice the 0-or-1 digit pattern.
- Pair each
split2(n)withsplit1(n)to recovern.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Set.range, Erdos741.split2def B2 : Set ℕ := Set.range split2
Mentions: Erdos741.split2
- Collect every output of
- def
Erdos741.Bline 94 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Union.union, Erdos741.B1, Erdos741.B21 instances, coercions and auxiliary constants left out.
- def
Erdos741.SandorAThe strict-natural-density counterexample set line 96 sourceL4DEL explanation
Our proof uses the same underlying mechanism, but chooses the intervals Ik with length kNk rather than a fixed multiple of Nk .
SandorAjoins the carry-free covering setB1∪B2to the sparse union of fat intervalsS_C. Coverage makesSandorA+SandorAall naturals; the intervals make every two-colouring oscillate too much for both monochromatic self-sumsets to have positive natural-density limits.- Begin with
B1∪B2, whose cross-sums cover all naturals. - Add the fixed-factor intervals
[S_x(k),S_y(k)), withS_y(k)=10*S_x(k), to force large local blocks of same-colour sums. - Use widely separated checkpoints to turn these two features into a convergence contradiction.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Union.union, Erdos741.B, Erdos741.S_C1 instances, coercions and auxiliary constants left out.
def SandorA : Set ℕ := B ∪ S_C
Mentions: Erdos741.B, Erdos741.S_C
- Begin with
- lemma
Erdos741.split1_boundline 98 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le, Erdos741.split1,HMul.hMulProof uses:
Nat.strongRecOn,LT.lt,dite,Eq,OfNat.ofNat,Eq.mpr,id,congrArg,Not,HAdd.hAdd,HMod.hMod,HDiv.hDiv,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,congr,dite_cond_eq_true,eq_self,MulZeroClass.mul_zeroand 39 more56 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_modline 141 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HMod.hMod, Erdos741.split1,OfNat.ofNatProof uses:
HAdd.hAdd,HMul.hMul,HDiv.hDiv,dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split1.eq_1,dite_cond_eq_falseand 2 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_modline 151 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HMod.hMod,HAdd.hAdd, Erdos741.split1,OfNat.ofNatProof uses:
Eq, Erdos741.split1_mod,Decidable.byContradiction,Not,HMul.hMul,HDiv.hDiv,LT.lt27 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_divline 162 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HDiv.hDiv, Erdos741.split1,OfNat.ofNatProof uses:
HAdd.hAdd,HMod.hMod,HMul.hMul,dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split1.eq_1,dite_cond_eq_falseand 2 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_divline 172 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HDiv.hDiv,HAdd.hAdd, Erdos741.split1,OfNat.ofNatProof uses:
HMod.hMod,HMul.hMul,dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split1.eq_1,dite_cond_eq_false,eq_falseand 1 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_digitline 189 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HMod.hMod,HDiv.hDiv,HAdd.hAdd, Erdos741.split1,HPow.hPow,OfNat.ofNatProof uses:
Nat.recAux,Eq.mpr,id,Eq,congrArg,Nat.div_one, Erdos741.B1_sum_mod,HMul.hMul,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Mathlib.Tactic.Ring.pow_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Tactic.Ring.add_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.add_pf_add_gt,Mathlib.Tactic.Ring.add_pf_add_zero,Mathlib.Tactic.Ring.pow_addand 16 more39 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_no_digit3line 201 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set,HAdd.hAdd, Erdos741.B1,Ne,HMod.hMod,HDiv.hDiv,HPow.hPow,OfNat.ofNatProof uses:
And,Exists,Eq, Erdos741.split1,LE.le, Erdos741.B1_sum_digit,of_decide_eq_true,False,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mp,congrArg31 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.base3_to_base4line 211 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,dite,Eq,OfNat.ofNat,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv12 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.base3_to_base4_boundline 215 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,HPow.hPow,OfNat.ofNat, Erdos741.base3_to_base4Proof uses:
Nat.recAux,Eq,Decidable.byContradiction,Not,Eq.mpr,id,congrArg,dite,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv,Erdos741.base3_to_base4.eq_def,of_eq_true,Eq.trans,True,congr,dite_cond_eq_true,eq_self,pow_zeroand 35 more73 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.base3_to_base4_lt_4_powline 241 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,HPow.hPow,OfNat.ofNat, Erdos741.base3_to_base4Proof uses: Erdos741.base3_to_base4_bound
10 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.missing_3_exists_base3line 243 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Ne,HMod.hMod,HDiv.hDiv,HPow.hPow,OfNat.ofNat,Exists,Eq, Erdos741.base3_to_base4Proof uses:
Nat.strongRecOn,LT.lt,dite,Exists.intro,Eq.mpr,id,congrArg,Not,HAdd.hAdd,HMul.hMul,Erdos741.base3_to_base4.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Decidable.byContradiction,Eq.mp,Nat.div_one,Mathlib.Tactic.Ring.of_eqand 34 more63 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.base3_to_base4_lt_4_pow_iffline 287 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Iff,LT.lt, Erdos741.base3_to_base4,HPow.hPow,OfNat.ofNatProof uses:
Eq.mpr,id,Eq,congrArg,Eq.symm,propext,Nat.pow_lt_pow_iff_left,LT.lt.ne',Nat.two_pow_pos,dite,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv,Erdos741.base3_to_base4.eq_1,Trans.simple,WellFounded.Nat.fix,InvImage,Nat.ofDigitsand 89 more97 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_subset_imageline 299 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,HasSubset.Subset,Set,Inter.inter,HAdd.hAdd, Erdos741.B1,Set.Iio,HPow.hPow,OfNat.ofNat,Set.image, Erdos741.base3_to_base4Proof uses:
Membership.mem,And.left,LT.lt,And.right,Ne,HMod.hMod,HDiv.hDiv, Erdos741.B1_sum_no_digit3,Eq,Exists, Erdos741.missing_3_exists_base3,Exists.intro,And,And.intro,Decidable.byContradiction,Not,Iff.mp, Erdos741.base3_to_base4_lt_4_pow_iff,Eq.symm28 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_ncardBelow4^d, the first self-sumset has at most3^dvalues line 312 sourceL4DEL explanation
Every digit d ∈ {0, 1, 2, 3} has a unique decomposition
A sum of two 0-or-1 base-four digit strings never has digit 3. There are only three choices at each of the first
dpositions, hence at most3^dpossible sums below4^d.- Prove each base-four digit of a
B1+B1value lies in{0,1,2}. - Encode those
ddigits as a base-three number. - Injectivity gives the cardinality bound
3^d, negligible beside4^d.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.B1,Set.Iio,HPow.hPow,OfNat.ofNatProof uses:
HasSubset.Subset,Set.image, Erdos741.base3_to_base4, Erdos741.B1_sum_subset_image,Set.Finite,Set.finite_Iio,Set.ncard_image_le,Eq,of_eq_true,Eq.trans,True,congrArg,Nat.ncard_Iio,eq_self,eq_true,True.intro,Set.ncard_le_ncard,Set.Finite.image,Decidable.byContradiction,Not26 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
lemma B1_sum_ncard (d : ℕ) : ((B1 + B1) ∩ Iio (4^d)).ncard ≤ 3^d := by …
Mentions: Erdos741.B1
- Prove each base-four digit of a
- lemma
Erdos741.split2_evenline 321 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HMod.hMod, Erdos741.split2,OfNat.ofNatProof uses:
Nat.strongRecOn,LT.lt,dite,Eq.mpr,id,congrArg,Not,HAdd.hAdd,HSub.hSub,HMul.hMul,HDiv.hDiv,Erdos741.split2.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Erdos741.split2.eq_1,dite_cond_eq_false,eq_falseand 1 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_evenline 335 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HMod.hMod,HAdd.hAdd, Erdos741.split2,OfNat.ofNatProof uses: Erdos741.split2_even,
Decidable.byContradiction,Not12 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_eq_two_mul_split1line 340 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split2,HMul.hMul,OfNat.ofNat, Erdos741.split1,HDiv.hDivProof uses:
Nat.strongRecOn,LT.lt,dite,Eq.mpr,id,congrArg,Not,HAdd.hAdd,HSub.hSub,HMod.hMod,Erdos741.split2.eq_def,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,congr,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zeroand 6 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 28 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_digitline 364 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HMod.hMod,HDiv.hDiv,HAdd.hAdd, Erdos741.split2,OfNat.ofNat,HPow.hPowProof uses:
Eq,HMul.hMul, Erdos741.split1, Erdos741.split2_eq_two_mul_split1,Decidable.byContradiction,Not,Eq.mpr,id,congrArg, Erdos741.B1_sum_digit27 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_no_digit3line 372 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set,HAdd.hAdd, Erdos741.B2,Ne,HMod.hMod,HDiv.hDiv,OfNat.ofNat,HPow.hPowProof uses:
And,Exists,Eq, Erdos741.split2,LE.le, Erdos741.B2_sum_digit,of_decide_eq_true,False,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mp,congrArg31 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_subset_imageline 384 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,HasSubset.Subset,Set,Inter.inter,HAdd.hAdd, Erdos741.B2,Set.Iio,HPow.hPow,OfNat.ofNat,Set.image,HMul.hMul, Erdos741.base3_to_base4Proof uses:
Membership.mem,And.left,LT.lt,And.right,Eq,HMod.hMod,And,Exists, Erdos741.split2, Erdos741.B2_sum_even,Ne,HDiv.hDiv, Erdos741.B2_sum_no_digit3, Erdos741.missing_3_exists_base3,Exists.intro,And.intro,Trans.trans,LE.le,Eq.symm,Decidable.byContradictionand 7 more39 instances, coercions and auxiliary constants left out.
Tactic trace: 22 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_ncardThe second carry-free self-sumset obeys the same3^dbound line 406 sourceL4DEL explanation
Every digit d ∈ {0, 1, 2, 3} has a unique decomposition
Because the 0-or-2 digit set is twice the 0-or-1 digit set, its self-sums below the matching power-of-four scale also have at most
3^dpossibilities.- Reduce
B2digits to the correspondingB1digit pattern. - Transfer the no-fourth-digit-choice counting argument.
- This keeps both pure self-sum channels sparse at the lower checkpoints.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.B2,Set.Iio,HPow.hPow,OfNat.ofNatProof uses:
HasSubset.Subset,Set.image,HMul.hMul, Erdos741.base3_to_base4, Erdos741.B2_sum_subset_image,Set.Finite,Set.finite_Iio,Set.ncard_image_le,Eq,of_eq_true,Eq.trans,True,congrArg,Nat.ncard_Iio,eq_self,eq_true,True.intro,Set.ncard_le_ncard,Set.Finite.image,Decidable.byContradictionand 1 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
lemma B2_sum_ncard (d : ℕ) : ((B2 + B2) ∩ Iio (4^d)).ncard ≤ 3^d := by …
Mentions: Erdos741.B2
- Reduce
- lemma
Erdos741.split_addline 415 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HAdd.hAdd, Erdos741.split1, Erdos741.split2Proof uses:
Nat.strongRecOn,LT.lt,dite,OfNat.ofNat,Eq.mpr,id,congrArg,Not,HMod.hMod,HMul.hMul,HDiv.hDiv,Erdos741.split1.eq_def,HSub.hSub,Erdos741.split2.eq_def,of_eq_true,Eq.trans,True,congr,dite_cond_eq_true,eq_selfand 7 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_add_B2_eq_univThe two complementary digit sets add to every natural number line 435 sourceL4DEL explanation
Every digit d ∈ {0, 1, 2, 3} has a unique decomposition
For each natural
n, the construction splits every base-four digit uniquely betweensplit1(n)andsplit2(n). Thusnbelongs toB1+B2, and the cross-sumset is exactly all naturals.- Choose
split1(n)fromB1andsplit2(n)fromB2. - Apply the digitwise identity
split1(n)+split2(n)=n. - Since
nwas arbitrary, concludeB1+B2=Set.univ.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
Eq,Set,Nat,HAdd.hAdd, Erdos741.B1, Erdos741.B2,Set.univProof uses:
Set.ext,Eq.mpr,Iff,Membership.mem,Exists,And,id,Eq.trans,True,congr,congrArg,iff_true,Exists.intro, Erdos741.split1,And.intro,Set.mem_range_self, Erdos741.split2, Erdos741.split_add9 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
lemma B1_add_B2_eq_univ : B1 + B2 = Set.univ := by …
Mentions: Erdos741.B1, Erdos741.B2
- Choose
- lemma
Erdos741.B_add_B_eq_univline 446 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Eq,Set,Nat,HAdd.hAdd, Erdos741.B,Set.univProof uses:
HasSubset.Subset, Erdos741.B1, Erdos741.B2,Set.add_subset_add,Set.subset_union_left,Set.subset_union_right,Iff.mp,Set.univ_subset_iff,Eq.mp,congrArg, Erdos741.B1_add_B2_eq_univ7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SandorA_add_SandorA_eq_univThe counterexample's full self-sumset is all naturals line 451 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
SandorAcontains bothB1andB2, and their cross-sumset already equals every natural number. Enlarging the summand set cannot lose those representations, soSandorA+SandorA=Set.univ.- Embed
B1+B2into(B1∪B2)+(B1∪B2). - Embed that sumset into
SandorA+SandorA. - Use
B1+B2=Set.univ; a superset of the universe is the universe.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Quot.sound, propext what this means
Statement uses:
Eq,Set,Nat,HAdd.hAdd, Erdos741.SandorA,Set.univProof uses:
HasSubset.Subset, Erdos741.B,Set.add_subset_add,Set.subset_union_left, Erdos741.S_C,Iff.mp,Set.univ_subset_iff,Eq.mp,congrArg, Erdos741.B_add_B_eq_univ7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
lemma SandorA_add_SandorA_eq_univ : SandorA + SandorA = Set.univ := by …
Mentions: Erdos741.SandorA
- Embed
- lemma
Erdos741.univ_has_density_oneline 456 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set.HasDensity,Nat,Set.univ,OfNat.ofNat,RealProof uses:
GT.gt,Eq,HDiv.hDiv,Set.ncard,Inter.inter,Set,Set.Iio,Set.univ_inter,of_eq_true,Eq.trans,True,congrArg,Nat.ncard_Iio,eq_self,eq_true,True.intro,Eq.mpr,id,div_self,ne_of_gtand 4 more45 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.univ_has_pos_densityline 465 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set.HasPosDensity,Nat,Set.univProof uses:
Exists.intro,Real,And,GT.gt,OfNat.ofNat,Set.HasDensity,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_zero,Nat.cast_one,Eq.refl,Bool,Bool.false, Erdos741.univ_has_density_one21 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SandorA_has_pos_densityThe full sumset has natural density one line 471 sourceL4DEL explanation
The key point is that B1 + B2 = N0 , while the long intervals Ik force large local oscillations
Since
SandorA+SandorAisSet.univ, its partial-density sequence is constantly one after the zero scale. This provesHasPosDensityin the strict sense used here: a positive natural-density limit exists.- Rewrite the self-sumset as
Set.univ. - Use the theorem that the universe has density 1.
- Package that limit with
1>0asHasPosDensity.
Sources and attribution: Pinned Lean source (0647711a7118), Formal Conjectures density definitions, Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set.HasPosDensity,Nat,HAdd.hAdd,Set, Erdos741.SandorA,Set.univProof uses:
Eq.mpr,id,Eq,congrArg, Erdos741.SandorA_add_SandorA_eq_univ, Erdos741.univ_has_pos_density14 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
lemma SandorA_has_pos_density : HasPosDensity (SandorA + SandorA) := by …
Mentions: Erdos741.SandorA
- Rewrite the self-sumset as
- lemma
Erdos741.tendsto_Sxline 475 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Filter.Tendsto,Nat, Erdos741.S_x,Filter.atTopProof uses:
Iff.mpr,Exists,LE.le,Filter.tendsto_atTop_atTop,Exists.intro,GE.ge,HPow.hPow,OfNat.ofNat,LT.lt.le,Nat.lt_pow_self,of_decide_eq_true,LT.lt,id,Eq,Bool,Decidable.decide,Bool.true,Eq.refl,rfl,Decidable.byContradictionand 1 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.tendsto_Syline 485 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Filter.Tendsto,Nat, Erdos741.S_y,Filter.atTopProof uses:
Iff.mpr,Exists,LE.le,Filter.tendsto_atTop_atTop,Exists.intro,GE.ge,HPow.hPow,OfNat.ofNat,LT.lt.le,Nat.lt_pow_self,of_decide_eq_true,LT.lt,id,Eq,Bool,Decidable.decide,Bool.true,Eq.refl,HMul.hMul,rfland 2 more26 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.finset_card_addline 495 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,Nat,Finset.Nonempty,GE.ge,Finset.card,HAdd.hAdd,HSub.hSub,OfNat.ofNatProof uses:
Function.comp,Not,LT.lt,Finset.image,Finset.min',Finset.max',Inter.inter,LE.le,LE.le.trans',LE.le.trans,Union.union,Eq.ge,Finset.card_union,Finset.card_mono,of_eq_true,HasSubset.Subset,Eq.trans,True,congrArg,funextand 37 more52 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.finset_card_add_sameline 504 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,Nat,Finset.Nonempty,GE.ge,Finset.card,HAdd.hAdd,HSub.hSub,HMul.hMul,OfNat.ofNatProof uses:
Function.comp,Not,LT.lt,Finset.image,Finset.min',Finset.max',Inter.inter,LE.le,LE.le.trans',LE.le.trans,Union.union,Eq.ge,Finset.card_union,Finset.card_mono,of_eq_true,HasSubset.Subset,Eq.trans,Membership.mem,True,DecidableEqand 39 more62 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.set_add_shift_injline 513 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Membership.mem,LE.le,GE.ge,Real,Set.ncard,Inter.inter,Set.Ico,HSub.hSub,HAdd.hAddProof uses:
cast,Eq.symm,Set.ncard_le_ncard_of_injOn,And.imp,Exists.intro,And,Exists,Eq,And.intro,Eq.refl,Function.comp,LT.lt,And.symm,And.rec,Decidable.byContradiction,Not,Nat.add_right_cancel,Set.toFinite46 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.set_shift_size_lower_boundline 517 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,LE.le,GE.ge,Real,Set.ncard,Inter.inter,Set.Ico,HSub.hSubProof uses:
Iff.mpr,HAdd.hAdd,sub_le_iff_le_add,cast,Eq.symm,Eq.trans,congrArg,LE.le.trans,Nat.card,Union.union,Finset,Finset.Ico,Nat.card_mono,Membership.mem,Set.ncard_union_le,Eq.le,congr_arg,Eq.rec,Finset.card,Eqand 4 more59 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_eq_addline 521 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split1,HAdd.hAdd,HMod.hMod,OfNat.ofNat,HMul.hMul,HDiv.hDivProof uses:
dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split1.eq_1,dite_cond_eq_false,eq_false25 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_eq_addline 526 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split2,HAdd.hAdd,HSub.hSub,HMod.hMod,OfNat.ofNat,HMul.hMul,HDiv.hDivProof uses:
dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split2.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,tsub_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split2.eq_1,dite_cond_eq_false,eq_false36 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_eq_add'line 531 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split1,HAdd.hAdd,HMod.hMod,OfNat.ofNat,HMul.hMul,HDiv.hDivProof uses:
dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split1.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split1.eq_1,dite_cond_eq_false,eq_false25 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_eq_add'line 539 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split2,HAdd.hAdd,HSub.hSub,HMod.hMod,OfNat.ofNat,HMul.hMul,HDiv.hDivProof uses:
dite,Eq.mpr,id,congrArg,Not,congr,Erdos741.split2.eq_def,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self,tsub_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,Erdos741.split2.eq_1,dite_cond_eq_false,eq_false36 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_split2_modline 547 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HMod.hMod,HAdd.hAdd, Erdos741.split1, Erdos741.split2,OfNat.ofNat,HSub.hSubProof uses:
HMul.hMul,HDiv.hDiv, Erdos741.split1_eq_add', Erdos741.split2_eq_add',Decidable.byContradiction,Not,LT.lt24 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_split2_divline 554 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,HDiv.hDiv,HAdd.hAdd, Erdos741.split1, Erdos741.split2,OfNat.ofNatProof uses:
HMod.hMod,HMul.hMul, Erdos741.split1_eq_add',HSub.hSub, Erdos741.split2_eq_add',Decidable.byContradiction,Not,LT.lt22 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_zeroline 561 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Eq,Nat, Erdos741.split1,OfNat.ofNatProof uses:
Eq.mpr,dite,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv,id,congrArg,Erdos741.split1.eq_1,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self11 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_zeroline 565 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Eq,Nat, Erdos741.split2,OfNat.ofNatProof uses:
Eq.mpr,dite,Not,HAdd.hAdd,HSub.hSub,HMod.hMod,HMul.hMul,HDiv.hDiv,id,congrArg,Erdos741.split2.eq_1,of_eq_true,Eq.trans,True,dite_cond_eq_true,eq_self13 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_add_base_helperline 569 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HAdd.hAdd,Eq, Erdos741.split1, Erdos741.split2Proof uses:
Nat.strongRecOn,LT.lt,dite,And,OfNat.ofNat,Eq.mpr,id,congrArg, Erdos741.split1_zero, Erdos741.split2_zero,add_zero,Eq.refl,Eq.symm,Not,HMod.hMod,HSub.hSub, Erdos741.split1_split2_mod,HDiv.hDiv, Erdos741.split1_split2_div,HMul.hMuland 3 more33 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_split2_add_split1line 590 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split1,HAdd.hAdd, Erdos741.split2Proof uses: Erdos741.split1_add_base_helper,
Decidable.byContradiction,LE.le,Not7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_add_base_helperline 593 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HAdd.hAdd,Eq, Erdos741.split2, Erdos741.split1Proof uses:
Nat.strongRecOn,LT.lt,dite,And,OfNat.ofNat,Eq.mpr,id,congrArg, Erdos741.split1_zero, Erdos741.split2_zero,add_zero,Eq.refl,Eq.symm,Not,HMod.hMod,HSub.hSub, Erdos741.split1_split2_mod,HDiv.hDiv, Erdos741.split1_split2_div,HMul.hMuland 3 more33 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_split2_add_split2line 614 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split2,HAdd.hAdd, Erdos741.split1Proof uses: Erdos741.split2_add_base_helper,
Decidable.byContradiction,LE.le,Not7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split1_add_baseline 617 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set, Erdos741.B1, Erdos741.B2,Eq, Erdos741.split1,HAdd.hAddProof uses: Erdos741.split2, Erdos741.split1_split2_add_split1
8 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.split2_add_baseline 622 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set, Erdos741.B1, Erdos741.B2,Eq, Erdos741.split2,HAdd.hAddProof uses: Erdos741.split1, Erdos741.split1_split2_add_split2
8 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.cross_term_disjointline 627 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Disjoint,HAdd.hAdd,Inter.inter, Erdos741.B1, Erdos741.B2Proof uses:
Eq.mpr,Eq,EmptyCollection.emptyCollection,id,congrArg,propext,Set.disjoint_iff_inter_eq_empty,Set.ext,Iff,Membership.mem,Exists,And,Not,Eq.trans,False,congr,funext,iff_false, Erdos741.split1,Eq.symmand 4 more42 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.sum_size_boundline 653 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,LE.le,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio,HMul.hMulProof uses:
HasSubset.Subset,Set.image,Prod,Prod.fst,Prod.snd,SProd.sprod,Membership.mem,And,Exists,Eq,And.left,Exists.intro,Prod.mk,LT.lt,And.right,Decidable.byContradiction,Not,And.intro,rfl,Set.Finiteand 8 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.uv_bound_algebraline 668 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LE.le,HMul.hMul,HSub.hSub,OfNat.ofNat,HAdd.hAddProof uses:
le_of_not_gt,LT.lt,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.mul_congr,Mathlib.Tactic.Ring.add_mul,Mathlib.Tactic.Ring.mul_add,Mathlib.Tactic.Ring.mul_pf_leftand 42 more82 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.density_le_oneline 680 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,Set.univ,LE.le,OfNat.ofNatProof uses:
le_of_tendsto',HMul.hMul,Set.ncard,Inter.inter,Set.Iio,Inv.inv,Filter.atTop,Eq.mp,Filter.Tendsto,Set.partialDensity,nhds,congrArg,HDiv.hDiv,funext,div_eq_mul_inv,div_le_one_of_le₀,cast,Eq.symm,Nat.card_mono,And.imp_leftand 3 more84 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.density_ge_zeroline 684 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,Set.univ,GE.ge,OfNat.ofNatProof uses:
id,ge_of_tendsto',Set.partialDensity,Filter.atTop,div_nonneg,Set.ncard,Inter.inter,Set.Iio,Nat.cast_nonneg59 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.sum_size_bound_epsline 688 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,LE.le,Real,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio,HMul.hMulProof uses: Erdos741.sum_size_bound,
cast,Eq.symm,Eq.trans,congrArg41 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_B2_cross_boundline 693 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq,Real,HMul.hMul,LE.le,HDiv.hDiv,Set.ncard,Inter.inter,HAdd.hAdd, Erdos741.B1, Erdos741.B2,Set.IioProof uses: Erdos741.sum_size_bound_eps,
Eq.mpr,id,congrArg,Mathlib.Tactic.Ring.of_eq,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Inv.inv,OfNat.ofNat,Mathlib.Tactic.Ring.div_congr,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,Mathlib.Tactic.Ring.mul_pf_right,Mathlib.Tactic.Ring.one_mul,Mathlib.Tactic.Ring.mul_zero,Mathlib.Tactic.Ring.add_pf_add_zeroand 61 more116 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.Sx_eq_sqline 702 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real, Erdos741.S_x,HMul.hMul,HPow.hPow,OfNat.ofNatProof uses:
rfl,Trans.trans,Eq.mpr,id,congrArg,Eq.refl,mul_pow,congr,Eq.trans,Nat.cast_mul,Nat.cast_pow36 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.Mk_posline 710 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GT.gt,Real,HPow.hPow,OfNat.ofNatProof uses:
pow_pos,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Bool,Nat.ble32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.base2_to_base4line 712 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,dite,Eq,OfNat.ofNat,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv12 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.base2_to_base4_lt_4_powline 716 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Iff,LT.lt, Erdos741.base2_to_base4,HPow.hPow,OfNat.ofNatProof uses:
Eq.mpr,HMul.hMul,id,Eq,congrArg,Eq.symm,Nat.mul_pow,Eq.refl,dite,Not,HAdd.hAdd,HMod.hMod,HDiv.hDiv,Erdos741.base2_to_base4.eq_1,Erdos741.base2_to_base4_lt_4_pow.match_2,WellFounded.Nat.fix,InvImage,Unit,of_eq_true,Eq.transand 41 more121 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.extract_binaryline 724 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
NatProof uses:
WellFounded.Nat.fix,InvImage,LT.lt,dite,Eq,OfNat.ofNat,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv12 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.split1_eq_base2_to_base4line 728 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Erdos741.split1, Erdos741.base2_to_base4, Erdos741.extract_binaryProof uses:
id,Nat.strongRec,WellFounded.Nat.fix,InvImage,LT.lt,dite,OfNat.ofNat,Not,HAdd.hAdd,HMod.hMod,HMul.hMul,HDiv.hDiv,Even,Odd,Or,Nat.even_or_odd,Ne,eq_or_ne,HEq,Eq.refland 48 more80 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_subset_base2_to_base4line 741 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set, Erdos741.B1,Exists,Eq, Erdos741.base2_to_base4Proof uses: Erdos741.split1,
Exists.intro, Erdos741.extract_binary,Eq.mpr,id,congrArg, Erdos741.split1_eq_base2_to_base4,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_Iio_boundline 746 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Set.ncard,Inter.inter,Set, Erdos741.B1,Set.Iio,HPow.hPow,OfNat.ofNatProof uses:
HasSubset.Subset,Set.image, Erdos741.base2_to_base4,Membership.mem,Eq,Exists, Erdos741.B1_subset_base2_to_base4,And.left,Exists.intro,And,LT.lt,Eq.mpr,id,congrArg,Eq.symm,And.right,And.intro,Iff.mp, Erdos741.base2_to_base4_lt_4_pow,Set.Finiteand 13 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_eq_2_B1line 762 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Membership.mem,Set, Erdos741.B2,Exists,And, Erdos741.B1,Eq,HMul.hMul,OfNat.ofNatProof uses: Erdos741.split2,
Exists.intro, Erdos741.split1,HDiv.hDiv,And.intro,rfl, Erdos741.split2_eq_two_mul_split112 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_Iio_boundline 767 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Set.ncard,Inter.inter,Set, Erdos741.B2,Set.Iio,HPow.hPow,OfNat.ofNatProof uses:
HasSubset.Subset,Set.image,HMul.hMul, Erdos741.B1,Membership.mem,And,Eq,Exists, Erdos741.B2_eq_2_B1,And.left,Exists.intro,LT.lt,And.right,Decidable.byContradiction,Not,And.intro,rfl,Eq.symm,Set.Finite,Set.Finite.subsetand 6 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.x_seqline 782 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,RealProof uses:
HDiv.hDiv,Set.ncard,Inter.inter, Erdos741.B1,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNat11 instances, coercions and auxiliary constants left out.
- def
Erdos741.y_seqline 783 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,RealProof uses:
HDiv.hDiv,Set.ncard,Inter.inter, Erdos741.B2,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNat11 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.x_seq_boundsline 785 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,And,LE.le,Real,OfNat.ofNat, Erdos741.x_seqProof uses:
And.intro,div_nonneg,Set.ncard,Inter.inter, Erdos741.B1,Set.Iio, Erdos741.S_x,HPow.hPow,Nat.cast_nonneg,le_of_lt,Iff.mpr,LT.lt,Nat.cast_pos',pow_pos,inferInstance,PartialOrder,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Booland 21 more87 instances, coercions and auxiliary constants left out.
Tactic trace: 23 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.y_seq_boundsline 803 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,And,LE.le,Real,OfNat.ofNat, Erdos741.y_seqProof uses:
And.intro,div_nonneg,Set.ncard,Inter.inter, Erdos741.B2,Set.Iio, Erdos741.S_x,HPow.hPow,Nat.cast_nonneg,le_of_lt,Iff.mpr,LT.lt,Nat.cast_pos',pow_pos,inferInstance,PartialOrder,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Booland 21 more87 instances, coercions and auxiliary constants left out.
Tactic trace: 23 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A1_cross_boundline 821 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter,HAdd.hAdd, Erdos741.B1, Erdos741.B2,Set.Iio, Erdos741.S_x,HMul.hMul, Erdos741.x_seq, Erdos741.y_seqProof uses:
Eq,HPow.hPow,OfNat.ofNat, Erdos741.Sx_eq_sq, Erdos741.B1_B2_cross_bound30 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B1_sum_Iio_boundline 827 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Real,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.B1,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNatProof uses:
Eq,rfl, Erdos741.B1_sum_ncard,Eq.mpr,id,congrArg,cast,Eq.symm,Eq.trans52 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B2_sum_Iio_boundline 833 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Real,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.B2,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNatProof uses:
Eq,rfl, Erdos741.B2_sum_ncard,Eq.mpr,id,congrArg,cast,Eq.symm,Eq.trans52 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SC_Iio_boundline 839 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,Real,Set.ncard,Inter.inter,Set, Erdos741.S_C,Set.Iio, Erdos741.S_x, Erdos741.S_y,HSub.hSubProof uses:
id,Function.comp,Nat.card,Finset,Finset.biUnion,Finset.range,Finset.Ico,HPow.hPow,HMul.hMul,Set.iUnion,Set.Ico,Iff.mpr,Nat.cast_le,LE.le.trans,Nat.card_mono,Finset.finite_toSet,Membership.mem,And,Exists,Finset.mem_biUnionand 129 more156 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SC_sum_boundline 845 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,Real,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.S_C,Set.Iio, Erdos741.S_x,HMul.hMul, Erdos741.S_y,HSub.hSubProof uses: Erdos741.sum_size_bound_eps, Erdos741.SC_Iio_bound,
le_of_not_gt,LT.lt,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.mul_congr,Mathlib.Tactic.Ring.add_mul,Mathlib.Tactic.Ring.mul_addand 39 more91 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B_Iio_boundline 850 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Real,Set.ncard,Inter.inter,Set, Erdos741.B,Set.Iio, Erdos741.S_x,HMul.hMul,OfNat.ofNat,HPow.hPowProof uses:
Eq,rfl,Eq.mpr,id,congrArg,HasSubset.Subset,Union.union, Erdos741.B1, Erdos741.B2,Membership.mem,Or.inl,And.intro,Or.inr,Set.Finite,Set.Finite.subset,Set.finite_Iio,Set.inter_subset_right,HAdd.hAdd,Set.ncard_union_le,Trans.transand 66 more95 instances, coercions and auxiliary constants left out.
Tactic trace: 26 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SC_B_boundline 871 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,Real,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.S_C, Erdos741.B,Set.Iio, Erdos741.S_x,HMul.hMul, Erdos741.S_y,HSub.hSub,HPow.hPowProof uses: Erdos741.sum_size_bound_eps, Erdos741.SC_Iio_bound, Erdos741.B_Iio_bound,
le_of_not_gt,LT.lt,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.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.mul_congr,Mathlib.Tactic.Ring.add_mul,Mathlib.Tactic.Ring.mul_addand 44 more104 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.ncard_union_le_6line 877 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,LE.le,Real,Set.ncard,Union.union,HAdd.hAddProof uses:
cast,Nat,Eq.symm,Eq.trans,congrArg,LE.le.trans,Set.ncard_union_le,Nat.add_le_add_right,refl32 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A1_subset_SandorAline 880 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,HasSubset.Subset, Erdos741.B1, Erdos741.B2, Erdos741.S_CProof uses:
Membership.mem,Eq.mpr,id,congrArg,Or.inl, Erdos741.B,Or.inr5 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A1_sum_subsetline 891 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,HasSubset.Subset,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x, Erdos741.B1, Erdos741.B2, Erdos741.B, Erdos741.S_CProof uses:
Membership.mem,And,Exists, Erdos741.A1_subset_SandorA,Or.inl,Or.inr,And.intro,Exists.intro,rfl,Nat.add_comm18 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B_SC_commline 911 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real,Set.ncard,Inter.inter,Set,HAdd.hAdd, Erdos741.B, Erdos741.S_C,Set.Iio, Erdos741.S_xProof uses:
add_comm,Eq.mpr,id,congrArg,Eq.refl17 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A1_sum_decomp_boundline 915 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,GE.ge,OfNat.ofNat,LE.le,Real,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x, Erdos741.B1, Erdos741.B2,HMul.hMul, Erdos741.S_C, Erdos741.BProof uses:
HasSubset.Subset, Erdos741.A1_sum_subset,Set.Finite,Set.Finite.subset,Set.finite_Iio,Membership.mem,Or,And,LT.lt,Eq.mp,Eq.trans,congr,congrArg,Set.ncard_le_ncard, Erdos741.ncard_union_le_6, Erdos741.B_SC_comm,cast,Eq.symm,le_of_not_gt,Mathlib.Tactic.Linarith.lt_irrefland 51 more95 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A1_density_dropline 934 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,GE.ge,OfNat.ofNat,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x,HMul.hMul, Erdos741.x_seq, Erdos741.y_seq,HPow.hPow, Erdos741.S_y and 1 moreProof uses: Erdos741.B1, Erdos741.B2, Erdos741.S_C, Erdos741.B, Erdos741.A1_sum_decomp_bound, Erdos741.A1_cross_bound, Erdos741.B1_sum_Iio_bound, Erdos741.B2_sum_Iio_bound, Erdos741.SC_B_bound, Erdos741.SC_sum_bound,
GT.gt,rfl,Trans.trans,Eq.mpr,id,congrArg,Eq.trans,Eq.refl,pow_pos,Mathlib.Meta.Positivity.pos_of_isNatand 73 more123 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_sum_subsetline 958 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,HasSubset.Subset,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x, Erdos741.B1, Erdos741.B2, Erdos741.B, Erdos741.S_CProof uses:
Membership.mem,And,Exists, Erdos741.A1_subset_SandorA,Eq.mpr,id,congrArg,Set.union_comm,Eq.refl,Or.inl,Or.inr,And.intro,Exists.intro,rfl,Nat.add_comm18 instances, coercions and auxiliary constants left out.
Tactic trace: 56 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_sum_decomp_boundline 978 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,GE.ge,OfNat.ofNat,LE.le,Real,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x, Erdos741.B1, Erdos741.B2,HMul.hMul, Erdos741.S_C, Erdos741.BProof uses:
HasSubset.Subset, Erdos741.A2_sum_subset,Set.Finite,Set.Finite.subset,Set.finite_Iio,Membership.mem,Or,And,LT.lt,Eq.mp,Eq.trans,congr,congrArg,Set.ncard_le_ncard, Erdos741.ncard_union_le_6, Erdos741.B_SC_comm,cast,Eq.symm,le_of_not_gt,Mathlib.Tactic.Linarith.lt_irrefland 51 more95 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_B1_boundline 997 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter, Erdos741.B1,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNat,HSub.hSub, Erdos741.x_seqProof uses:
Disjoint.mono,Membership.mem,And.left,Set.ext,Eq.mpr,Iff,Or,And,LT.lt,id,congr,congrArg,Eq.trans,Iff.intro,And.intro,Or.inl, Erdos741.B, Erdos741.S_C, Erdos741.B2,Eq.mpand 92 more174 instances, coercions and auxiliary constants left out.
Tactic trace: 44 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_B2_boundline 1032 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter, Erdos741.B2,Set.Iio, Erdos741.S_x,HPow.hPow,OfNat.ofNat,HSub.hSub, Erdos741.y_seqProof uses:
Disjoint.mono,Membership.mem,And.left,Set.ext,Eq.mpr,Iff,Or,And,LT.lt,id,congr,congrArg,Eq.trans,Iff.intro,And.intro,Or.inl, Erdos741.B, Erdos741.S_C,Or.inr, Erdos741.B1 and 92 more174 instances, coercions and auxiliary constants left out.
Tactic trace: 44 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_cross_boundline 1067 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter,HAdd.hAdd, Erdos741.B1, Erdos741.B2,Set.Iio, Erdos741.S_x,HMul.hMul,HSub.hSub,OfNat.ofNat, Erdos741.x_seq and 1 moreProof uses:
HPow.hPow, Erdos741.Sx_eq_sq, Erdos741.B1_B2_cross_bound, Erdos741.A2_B1_bound, Erdos741.A2_B2_bound,Mathlib.Meta.Positivity.div_nonneg_of_nonneg_of_pos,Nat.cast_nonneg',Iff.mpr,LT.lt,Nat.cast_pos',pow_pos,inferInstance,PartialOrder,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Nat.ble,mul_le_mul,le_of_not_gtand 72 more150 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.A2_density_dropline 1077 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,GE.ge,OfNat.ofNat,LE.le,Real,HDiv.hDiv,Set.ncard,Inter.inter,HAdd.hAdd,Set.Iio, Erdos741.S_x,HMul.hMul,HSub.hSub, Erdos741.x_seq, Erdos741.y_seq and 2 moreProof uses: Erdos741.B1, Erdos741.B2, Erdos741.S_C, Erdos741.B, Erdos741.A2_sum_decomp_bound, Erdos741.A2_cross_bound, Erdos741.B1_sum_Iio_bound, Erdos741.B2_sum_Iio_bound, Erdos741.SC_B_bound, Erdos741.SC_sum_bound,
GT.gt,rfl,Trans.trans,Eq.mpr,id,congrArg,Eq.trans,Eq.refl,pow_pos,Mathlib.Meta.Positivity.pos_of_isNatand 75 more147 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.error_term_tendstoline 1101 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Filter.Tendsto,Nat,Real,HDiv.hDiv,HAdd.hAdd,HMul.hMul,OfNat.ofNat,HPow.hPow, Erdos741.S_y,HSub.hSub, Erdos741.S_x,Filter.atTop,nhdsProof uses:
id,Iff.mp,Filter.tendsto_add_atTop_iff_nat,Eq.mpr,Mathlib.Meta.NormNum.instAtLeastTwo,Eq,Eq.trans,congrArg,funext,congr,pow_succ',pow_mul,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_pow,Eq.refl,Mathlib.Meta.NormNum.isNat_ofNat,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit1,add_tsub_cancel_right,Nat.cast_muland 56 more175 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.error_term_le_epsline 1107 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Exists,Nat,GE.ge,LE.le,HDiv.hDiv,HAdd.hAdd,HMul.hMul,HPow.hPow, Erdos741.S_y,HSub.hSub, Erdos741.S_xProof uses:
Membership.mem,Set,Filter,nhds,Set.Iio,Iio_mem_nhds,Filter.map,Filter.atTop, Erdos741.error_term_tendsto,Iff.mp,Filter.Eventually,Filter.eventually_atTop,Exists.intro,le_of_lt78 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.partialDensity_eqline 1117 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq,Real,Set.partialDensity,Set.univ,HDiv.hDiv,Set.ncard,Inter.inter,Set.IioProof uses:
of_eq_true,Eq.trans,Finset.card,Finset.filter,Membership.mem,Finset.Iio,True,congr,congrArg,Set.toFinset,Set.inter_comm,Set.univ_inter,Set.ncard_eq_toFinset_card',Fintype.card,Set.toFinset_card,Fintype.ofFinset,Fintype.card_ofFinset,Finset,Finset.filter.congr_simp,Eq.refland 3 more26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.limit_lower_bound_Aline 1119 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,Set.univ,GT.gt,OfNat.ofNat,Exists,GE.ge,HDiv.hDiv,Set.ncard,Inter.inter,Set.Iio,HSub.hSubProof uses:
Membership.mem,Filter,nhds,Set.Ioi,Ioi_mem_nhds,lt_of_not_ge,LE.le,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,HAdd.hAdd,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HMul.hMul,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNatand 43 more98 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.limit_exists_epsline 1132 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,Exists,And,LE.le,HMul.hMul,HSub.hSubProof uses:
HDiv.hDiv,id,lt_of_not_ge,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,inferInstance,AddMonoidWithOne,Mathlib.Meta.NormNum.instAtLeastTwo,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.cast_zero,Mathlib.Meta.NormNum.isNat_ofNatand 119 more154 instances, coercions and auxiliary constants left out.
Tactic trace: 42 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B_partition_alpha_bound_epsline 1173 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,LE.le,HSub.hSub,HMul.hMulProof uses:
GE.ge, Erdos741.density_ge_zero, Erdos741.density_le_one,Exists,And,Exists.intro,HDiv.hDiv,And.intro,lt_of_not_ge,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,inferInstance,AddMonoidWithOne,Mathlib.Meta.NormNum.instAtLeastTwo,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat.rawCastand 80 more149 instances, coercions and auxiliary constants left out.
Tactic trace: 33 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B_partition_alpha_boundAny convergent two-colour split pays a cross-term density deficit line 1199 sourceL4DEL explanation
Taking k → ∞ yields
If the two monochromatic self-sumsets have natural-density limits
α₁andα₂, then the carry-free digit split forcesα₁+α₂ ≤ 1-α₁α₂. In particular, if both limits are positive, their sum is uniformly below one.- Inspect each colour's proportions inside the
B1andB2digit sets at the lower scales. - Bound pure-colour self-sums by the matching products of those proportions; mixed digit sums occupy the missing cross term.
- Pass to the assumed limits and remove an arbitrary epsilon to obtain the exact inequality.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,LE.le,HSub.hSub,OfNat.ofNat,HMul.hMulProof uses:
Inter.inter, Erdos741.B1, Erdos741.B2, Erdos741.cross_term_disjoint,le_of_forall_pos_le_add,LT.lt, Erdos741.B_partition_alpha_bound_eps90 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
lemma B_partition_alpha_bound (A₁ A₂ : Set ℕ) (h_union : SandorA = A₁ ∪ A₂) (h_disj : Disjoint A₁ A₂) (α₁ α₂ : ℝ) (h_dens1 : HasDensity (A₁ + A₁) α₁) (h_dens2 : HasDensity (A₂ + A₂) α₂) : α₁ + α₂ ≤ 1 - α₁ * α₂ := by …
Mentions: Erdos741.SandorA
- Inspect each colour's proportions inside the
- lemma
Erdos741.alpha_sum_boundline 1207 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,LT.ltProof uses:
LE.le,HSub.hSub,HMul.hMul, Erdos741.B_partition_alpha_bound,mul_pos,lt_of_not_ge,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,Int.rawCast,Int.negOfNat,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Mathlib.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.add_pf_add_ltand 38 more96 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.limit_upper_boundline 1214 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,Set.univ,GT.gt,OfNat.ofNat,Exists,GE.ge,LT.lt,HDiv.hDiv,Set.ncard,Inter.inter,Set.Iio,HAdd.hAddProof uses:
Membership.mem,Filter,nhds,Iio_mem_nhds,lt_of_not_ge,LE.le,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,HSub.hSub,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HMul.hMul,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.cast_zeroand 40 more98 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.limit_lower_boundline 1227 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,Set.univ,GT.gt,OfNat.ofNat,Exists,GE.ge,HDiv.hDiv,Set.ncard,Inter.inter,Set.Iio,HSub.hSubProof uses:
Membership.mem,Filter,nhds,Set.Ioi,Ioi_mem_nhds,lt_of_not_ge,LE.le,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,HAdd.hAdd,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HMul.hMul,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNatand 43 more98 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.tendsto_2Sxline 1242 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Filter.Tendsto,Nat,HMul.hMul,OfNat.ofNat, Erdos741.S_x,Filter.atTopProof uses: Erdos741.tendsto_Sx,
Filter.tendsto_atTop_mono,Decidable.byContradiction,LE.le,Not11 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.tendsto_2Syline 1246 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Filter.Tendsto,Nat,HMul.hMul,OfNat.ofNat, Erdos741.S_y,Filter.atTopProof uses: Erdos741.tendsto_Sy,
Filter.tendsto_atTop_mono,Decidable.byContradiction,LE.le,Not11 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.B_partition_densityline 1250 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,Exists,And,GE.ge,LE.le,HDiv.hDiv,Set.ncard,Inter.inter,Set.Iioand 3 moreProof uses:
Exists.intro,div_pos,mul_pos,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Bool,Nat.ble,And.intro,LT.lt, Erdos741.limit_upper_bound,Filter.Tendsto,Filter.atTop, Erdos741.tendsto_2Sx,Max.max,Iff.mp,Filter.tendsto_atTop_atTop,le_trans,le_max_leftand 90 more165 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.set_card_add_same_generalline 1281 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Set.Finite,GE.ge,Real,Set.ncard,HAdd.hAdd,HSub.hSub,HMul.hMul,OfNat.ofNatProof uses:
Iff.mpr,LE.le,sub_le_iff_le_add,Exists.elim,Finset,Eq,Set.Finite.exists_finset_coe,Eq.rec,cast,Finset.card,Eq.symm,Eq.trans,congrArg,Nat.cast_one,congr,Set.ncard_coe_finset,Or.elim,EmptyCollection.emptyCollection,Finset.Nonempty,Finset.eq_empty_or_nonemptyand 108 more154 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.sandor_cross_sumsA fat interval forces almost twice its size in monochromatic sums line 1291 sourceL4DEL explanation
Propositions 3.3 and 3.4 would give the contradiction
Partition the interval
[S_x(k),S_y(k))between two colours. For each colour, a finite nonempty setUsatisfies|U+U|≥2|U|-1; adding the two bounds yields at least2*(S_y-S_x)-2same-colour sums in the doubled interval.- Intersect each colour with the whole fat interval; the two intersections partition it.
- Apply the elementary sumset lower bound separately to both pieces.
- Add the bounds and place all resulting sums between
2*S_x(k)and2*S_y(k).
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,GE.ge,OfNat.ofNat,Real,HAdd.hAdd,Set.ncard,Inter.inter,Set.Ico,HMul.hMul, Erdos741.S_x, Erdos741.S_y,HSub.hSubProof uses:
HasSubset.Subset,Membership.mem,Or.inr, Erdos741.B, Erdos741.S_C,Set.mem_iUnion_of_mem,Eq.mpr,id,congrArg,Eq.symm,Set.ncard_union_eq,Disjoint.mono,Set.inter_subset_left,Set.union_inter_distrib_right,Iff.mpr,Set.inter_eq_right,Eq.refl,cast,Eq.trans,HPow.hPowand 159 more217 instances, coercions and auxiliary constants left out.
Tactic trace: 64 steps
Open to load the checked before-and-after goal states.
lemma sandor_cross_sums (A₁ A₂ : Set ℕ) (h_union : SandorA = A₁ ∪ A₂) (h_disj : Disjoint A₁ A₂) (k : ℕ) (hk : k ≥ 10) : (((A₁ + A₁) ∩ Ico (2 * S_x k) (2 * S_y k)).ncard : ℝ) + (((A₂ + A₂) ∩ Ico (2 * S_x k) (2 * S_y k)).ncard : ℝ) ≥ 2 * ((S_y k : ℝ) - (S_x k : ℝ)) - 2 := by …Mentions: Erdos741.SandorA, Erdos741.S_x, Erdos741.S_y
- lemma
Erdos741.exists_K1_cxline 1326 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Exists,Nat,GE.ge,HMul.hMul, Erdos741.S_xProof uses:
lt_of_not_ge,LE.le,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,HAdd.hAdd,HSub.hSub,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Tactic.Ring.mul_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwoand 67 more104 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.algebra_fluctuationline 1335 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Eq,HMul.hMul,Nat,GE.ge,LE.le,HSub.hSub,HDiv.hDiv,HAdd.hAddProof uses:
lt_of_not_ge,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,LT.lt,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.add_congr,HPow.hPow,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Int.rawCast,Int.negOfNat,Mathlib.Tactic.Ring.mul_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Mathlib.Tactic.Ring.sub_congr,Mathlib.Tactic.Ring.cast_zero,Nat.cast_zeroand 89 more131 instances, coercions and auxiliary constants left out.
Tactic trace: 25 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SandorA_fluctuation_boundsPositive limiting densities would still oscillate by a fixed amount line 1359 sourceL4DEL explanation
Propositions 3.3 and 3.4 would give the contradiction
Assuming both monochromatic self-sumsets have positive natural-density limits, this lemma constructs lower checkpoints
N(k)=2*S_x(k)and upper checkpointsM(k)=2*S_y(k)where their combined partial density atM(k)exceeds that atN(k)by one fixeddelta>0forever.- Positivity and the partition bound give a fixed deficit below one at the lower checkpoints.
- The fat interval contributes enough new same-colour sums to recover more than that deficit at the upper checkpoints.
- Both checkpoint sequences tend to infinity, so the permanent gap is incompatible with convergence to
α₁+α₂.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,Exists,And,Filter.Tendsto,Filter.atTop,GE.ge,HDiv.hDiv,Set.ncard,Inter.interand 1 moreProof uses:
LE.le,HMul.hMul, Erdos741.S_x,HSub.hSub, Erdos741.B_partition_density, Erdos741.exists_K1_cx,Exists.intro, Erdos741.S_y,Max.max,div_pos,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_zero,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Bool,Bool.false,And.intro, Erdos741.tendsto_2Sy, Erdos741.tendsto_2Sx and 149 more226 instances, coercions and auxiliary constants left out.
Tactic trace: 58 steps
Open to load the checked before-and-after goal states.
lemma SandorA_fluctuation_bounds (A₁ A₂ : Set ℕ) (h_union : SandorA = A₁ ∪ A₂) (h_disj : Disjoint A₁ A₂) (α₁ α₂ : ℝ) (h_dens1 : HasDensity (A₁ + A₁) α₁) (h_dens2 : HasDensity (A₂ + A₂) α₂) (h_pos1 : α₁ > 0) (h_pos2 : α₂ > 0) : ∃ (M N : ℕ → ℕ) (K0 : ℕ) (delta : ℝ), delta > 0 ∧ Filter.Tendsto M Filter.atTop Filter.atTop ∧ Filter.Tendsto N Filter.atTop Filter.atTop ∧ ∀ k ≥ K0, (((A₁ + A₁) ∩ Iio (M k)).ncard : ℝ) / (M k : ℝ) + (((A₂ + A₂) ∩ Iio (M k)).ncard : ℝ) / (M k : ℝ) ≥ (((A₁ + A₁) ∩ Iio (N k)).ncard : ℝ) / (N k : ℝ) + (((A₂ + A₂) ∩ Iio (N k)).ncard : ℝ) / (N k : ℝ) + delta := by …Mentions: Erdos741.SandorA
- lemma
Erdos741.max_of_fiveline 1414 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Exists,And,GE.geProof uses:
Exists.intro,Max.max,Decidable.byContradiction,Not,And.intro9 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.tendsto_ge_maxline 1423 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Filter.Tendsto,Filter.atTop,Exists,And,GE.geProof uses:
LE.le,Iff.mp,Filter.tendsto_atTop_atTop,Exists.intro,Max.max,And.intro,Decidable.byContradiction,Not21 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.has_pos_density_nonemptyline 1437 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Real,Set.HasDensity,HAdd.hAdd,Set.univ,GT.gt,OfNat.ofNat,Set.NonemptyProof uses:
Decidable.byContradiction,Not,Eq,EmptyCollection.emptyCollection,Eq.mpr,id,congrArg,Eq.mp,propext,Set.not_nonempty_iff_eq_empty,of_eq_true,Eq.trans,True,Set.add_empty,eq_self,LE.le,False.elim,LT.lt,False,Filter.Tendstoand 53 more105 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.SandorA_no_valid_partitionNo disjoint two-part split can give both self-sumsets positive natural density line 1447 sourceL4DEL explanation
Propositions 3.3 and 3.4 would give the contradiction
Suppose both component self-sumsets had positive limits. Convergence would make each combined partial density arbitrarily close to
α₁+α₂at every sufficiently large scale, butSandorA_fluctuation_boundsproduces two arbitrarily large scales separated by a fixed positive gap.- Unpack the two
HasPosDensityhypotheses into positive limits and convergence proofs. - Choose upper and lower convergence bounds with tolerance
delta/4for both colours. - Evaluate at a sufficiently large fluctuation checkpoint and derive the numerical contradiction.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,Eq, Erdos741.SandorA,Union.union,Disjoint,Not,And,Set.HasPosDensity,HAdd.hAdd,Set.univProof uses:
False,Real,GT.gt,OfNat.ofNat,Set.HasDensity,Exists,Filter.Tendsto,Filter.atTop,GE.ge,HDiv.hDiv,Set.ncard,Inter.inter,Set.Iio, Erdos741.SandorA_fluctuation_bounds,div_pos,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_zero,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwoand 90 more130 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
lemma SandorA_no_valid_partition : ∀ A₁ A₂, SandorA = A₁ ∪ A₂ → Disjoint A₁ A₂ → ¬(HasPosDensity (A₁ + A₁) ∧ HasPosDensity (A₂ + A₂)) := by …
Mentions: Erdos741.SandorA
- Unpack the two
- lemma
Erdos741.exists_erdos_counterexampleThe explicit witness refuting the strict-natural-density statement line 1480 sourceL4DEL explanation
For ordinary natural density, the first question has a negative answer. For upper density, the first question has a positive answer.
SandorAhas a self-sumset of natural density one, yet every disjoint two-part split fails to give positive natural-density limits to both component self-sumsets. This is the witness needed to negate the universal strict-density version of Erdős 741(i).- Use
SandorAas the existential set. - Supply
SandorA_has_pos_densityfor its full self-sumset. - Supply
SandorA_no_valid_partitionfor every proposed partition.
Sources and attribution: Pinned Lean source (0647711a7118), Ulam AI, A Note on Erdős Problem #741 (2026)
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Set,Nat,And,Set.HasPosDensity,HAdd.hAdd,Set.univ,Eq,Union.union,Disjoint,NotProof uses:
Exists.intro, Erdos741.SandorA,And.intro, Erdos741.SandorA_has_pos_density, Erdos741.SandorA_no_valid_partition34 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
lemma exists_erdos_counterexample : ∃ A : Set ℕ, HasPosDensity (A + A) ∧ ∀ A₁ A₂, A = A₁ ∪ A₂ → Disjoint A₁ A₂ → ¬ (HasPosDensity (A₁ + A₁) ∧ HasPosDensity (A₂ + A₂)) := by …
- Use
- theorem
Erdos741.target_theorem_0Erdős problem 741(i): strict natural density is false, upper density is true line 1486 sourceL4DEL explanation
We show that the answer is yes. We use an alternating block partition.
For ordinary natural density, the first question has a negative answer. For upper density, the first question has a positive answer.
Can one always decompose the sequence A as the union of two disjoint subsequences
This Lean theorem proves
answer(False)forHasPosDensity, which here means that a positive ordinary natural-density limit exists. The pinned companion proves a different, compatible theorem for positive upper density. The two artifacts do not disagree: density choice changes the answer. The lower-density variant is separate and remains unresolved in the cited status sources.- The Lean development builds
SandorA, whose full self-sumset is all naturals and therefore has natural density one. - Its carry-free digit sets make monochromatic self-sums sparse at lower checkpoints, while added fixed-factor fat intervals force many such sums at upper checkpoints.
- Any partition with two positive natural-density limits would therefore oscillate by a fixed amount, contradicting convergence; this supplies the negative witness.
- The companion's alternating-block argument concerns upper density, where only a positive limsup is required, so it supports the separate affirmative variant and does not explain this Lean proof.
Sources and attribution: Pinned Lean source (0647711a7118), Human-written proof companion for Erdős 741(i), Pinned AlphaProof Lean result for Erdős 741(i), Formal Conjectures density definitions, Ulam AI, A Note on Erdős Problem #741 (2026), Paul Erdős, Some of my favourite problems which recently have been solved (1994), p. 263, Erdős Problems 741 current status record
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Iff,False,Set,Nat,Set.HasPosDensity,HAdd.hAdd,Set.univ,Exists,And,Eq,Union.union,DisjointProof uses:
Iff.intro,False.elim,Not, Erdos741.exists_erdos_counterexample,And.intro36 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/ErdosProblems/erdos_741.parts.ii.lean:634 (different declaration text). Qualify references as Erdos741.target_theorem_0@path.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem target_theorem_0 : answer( -- EVOLVE-VALUE-START False -- EVOLVE-VALUE-END ) ↔ ∀ A : Set ℕ, HasPosDensity (A + A) → ∃ A₁ A₂, A = A₁ ∪ A₂ ∧ Disjoint A₁ A₂ ∧ HasPosDensity (A₁ + A₁) ∧ HasPosDensity (A₂ + A₂) := by …
- The Lean development builds