leanprover-community / leanprover-community/mathlib4

Slow unification of `ContinuousLinearMap.comp (ContinuousLinearMap.adjoint)` and `star *`

Open
#11,299 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

In Mathlib.Analysis.InnerProductSpace.Unitary, unitary.star_mul_self_of_mem hu for (hu : u ∈ unitary (H →L[𝕜] H)) elaborates slowly thanks to slow unification checks [1.068378s] ✅ ContinuousLinearMap.comp (ContinuousLinearMap.adjoint u) u =?= star ?a * ?b.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Mathlib.Analysis.InnerProductSpace.Unitary and inspect unitary.star_mul_self_of_mem hu for u ∈ unitary (H →L[𝕜] H). Reproduce the elaboration and examine the slow unification check between ContinuousLinearMap.comp (ContinuousLinearMap.adjoint u) u and star ?a * ?b. Done means the theorem elaborates without the reported slow unification delay.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.