FormalConjectures/ErdosProblems/307.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
5 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 307
Reference: erdosproblems.com/307
Imports (1)
Imported by 1 file
- theorem
Erdos307.erdos_307Are there two finite set of primes $P$ and $Q$ such that $$ 1 = \left( \sum_{p \in P} \frac{1}{p} \right) \left( \sum_{q \in Q} \frac{1}{q} \right) $$ ? sorry line 45 sourceSource documentation
Are there two finite set of primes $P$ and $Q$ such that
$$ 1 = \left( \sum_{p \in P} \frac{1}{p} \right) \left( \sum_{q \in Q} \frac{1}{q} \right) $$ ?
Asked by Barbeau [Ba76].
[Ba76] Barbeau, E. J., Computer challenge corner: Problem 477: A brute force program.
depends on sorry what this means
Statement uses:
Iff,True,Exists,Finset,Nat,And,Membership.mem,Nat.Prime,Eq,Rat,OfNat.ofNat,HMul.hMul,Finset.sum,Inv.invProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous19 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_307 : answer(sorry) ↔ ∃ P Q : Finset ℕ, (∀ p ∈ P, p.Prime) ∧ (∀ q ∈ Q, q.Prime) ∧ 1 = (∑ p ∈ P, (p : ℚ)⁻¹) * (∑ q ∈ Q, (q : ℚ)⁻¹) := by … - theorem
Erdos307.erdos_307.variants.coprimeInstead of asking for sets of primes, ask only that all elements in the sets be relatively coprime line 62 sourceSource documentation
Instead of asking for sets of primes, ask only that all elements in the sets be relatively coprime.
Cambie has found several examples when this weakened version is true. For example, $$ 1=\left(1+\frac{1}{5}\right)\left(\frac{1}{2}+\frac{1}{3}\right) $$ and $$ 1=\left(1+\frac{1}{41}\right)\left(\frac{1}{2}+\frac{1}{3}+\frac{1}{7}\right). $$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Iff,True,Exists,Finset,Nat,And,Not,Membership.mem,Inter.inter,OfNat.ofNat,LT.lt,Finset.card,Set.Pairwise,Nat.Coprime,Eq,Rat,HMul.hMul,Finset.sum,Inv.invProof uses:
id,Eq.mpr,Eq.trans,congrArg,funext,congrFun',true_iff,Exists.intro,Insert.insert,Singleton.singleton,of_eq_true,congr,eq_true_of_decide,Eq.refl,Bool,Bool.true,HDiv.hDiv,HAdd.hAdd,Finset.sum_insert,Falseand 25 more77 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
theorem erdos_307.variants.coprime : answer(True) ↔ ∃ P Q : Finset ℕ, 0 ∉ P ∩ Q ∧ 1 < #P ∧ 1 < #Q ∧ Set.Pairwise P Nat.Coprime ∧ Set.Pairwise Q Nat.Coprime ∧ 1 = (∑ p ∈ P, (p : ℚ)⁻¹) * (∑ q ∈ Q, (q : ℚ)⁻¹) := by … - theorem
Erdos307.erdos_307.variants.coprime_one_notMemThere are no examples known of the weakened coprime version if we insist that $1\not\in P\cup Q$ sorry line 74 sourceSource documentation
There are no examples known of the weakened coprime version if we insist that $1\not\in P\cup Q$.
depends on sorry what this means
Statement uses:
Iff,True,Exists,Finset,Nat,And,Not,Membership.mem,Inter.inter,OfNat.ofNat,Union.union,LT.lt,Finset.card,Set.Pairwise,Nat.Coprime,Eq,Rat,HMul.hMul,Finset.sum,Inv.invProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous30 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_307.variants.coprime_one_notMem : answer(sorry) ↔ ∃ P Q : Finset ℕ, 0 ∉ P ∩ Q ∧ 1 ∉ P ∪ Q ∧ 1 < #P ∧ 1 < #Q ∧ Set.Pairwise P Nat.Coprime ∧ Set.Pairwise Q Nat.Coprime ∧ 1 = (∑ p ∈ P, (p : ℚ)⁻¹) * (∑ q ∈ Q, (q : ℚ)⁻¹) := by … - theorem
Erdos307.erdos_307.barriersorry line 90 sourcedepends on sorry what this means
Statement uses:
Finset,Nat,Membership.mem,Nat.Prime,Finset.Nonempty,Eq,Rat,OfNat.ofNat,HMul.hMul,Finset.sum,Inv.inv,And,LE.le,Finset.card,Union.union,HPow.hPow,Finset.prodProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos307.erdos_307.barrier_sixtysorry line 106 sourcedepends on sorry what this means
Statement uses:
Finset,Nat,Membership.mem,Nat.Prime,Eq,Rat,OfNat.ofNat,HMul.hMul,Finset.sum,Inv.inv,LE.le,Finset.card,Union.unionProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.