FormalConjectures/Wikipedia/AlmostPerfectNumbers.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
2 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- def
AlmostPerfectNumbers.AlmostPerfectA number is almost perfect if the sum of its divisors is equal to $2n - 1$ line 40 sourceSource documentation
A number is almost perfect if the sum of its divisors is equal to $2n - 1$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Eq,HAdd.hAdd,OfNat.ofNat,ArithmeticFunction,ArithmeticFunction.sigma,HMul.hMul9 instances, coercions and auxiliary constants left out.
def AlmostPerfect (n : ℕ) : Prop := …
- theorem
AlmostPerfectNumbers.exists_almost_perfect_not_power_of_twoNon-Power-of-2 Almost Perfect Numbers Conjecture sorry line 48 sourceSource documentation
Non-Power-of-2 Almost Perfect Numbers Conjecture. Does there exist an almost perfect number that is not a power of 2?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And, AlmostPerfectNumbers.AlmostPerfect,Not,Eq,HPow.hPow,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem exists_almost_perfect_not_power_of_two : answer(sorry) ↔ ∃ n : ℕ, AlmostPerfect n ∧ ¬ ∃ k : ℕ, n = 2^k := by …Mentions: AlmostPerfectNumbers.AlmostPerfect