Skip to content

refactor: redefine spectralRadius in terms of quasispectrum - #42753

Open
j-loreaux wants to merge 3 commits into
leanprover-community:masterfrom
j-loreaux:quasi-spectralRadius
Open

refactor: redefine spectralRadius in terms of quasispectrum#42753
j-loreaux wants to merge 3 commits into
leanprover-community:masterfrom
j-loreaux:quasi-spectralRadius

Conversation

@j-loreaux

Copy link
Copy Markdown
Contributor

Open in Gitpod

@github-actions github-actions Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 13, 2026
# Conflicts:
#	Mathlib/Algebra/Algebra/Spectrum/Quasispectrum.lean
#	Mathlib/Analysis/Normed/Algebra/Spectrum.lean
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 14, 2026
@j-loreaux j-loreaux added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-analysis Analysis (normed *, calculus) labels Aug 14, 2026
@github-actions

Copy link
Copy Markdown

PR summary 53f1020c7f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ _root_.QuasispectrumRestricts.spectralRadius_eq
+ _root_.spectralRadius_le_nnnorm
+ exists_nnnorm_eq_spectralRadius
+ instCompactSpace
+ instCompactSpaceNNReal
+ instance : NormOneClass (WithLp 1 (Unitization 𝕜 A))
+ isBounded
+ isClosed
+ isCompact
+ isCompact_nnreal
+ norm_le_norm_of_mem
+ quasispectrum.of_subsingleton
+ quasispectrum_zero
+ spectralRadius_eq_of_unital
+ spectralRadius_lt_of_forall_lt
+ unitization_ofLp_one
+ unitization_toLp_one
- _root_.quasispectrum.isCompact
- _root_.quasispectrum.isCompact_nnreal
- instance _root_.quasispectrum.instCompactSpace (a : B) :
- instance _root_.quasispectrum.instCompactSpaceNNReal [NormedSpace ℝ B] [IsScalarTower ℝ B B]
- spectralRadius_le_nnnorm

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.

Declarations diff (Lean -- pending)

Computed after the build finishes.


No changes to strong technical debt.

No changes to weak technical debt.

Current commit 53f1020c7f
Reference commit caa4dbde35

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/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).

@j-loreaux j-loreaux removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant