Left to Solve
Problems / MathOverflow (not formalized)

Can the similarity between the Riesz representation theorem and the Yoneda embedding lemma be given a formal undergirding?

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

Statement

For example, by viewing Hilbert spaces as enriched categories in some fashion? (I suppose the same idea of considering the inner product of a Hilbert space as a generalized Hom-set has also been pondered in connection with the similarity of adjoint transformations and adjoint functors, though I'm not aware of any more formal correspondence there either)

Edit for clarification: The full similarity I see is this:

For any Hilbert space , we have its inner product, a continuous linear map from to [where is with its inner product's argument order flipped]; currying this gives a continuous linear map from into the Hilbert space of continuous linear maps from to . The Riesz representation theorem says this is an isomorphism.

Similarly, for any category , we have its Hom functor, a continuous functor from to [where is with its Hom functor's argument order flipped]; currying this gives a continuous functor from into the category of continuous functors from to . The Yoneda embedding lemma says this is an embedding; furthermore, under suitable conditions …

Posed by Sridhar Ramesh · ct.category-theory, hilbert-spaces, enriched-category-theory, yoneda-lemma

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

import Mathlib

/-!
# Can the similarity between the Riesz representation theorem and the Yoneda embedding lemma be given a formal undergirding?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_67701