Skip to content

feat(Analysis/InnerProductSpace): a linear map composed with its adjoint is symmetric#35174

Open
nielsvoss wants to merge 4 commits intoleanprover-community:masterfrom
RanadeLabBerkeley:symmetric-adjoint-lemmas
Open

feat(Analysis/InnerProductSpace): a linear map composed with its adjoint is symmetric#35174
nielsvoss wants to merge 4 commits intoleanprover-community:masterfrom
RanadeLabBerkeley:symmetric-adjoint-lemmas

Conversation

@nielsvoss
Copy link
Contributor

Add theorems about LinearMap.IsSymmetric that match some theorems for LinearMap.IsPositive.
Mathlib contains stronger versions of some of these, like LinearMap.IsPositive.self_comp_adjoint, but having a dedicated version for LinearMap.IsSymmetric is advantageous, especially when used with LinearMap.IsSymmetric.eigenvalues.


One thing that I am uncertain about is if I should add similar lemmas for ContinuousLinearMap to even better match the IsPositive API, and if so, whether these theorems should be stated in terms of IsSymmetric or IsSelfAdjoint.

Open in Gitpod

@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 12, 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 12, 2026

PR summary 4aa0616ac5

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IsSymmetric.adjoint_conj
+ IsSymmetric.conj_adjoint
+ isSymmetric_adjoint_comp_self
+ isSymmetric_self_comp_adjoint

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

@github-actions github-actions bot added the t-analysis Analysis (normed *, calculus) label Feb 12, 2026
Co-authored-by: Monica Omar <23701951+themathqueen@users.noreply.github.com>
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-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants