Skip to content

Comments

feat(NumberTheory/Chebyshev): express the Chebyshev theta function in terms of the prime counting function#35573

Open
antisubnoous wants to merge 2 commits intoleanprover-community:masterfrom
antisubnoous:chebyshev-theta-integral
Open

feat(NumberTheory/Chebyshev): express the Chebyshev theta function in terms of the prime counting function#35573
antisubnoous wants to merge 2 commits intoleanprover-community:masterfrom
antisubnoous:chebyshev-theta-integral

Conversation

@antisubnoous
Copy link

@antisubnoous antisubnoous commented Feb 20, 2026

This is a sibling theorem to Chebyshev.primeCounting_eq_theta_div_log_add_integral.


This is my first mathlib4 commit. I am working through some exercises and results in Apostol's ANT book as a means to practice Lean, and this result seemed like an opportunity to practice the mechanics of contributing to Mathlib because the new theorem mirrors closely the sibling theorem above (both appear in Apostol Theorem 4.3).

Open in Gitpod

… terms of the prime counting function and integration
@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Feb 20, 2026
@github-actions
Copy link

Welcome new contributor!

Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions.

We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the awaiting-author tag, or another reason described in the Lifecycle of a PR.

If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR.

Thank you again for joining our community.

@github-actions
Copy link

github-actions bot commented Feb 20, 2026

PR summary 8dbc02da01

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ theta_eq_primeCounting_mul_log_sub_integral

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for scripts/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-number-theory Number theory (also use t-algebra or t-analysis to specialize) label Feb 20, 2026
@antisubnoous antisubnoous changed the title feat(NumberTheory/Chebyshev): express the Chebyshev theta function in… feat(NumberTheory/Chebyshev): express the Chebyshev theta function in terms of the prime counting function Feb 20, 2026
@antisubnoous antisubnoous marked this pull request as ready for review February 20, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-number-theory Number theory (also use t-algebra or t-analysis to specialize)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants