Left to Solve
Problems / MathOverflow (not formalized)

Intersection of subspaces

Open, not yet stated in LeanMathOverflow (not formalized)General Algebradifficulty55/100

Statement

If you have two linear subspaces and of a vector space both given by their bases, there is fairly heavy handed way of computing their intersection: write down the projection matrices onto both subspaces, then multiply them, then compute the column span by row reduction. This is where is the dimension of even if and are (e.g.) two dimensional, but has the advantage of being very easy to code.

Is there a faster elegant method?

EDIT

To address @Will's comment (by correcting the muddled statement above): There is a famous (in some circles) Anderson-Duffin formula for the orthogonal projector onto the intersection of and thus:

Notice that if is given by a matrix of column vectors, the orthogonal projector onto is given by so is fairly heavy-weight to compute.

Posed by Igor Rivin · linear-algebra

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-108177.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-108177.lean

import Mathlib

/-!
# Intersection of subspaces

Source: https://mathoverflow.net/questions/108177
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_108177

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_108177