FormalConjectures/ErdosProblems/101.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
3 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 101
Reference: erdosproblems.com/101
Imports (1)
- def
Erdos101.linesWithPointsForThe set of lines in $\mathbb{R}^2$ containing exactly $k$ points from a given set $S$ line 37 sourceSource documentation
The set of lines in $\mathbb{R}^2$ containing exactly $k$ points from a given set $S$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Set,EuclideanSpace,Real,Fin,OfNat.ofNat,AffineSubspace,ENNRealProof uses:
Set.ofPred,Exists,And,Membership.mem,Ne,Eq,affineSpan,Insert.insert,Singleton.singleton,Set.ncard,Inter.inter58 instances, coercions and auxiliary constants left out.
noncomputable def linesWithPointsFor (k : ℕ) (S : Set ℝ²) : Set (AffineSubspace ℝ ℝ²) := …
- def
Erdos101.numLinesWithFourPointMaxThe maximum number of lines containing exactly $4$ points among all sets $S$ of $n$ points in $\mathbb{R}^2$ satisfying the condition that no five points are collinear line 45 sourceSource documentation
The maximum number of lines containing exactly $4$ points among all sets $S$ of $n$ points in $\mathbb{R}^2$ satisfying the condition that no five points are collinear.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
SupSet.sSup,Set.ofPred,Exists,Set,EuclideanSpace,Real,Fin,OfNat.ofNat,Eq,Set.ncard,Set.Finite, EuclideanGeometry.NonCollinearFor,ENNReal,AffineSubspace, Erdos101.linesWithPointsFor34 instances, coercions and auxiliary constants left out.
noncomputable def numLinesWithFourPointMax (n : ℕ) : ℕ := …
- theorem
Erdos101.erdos_101Given $n$ points in $\mathbb{R}^2$, no five of which are on a line, the number of lines containing four points is $o(n^2)$ sorry line 54 sourceSource documentation
Given $n$ points in $\mathbb{R}^2$, no five of which are on a line, the number of lines containing four points is $o(n^2)$.
depends on sorry what this means
Statement uses:
Asymptotics.IsLittleO,Nat,Real,Filter.atTop, Erdos101.numLinesWithFourPointMax,HPow.hPow,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_101 : (fun n => (numLinesWithFourPointMax n : ℝ)) =o[atTop] (fun n => (n : ℝ)^2) := by …
Mentions: Erdos101.numLinesWithFourPointMax