Computational complexity of computing the trace of a matrix product under some structure
Statement
I have two problems related to computing some trace, and some (possibly suboptimal) answers. My question is about a potential more efficient algorithm for each one. (More interested in an answer to question 1.)
• Let and be three real matrices. All three matrices have size , with (that is, and are ``tall''). I want to compute . Computing , and the trace of has complexity . Is there any faster algorithm (taking into account )? Can we get ?
• Let and be three real matrices. and have size (with ), and is lower triangular (with positive elements in its diagonal) of size . I want to compute . The simple algorithm of computing , , and then the trace of has a complexity . Is there any faster algorithm (taking into account )?
If this question does not belong here please let me know! (If so, also where can I post it.)
Thanks!
Edit: just for reference, typical values are $d \in …
Posed by CComp · linear-algebra, computational-complexity, traces
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-360383.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-360383.lean
import Mathlib /-! # Computational complexity of computing the trace of a matrix product under some structure Source: https://mathoverflow.net/questions/360383 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_360383 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_360383