FormalConjectures/Wikipedia/BetrothedNumbers.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, 2 contain sorry, 0 declared as axioms
Imports (1)
- structure
BetrothedNumbers.IsBetrothedTwo natural numbers $m$ and $n$ are betrothed (or quasi-amicable) if $\sigma(m) = \sigma(n) = m + n + 1$, where $\sigma$ is the sum-of-divisors function line 40 sourceSource documentation
Two natural numbers $m$ and $n$ are betrothed (or quasi-amicable) if $\sigma(m) = \sigma(n) = m + n + 1$, where $\sigma$ is the sum-of-divisors function. Equivalently, the sum of the proper divisors of $m$ equals $n + 1$, and the sum of the proper divisors of $n$ equals $m + 1$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Natstructure IsBetrothed (m n : ℕ) : Prop where …
- theorem
BetrothedNumbers.betrothed_48_75The smallest known betrothed pair $(48, 75)$ line 46 sourceSource documentation
The smallest known betrothed pair $(48, 75)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: BetrothedNumbers.IsBetrothed,
OfNat.ofNat,NatProof uses:
BetrothedNumbers.IsBetrothed.mk,of_decide_eq_true,Eq,ArithmeticFunction,ArithmeticFunction.sigma,HAdd.hAdd,id,Bool,Decidable.decide,Bool.true,Eq.refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem betrothed_48_75 : IsBetrothed 48 75 := by …
Mentions: BetrothedNumbers.IsBetrothed
- theorem
BetrothedNumbers.IsBetrothed.symmIsBetrothedis symmetric line 51 sourceSource documentation
IsBetrothedis symmetric.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, BetrothedNumbers.IsBetrothedProof uses:
Eq.mpr,And,Eq,ArithmeticFunction,ArithmeticFunction.sigma,OfNat.ofNat,HAdd.hAdd,id,congrArg,propext,BetrothedNumbers.isBetrothed_iff,Decidable.byContradiction,Not,Eq.mp10 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem IsBetrothed.symm {m n : ℕ} (h : IsBetrothed m n) : IsBetrothed n m := by …Mentions: BetrothedNumbers.IsBetrothed
- theorem
BetrothedNumbers.same_parity_betrothedSame parity betrothed numbers conjecture sorry line 67 sourceSource documentation
Same parity betrothed numbers conjecture. Do there exist betrothed numbers $(m, n)$ where both have the same parity (both even or both odd)?
All known betrothed pairs consist of one even and one odd number.
The requirement $m \neq n$ is part of the question: $\mathrm{IsBetrothed}\ n\ n$ says $\sigma(n) = 2n + 1$, i.e. that $n$ is quasiperfect, which is the separate open problem
QuasiperfectNumbers.exists_quasiperfect.depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,Ne, BetrothedNumbers.IsBetrothed,EvenProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem same_parity_betrothed : answer(sorry) ↔ ∃ m n : ℕ, m ≠ n ∧ IsBetrothed m n ∧ (Even m ↔ Even n) := by …Mentions: BetrothedNumbers.IsBetrothed
- theorem
BetrothedNumbers.infinitely_many_betrothedInfinitude of betrothed numbers conjecture sorry line 77 sourceSource documentation
Infinitude of betrothed numbers conjecture. Are there infinitely many betrothed number pairs?
depends on sorry what this means
Statement uses:
Iff,True,Set.Infinite,Prod,Nat,Set.ofPred,And,LT.lt,Prod.fst,Prod.snd, BetrothedNumbers.IsBetrothedProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem infinitely_many_betrothed : answer(sorry) ↔ {p : ℕ × ℕ | p.1 < p.2 ∧ IsBetrothed p.1 p.2}.Infinite := by …Mentions: BetrothedNumbers.IsBetrothed