Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Factorial Hypergraph: card primes LE eq prime Counting

Proved
FactorialHypergraph.card_primesLE_eq_primeCounting

by marwahaha · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

factorial-hypergraph-auxiliary-erdos

The project's counting function #{p ≤ n : p prime} is mathlib's Nat.primeCounting.

Source: https://github.com/GrgAakash/factorial-hypergraph-auxiliary-erdos/blob/67b4088fc84422c84f7e5e205552757c3c0c9a71/FactorialHypergraph/PrimeCountingUpper.lean#L139-L140

Preamble
import Definitions.Def_FactorialHypergraph_LargePrimeFactors
import Mathlib.NumberTheory.Chebyshev
import Mathlib.NumberTheory.LSeries.PrimesInAP
import Definitions.Def_FactorialHypergraph_PrimeCountingUpper
set_option autoImplicit true
open FactorialHypergraph
open Filter Chebyshev
Formal statement
theorem FactorialHypergraph.card_primesLE_eq_primeCounting (n : ℕ) : (primesLE n).card = Nat.primeCounting n := by sorry
Source
https://github.com/GrgAakash/factorial-hypergraph-auxiliary-erdos/blob/67b4088fc84422c84f7e5e205552757c3c0c9a71/FactorialHypergraph/PrimeCountingUpper.lean#L139-L140

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me