APNOutputs/ErdosProblems/erdos_741.parts.ii.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
39 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- lemma
Erdos741.basis_of_order_two_iffline 79 sourcestandard axioms: propext what this means
Statement uses:
Set,Nat,Iff,Set.IsAddBasisOfOrder,Union.union,Singleton.singleton,OfNat.ofNat,Membership.mem,HSMul.hSMulProof uses:
Iff.rfl14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.answer_true_iffline 82 sourceno axioms what this means
Statement uses:
Iff,TrueProof uses:
Iff.rflTactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.miss_gapline 85 sourceno axioms what this means
Statement uses:
Set,Nat,HasSubset.Subset,SDiff.sdiff,HAdd.hAdd,Compl.complProof uses:
Membership.mem,And.right,Not12 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.not_syndetic_of_large_gapsline 90 sourceno axioms what this means
Statement uses:
Set,Nat,Exists,HasSubset.Subset,Set.Icc,HAdd.hAdd,Compl.compl,Not,IsSyndeticProof uses:
Set.Nonempty,Inter.inter,False,Membership.mem,And.left,And.right13 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.GoodCasselsPropertyline 104 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
And,Set.IsAddBasisOfOrder,Union.union,Singleton.singleton,OfNat.ofNat,Eq,Disjoint,Or,Exists,HasSubset.Subset,Set.Icc,HAdd.hAdd,Compl.compl19 instances, coercions and auxiliary constants left out.
- def
Erdos741.BlockSeqline 110 sourceno axioms what this means
Proof uses:
Nat,Set - def
Erdos741.UnionBlocksline 112 sourceno axioms what this means
Statement uses: Erdos741.BlockSeq,
Set,NatProof uses:
Set.iUnion - lemma
Erdos741.subset_union_blocksline 114 sourcestandard axioms: propext what this means
Statement uses: Erdos741.BlockSeq,
Nat,HasSubset.Subset,Set, Erdos741.UnionBlocksProof uses:
Membership.mem,Eq.mpr,Exists,id,Eq,Exists.intro3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.sum_subset_union_sumline 119 sourcestandard axioms: propext what this means
Statement uses: Erdos741.BlockSeq,
Nat,HasSubset.Subset,Set,HAdd.hAdd, Erdos741.UnionBlocksProof uses:
Membership.mem,And,Exists,Eq,Exists.intro,And.intro, Erdos741.subset_union_blocks10 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.add_zero_subsetline 130 sourceno axioms what this means
Statement uses:
Set,Nat,HasSubset.Subset,HAdd.hAdd,Union.union,Singleton.singleton,OfNat.ofNatProof uses:
Membership.mem,And,Exists,Eq,Exists.intro,And.intro,Or.inl16 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.icc_nonempty_customline 141 sourceno axioms what this means
Statement uses:
Nat,Set.Nonempty,Set.Icc,HAdd.hAddProof uses:
Exists.intro,Membership.mem,Set,And.intro,LE.le,le_rfl,Nat.le_add_right8 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.icc_subset_complementline 145 sourceno axioms what this means
Statement uses:
Set,Nat,Membership.mem,Set.Icc,HAdd.hAdd,Not,HasSubset.Subset,Compl.compl10 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.HasLargeGapsline 149 sourceno axioms what this means
Statement uses:
Set,NatProof uses:
Exists,LE.le,HAdd.hAdd,Not,Membership.mem4 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.syndetic_not_large_gapsline 152 sourceno axioms what this means
Statement uses:
Set,Nat,IsSyndetic,Not, Erdos741.HasLargeGapsProof uses:
Set.Nonempty,Inter.inter,Set.Icc,HAdd.hAdd,Exists,False,LE.le,Membership.mem,And.left,And.right8 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.has_gaps_monoline 165 sourceno axioms what this means
Statement uses:
Set,Nat,LE.le,Exists,HAdd.hAdd,Not,Membership.memProof uses:
Exists.intro,LE.le.trans,Nat.add_le_add_left10 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.infinite_orline 173 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OrProof uses:
dite,Or.inl,Not,Or.inr,Exists,Eq.mp,Mathlib.Tactic.Push.not_forall_eq,Eq,False.elim,Eq.refl,le_of_lt,LT.lt12 instances, coercions and auxiliary constants left out.
Tactic trace: 23 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.IsGreedyBasisline 198 sourceno axioms what this means
Statement uses:
Nat,SetProof uses:
Exists,And,Membership.mem,Union.union,Singleton.singleton,OfNat.ofNat,Eq,HAdd.hAdd6 instances, coercions and auxiliary constants left out.
- def
Erdos741.GreedySpacedline 201 sourceno axioms what this means
Statement uses:
Nat,SetProof uses:
And,HasSubset.Subset,HAdd.hAdd,OfNat.ofNat,LE.le,Membership.mem,SDiff.sdiff,GT.gt8 instances, coercions and auxiliary constants left out.
- def
Erdos741.GreedyGapsline 206 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,SetProof uses:
Exists,And,LE.le,HAdd.hAdd,Eq,Union.union,Disjoint,Or,Not,Membership.mem15 instances, coercions and auxiliary constants left out.
- def
Erdos741.Stateline 211 sourceno axioms what this means
Proof uses:
Subtype,Prod,Set,Nat,Membership.mem,Prod.fst,LE.le,Prod.snd2 instances, coercions and auxiliary constants left out.
- def
Erdos741.step_propline 213 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.State,
NatProof uses:
And,HasSubset.Subset,Set,Prod.fst,Prod,Membership.mem,LE.le,Prod.snd,SDiff.sdiff,GT.gt,Exists,HAdd.hAdd,Eq,Union.union,Disjoint,Or,Not,Singleton.singleton,OfNat.ofNat21 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.valid_ext_existsline 222 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.State,
Nat,Exists, Erdos741.step_propProof uses:
Prod.snd,Set,Prod,Membership.mem,Prod.fst,LE.le,HAdd.hAdd,HMul.hMul,OfNat.ofNat,Union.union,Set.Icc,Singleton.singleton,Or,And,Eq,Eq.mp,Eq.trans,congr,congrArg,Subtype.propertyand 29 more73 instances, coercions and auxiliary constants left out.
Tactic trace: 270 steps (first 200 of 270)
Open to load the checked before-and-after goal states.
- def
Erdos741.seq_stepline 392 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos741.StateProof uses:
Erdos741.seq_step.match_1,Unit,OfNat.ofNat,Subtype.mk,Prod,Set,Membership.mem,Prod.fst,LE.le,Prod.snd,Prod.mk,EmptyCollection.emptyCollection,Nat.succ,Classical.choose, Erdos741.step_prop8 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.f_seqline 396 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,SetProof uses:
Prod.fst,Prod,Membership.mem,LE.le,Prod.snd, Erdos741.seq_step3 instances, coercions and auxiliary constants left out.
- def
Erdos741.gap_seqline 397 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Prod.snd,Set,Prod,Membership.mem,Prod.fst,LE.le, Erdos741.seq_step3 instances, coercions and auxiliary constants left out.
- lemma
Erdos741.seq_step_propline 399 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos741.step_prop, Erdos741.seq_step,HAdd.hAdd,OfNat.ofNatProof uses:
Classical.choose_spec, Erdos741.State, Erdos741.valid_ext_exists3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.f_seq_coversline 402 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le, Erdos741.gap_seq,Exists,And,Membership.mem,Set,Union.union, Erdos741.f_seq,Singleton.singleton,OfNat.ofNat,Eq,HAdd.hAddProof uses:
Nat.recAux,Nat.eq_zero_of_le_zero,Exists.intro,Or.inr,Set.mem_singleton,And.intro,Eq.mpr,id,congrArg,Eq.refl, Erdos741.step_prop, Erdos741.seq_step, Erdos741.seq_step_prop,HasSubset.Subset,Prod.fst,Prod,Prod.snd,SDiff.sdiff,GT.gt,Disjointand 2 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.f_seq_basisline 416 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.IsGreedyBasis, Erdos741.f_seq
Proof uses:
Nat, Erdos741.step_prop, Erdos741.seq_step,HAdd.hAdd,OfNat.ofNat, Erdos741.seq_step_prop,HasSubset.Subset,Set,Prod.fst,Prod,Membership.mem,LE.le,Prod.snd,And,SDiff.sdiff,GT.gt,Exists,Eq,Union.union,Disjointand 60 more91 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.f_seq_spacedline 428 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.GreedySpaced, Erdos741.f_seq, Erdos741.gap_seq
Proof uses:
And.intro,Nat,HasSubset.Subset,Set,HAdd.hAdd,OfNat.ofNat,And,LE.le,Membership.mem,SDiff.sdiff,GT.gt, Erdos741.step_prop, Erdos741.seq_step, Erdos741.seq_step_prop,And.left,Prod.fst,Prod,Prod.snd,Exists,Eqand 6 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.f_seq_gapsline 441 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.GreedyGaps, Erdos741.f_seq, Erdos741.gap_seq
Proof uses:
Nat,Exists.intro,Exists,And,LE.le,HAdd.hAdd,Set,Eq,Union.union,Disjoint,Or,Not,Membership.mem,OfNat.ofNat, Erdos741.step_prop, Erdos741.seq_step, Erdos741.seq_step_prop,And.left,Prod.snd,Prodand 6 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.greedy_seq_existsline 447 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Nat,Set,And, Erdos741.IsGreedyBasis, Erdos741.GreedySpaced, Erdos741.GreedyGapsProof uses:
Exists.intro, Erdos741.f_seq, Erdos741.gap_seq,And.intro, Erdos741.f_seq_basis, Erdos741.f_seq_spaced, Erdos741.f_seq_gapsTactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.f_monoline 452 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Set, Erdos741.GreedySpaced,LE.le,HasSubset.SubsetProof uses:
Nat.le.rec,subset_refl,Nat.le,HasSubset.Subset.trans,Nat.succ,And.left,HAdd.hAdd,OfNat.ofNat,And,Membership.mem,SDiff.sdiff,GT.gt12 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.gap_monoline 457 sourceno axioms what this means
Statement uses:
Nat,Set, Erdos741.GreedySpaced,LE.leProof uses:
Nat.le.rec,le_rfl,Nat.le,LE.le.trans,Nat.succ,And.left,HAdd.hAdd,OfNat.ofNat,Membership.mem,SDiff.sdiff,GT.gt,And.right,HasSubset.Subset,And10 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.subset_f_k_of_leline 462 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Set, Erdos741.GreedySpaced,Membership.mem,Set.iUnion,LE.leProof uses:
Exists,Iff.mp,Set.mem_iUnion,dite,Not,False.elim,And,LT.lt,Exists.intro,Nat.find,And.intro,Nat.find_spec,Nat.find_min,False,GT.gt,Decidable.byContradiction,le_of_not_gt,Mathlib.Tactic.Linarith.lt_irrefl,Int,OfNat.ofNatand 61 more92 instances, coercions and auxiliary constants left out.
Tactic trace: 39 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.erdos_gap_set_existsline 496 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Set,Nat,And,Set.IsAddBasisOfOrder,Union.union,Singleton.singleton,OfNat.ofNat,Eq,Disjoint,Or, Erdos741.HasLargeGaps,HAdd.hAddProof uses: Erdos741.IsGreedyBasis, Erdos741.GreedySpaced, Erdos741.GreedyGaps, Erdos741.greedy_seq_exists,
Set.iUnion,Exists.intro,And.intro,Eq.mpr,Membership.mem,HSMul.hSMul,id,congrArg,propext, Erdos741.basis_of_order_two_iff,Or.inl, Erdos741.subset_union_blocks,Or.inr,Eq.refl,Eq.symm,two_nsmuland 69 more129 instances, coercions and auxiliary constants left out.
Tactic trace: 125 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos741.exists_good_cassels_setline 593 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Set,Nat, Erdos741.GoodCasselsPropertyProof uses:
And,Set.IsAddBasisOfOrder,Union.union,Singleton.singleton,OfNat.ofNat,Eq,Disjoint,Or, Erdos741.HasLargeGaps,HAdd.hAdd, Erdos741.erdos_gap_set_exists,Exists.intro,And.intro,HasSubset.Subset,Set.Icc,Compl.compl,Or.inl,LE.le,Not,Membership.memand 5 more25 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- def
Erdos741.cassels_setline 625 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Classical.choose, Erdos741.GoodCasselsProperty, Erdos741.exists_good_cassels_set - lemma
Erdos741.cassels_set_is_goodline 628 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos741.GoodCasselsProperty, Erdos741.cassels_set
Proof uses:
Classical.choose_spec,Set,Nat, Erdos741.exists_good_cassels_set - theorem
Erdos741.target_theorem_0Erdős problem 741(ii): an order-two basis with no syndetic two-part split line 634 sourceL4DEL explanation
We show that the answer is yes by constructing a pathological basis A with “forbidden zones”
There exists an additive basis
A ∪ {0}of order two such that every disjoint partitionA=A₁∪A₂leaves at least one ofA₁+A₁andA₂+A₂with arbitrarily large gaps.- Build
Afrom dense clumps separated by rapidly growing forbidden zones, retaining one specially placed oasis in each zone. - Every natural number is still a sum of two elements of
A ∪ {0}, either directly, by halving, or by using the oasis. - In any two-colouring of
A, the oasis has one colour; a long interval of sums then becomes unavailable to the other colour, destroying syndeticity.
Sources and attribution: Pinned Lean source (0647711a7118), Human-written proof companion for Erdős 741(ii), Erdős Problems 741 source record
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Iff,True,Exists,Set,Nat,And,Set.IsAddBasisOfOrder,Union.union,Singleton.singleton,OfNat.ofNat,Eq,Disjoint,Not,IsSyndetic,HAdd.hAddProof uses:
Eq.mpr,id,congrArg,propext, Erdos741.answer_true_iff,Iff.intro,Exists.intro, Erdos741.cassels_set, Erdos741.GoodCasselsProperty, Erdos741.cassels_set_is_good,Or,HasSubset.Subset,Set.Icc,Compl.compl,And.intro,False,Or.inl, Erdos741.not_syndetic_of_large_gaps,False.elim,Or.inrand 2 more37 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/ErdosProblems/erdos_741.parts.i.lean:1486 (different declaration text). Qualify references as Erdos741.target_theorem_0@path.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
theorem target_theorem_0 : answer(True) ↔ ∃ A : Set ℕ, IsAddBasisOfOrder (A ∪ {0}) 2 ∧ ∀ A₁ A₂, A = A₁ ∪ A₂ → Disjoint A₁ A₂ → ¬(IsSyndetic (A₁ + A₁) ∧ IsSyndetic (A₂ + A₂)) := by … - Build