FormalConjectures/ErdosProblems/219.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: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
7 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 219
Reference: erdosproblems.com/219
Imports (1)
- def
Erdos219.primeArithmeticProgressionsThe set of arithmetic progressions of primes line 33 sourceSource documentation
The set of arithmetic progressions of primes
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,And,Membership.mem,Nat.Prime,Exists,ENat,GT.gt,OfNat.ofNat, Set.IsAPOfLength8 instances, coercions and auxiliary constants left out.
def primeArithmeticProgressions : Set (Set ℕ) := …
- theorem
Erdos219.primeArithmeticProgression_3_5_7line 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Membership.mem,Set,Nat, Erdos219.primeArithmeticProgressions,Insert.insert,OfNat.ofNat,Singleton.singletonProof uses:
Eq.mpr,And,Nat.Prime,Exists,Eq,Set.ofPred,LT.lt,HAdd.hAdd,HMul.hMul,id,Eq.trans,ENat,ENat.card,congrFun',congrArg,GT.gt, Set.IsAPOfLength,funext,congr, Set.IsAPOfLengthWith and 63 more103 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos219.not_primeArithmeticProgression_1_2line 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Membership.mem,Set,Nat, Erdos219.primeArithmeticProgressions,Insert.insert,OfNat.ofNat,Singleton.singletonProof uses:
of_eq_true,Eq.trans,False,True,congrArg,Set.ofPred,And,Nat.Prime,Exists,ENat,LT.lt, Set.IsAPOfLength,congrFun',GT.gt,funext,Eq,Or,forall_congr,implies_congr,Eq.refland 3 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos219.empty_not_primeArithmeticProgressionline 57 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Membership.mem,Set,Nat, Erdos219.primeArithmeticProgressions,EmptyCollection.emptyCollectionProof uses:
Eq.mpr,ENat,LT.lt,OfNat.ofNat, Set.IsAPOfLength,id,Eq,Eq.trans,And,Exists,congrArg,Set.ofPred,Nat.Prime,congrFun',GT.gt,funext,True,forall_congr,False,implies_congrand 4 more17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos219.singleton_mem_primeArithmeticProgressionsline 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Membership.mem,Set, Erdos219.primeArithmeticProgressions,Singleton.singletonProof uses:
Eq.mpr,Exists,ENat,And,LT.lt,OfNat.ofNat, Set.IsAPOfLength,id,Eq,Eq.trans,Set.ofPred,congrFun',congrArg,GT.gt,funext,True,forall_congr,implies_congr,Eq.refl,eq_trueand 5 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Erdos219.pair_mem_primeArithmeticProgressionsline 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,LT.lt,Membership.mem,Set, Erdos219.primeArithmeticProgressions,Insert.insert,Singleton.singletonProof uses:
Exists,Eq,HAdd.hAdd,OfNat.ofNat,Nat.exists_eq_add_of_lt,Eq.mpr,ENat,And, Set.IsAPOfLength,id,Eq.trans,Set.ofPred,congrFun',congrArg,GT.gt,funext,True,Or,forall_congr,implies_congrand 14 more37 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos219.erdos_219sorry line 80 sourcedepends on sorry what this means
Statement uses:
Iff,True,Nat,Exists,Set,And,Membership.mem, Erdos219.primeArithmeticProgressions,LE.le,ENat,ENat.cardProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat11 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.