Skip to content

feat(RingTheory/MvPolynomial/WeightedHomogeneous): sub, eq_zero_of_no_monomials, eq_monomial_of_unique_weight#38909

Draft
CBirkbeck wants to merge 3 commits into
leanprover-community:masterfrom
CBirkbeck:mvpolynomial-api-prereq
Draft

feat(RingTheory/MvPolynomial/WeightedHomogeneous): sub, eq_zero_of_no_monomials, eq_monomial_of_unique_weight#38909
CBirkbeck wants to merge 3 commits into
leanprover-community:masterfrom
CBirkbeck:mvpolynomial-api-prereq

Conversation

@CBirkbeck
Copy link
Copy Markdown
Collaborator

@CBirkbeck CBirkbeck commented May 4, 2026

Adds three weighted-homogeneous API lemmas extracted from #38813 to keep that PR reviewable: IsWeightedHomogeneous.sub, eq_zero_of_no_monomials, eq_monomial_of_unique_weight.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

PR summary 834e51690b

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ eq_monomial_of_unique_weight
+ eq_zero_of_no_monomials
+ sub

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

…f_no_monomials, eq_monomial_of_unique_weight

Adds three weighted-homogeneous API lemmas extracted from the upcoming
graded-ring PR (leanprover-community#38813):

* `IsWeightedHomogeneous.sub`: difference of weighted-homogeneous polynomials
  of degree `n` is weighted-homogeneous of degree `n` (mirrors `add`,
  requires `CommRing R`).
* `IsWeightedHomogeneous.eq_zero_of_no_monomials`: a weighted-homogeneous
  polynomial of degree `n` is zero if no monomial has weight `n`.
* `IsWeightedHomogeneous.eq_monomial_of_unique_weight`: a weighted-homogeneous
  polynomial of degree `n` whose support is concentrated at a single `d₀`
  equals `monomial d₀ (coeff d₀ φ)`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CBirkbeck CBirkbeck force-pushed the mvpolynomial-api-prereq branch from b478123 to a45e8cf Compare May 4, 2026 10:26
@CBirkbeck CBirkbeck added the LLM-generated PRs with substantial input from LLMs - review accordingly label May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LLM-generated PRs with substantial input from LLMs - review accordingly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant