Zulip Chat Archive
Stream: mathlib4
Topic: Timeout in Matrix Product
Nick_adfor (Oct 21 2025 at 10:13):
I've found that the complex definition of matrix product makes some easy linear algebra conclusion terrible to formalise. For example, the following one is just about checking the definition of Projection Matrix (Hermitian and Idempotent) but it will face timeout.
import Mathlib
variable {n : Type _} [Fintype n] [DecidableEq n] {𝕜 : Type _} [RCLike 𝕜]
theorem is_projection_of_hermitian_and_square_eq (B : Matrix n n 𝕜) :
B.IsHermitian → (B * B = B) → (B.IsHermitian ∧ B * B = B) := by
intro hHerm hIdem
exact ⟨hHerm, hIdem⟩
--It cannot work because of timeout.
Eric Wieser (Oct 21 2025 at 11:02):
That doesn't give a timeout for me in the web editor
Nick_adfor (Oct 21 2025 at 11:03):
Well, the version change must fix something.
Eric Wieser (Oct 21 2025 at 11:04):
What version are you using?
Nick_adfor (Oct 21 2025 at 11:04):
v4.16.0
Eric Wieser (Oct 21 2025 at 11:05):
That's over 8 months old, and probably its not worth people on zulip diagnosing the issue vs you updating
Nick_adfor (Oct 21 2025 at 11:11):
So now Lean 4 Web : )
Eric Wieser (Oct 21 2025 at 11:12):
It's possible to use Lean 4.24.0 on your own computer too!
Last updated: Dec 20 2025 at 21:32 UTC