FormalConjecturesForMathlib/NumberTheory/Amicable.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
1 declarations, 0 contain sorry, 0 declared as axioms
Amicable numbers
Two natural numbers $a$ and $b$ are amicable if $\sigma(a) = \sigma(b) = a + b$, where $\sigma$ is the sum-of-divisors function.
Imports (1)
Imported by 1 file
- structure
IsAmicableWe say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$ line 35 sourceSource documentation
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Natstructure IsAmicable (a b : ℕ) : Prop where …