Skip to content

[Merged by Bors] - chore: remove PartENat from PowerSeries#19622

Closed
kim-em wants to merge 4 commits intomasterfrom
powerseries_enat
Closed

[Merged by Bors] - chore: remove PartENat from PowerSeries#19622
kim-em wants to merge 4 commits intomasterfrom
powerseries_enat

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Nov 30, 2024

No description provided.

@kim-em kim-em added the help-wanted The author needs attention to resolve issues label Nov 30, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 30, 2024

PR summary 8f51556d4f

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.PowerSeries.Order 1045 1043 -2 (-0.19%)
Import changes for all files
Files Import difference
Mathlib.RingTheory.PowerSeries.Order -2

Declarations diff

+ add_lt_top
+ coe_inj
+ coe_le_coe
+ coe_lift
+ coe_lt_coe
+ forall_coeff_eq_zero
+ le_lift_iff
+ lift
+ lift_add
+ lift_coe
+ lift_le_iff
+ lift_lt_iff
+ lift_ofNat
+ lift_one
+ lift_zero
+ lt_lift_iff

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 script/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).

Comment on lines +53 to 56
def order (φ : R⟦X⟧) : ℕ∞ :=
letI := Classical.decEq R
letI := Classical.decEq R⟦X⟧
if h : φ = 0 then ⊤ else Nat.find (exists_coeff_ne_zero_iff_ne_zero.mpr h)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is quite strange; the whole point of PartENat is to make this type of thing computable, but then the implementation was noncomputable anyway!

@kim-em kim-em changed the title chore: start removing PartENat from PowerSeries chore: remove PartENat from PowerSeries Dec 1, 2024
@kim-em kim-em removed the help-wanted The author needs attention to resolve issues label Dec 1, 2024
@kim-em kim-em marked this pull request as ready for review December 1, 2024 02:00
@ocfnash
Copy link
Copy Markdown
Contributor

ocfnash commented Dec 1, 2024

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Dec 1, 2024
mathlib-bors bot pushed a commit that referenced this pull request Dec 1, 2024
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 1, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove PartENat from PowerSeries [Merged by Bors] - chore: remove PartENat from PowerSeries Dec 1, 2024
@mathlib-bors mathlib-bors bot closed this Dec 1, 2024
@mathlib-bors mathlib-bors bot deleted the powerseries_enat branch December 1, 2024 11:15
mathlib-bors bot pushed a commit that referenced this pull request Dec 3, 2024
- [x] depends on: #19622 (perhaps unnecessarily)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants