Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

What should be the definition of a "functor approximator"

Algebra

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

I am working in or adjacent to machine learning these days and basically everything is a "function approximator." Given a set of data XXX and observations yyy, I want to construct a function approximator f(x)f(x)f(x) that 'approximates' the relationship between XXX and yyy. Generally this is done by minimizing the 'error' between f(x)f(x)f(x) and yyy. Similarly, I could look to pure numerical analysis and approximation theory where these concept of how well one approximates a function with another function is well defined. I'm sure everyone knows the things I'm ignoring to keep this succinct, but I would hope that we can at least agree that the concept of 'approximating one function by another' is suitably well defined.

What I've come across again and again is the following. People want to build computational models that capture not only the behavior of the function, but also preserve the context of the data that it's parsing. Orderings, relationships, if they exist on one side of the computational pipeline things are continually being designed so that said relationships are being preserved on the output side of the computational model. Thinking about the objects to be processed, this is almost like throwing out the assumptions that our samples are chosen IID.

What this also looks like to me is that rather than treating collections of datum as sets, there is an inherent push to treat them like categories where the objects are the data themselves and the morphisms are constraints imposed to relate one datum to another. Certainly there are many ways we could do this, but for the purpose of this question (unless there's a fundamental flaw in the assumption) assume that these constraints are being applied in a way that turns the dataset XXX into a category C(X)\mathcal C(X)C(X) of some sort.

Now, I have a category C(X)\mathcal C(X)C(X) whose objects are my datum and I've imposed arrows between them in a consistent way to make them morphisms (they follow composition, which is a modest condition). In my output D(y)\mathcal D(y)D(y) I want the objects to be results yyy, but where I had a morphism between the original datum I want to recover a morphism between the relevant outputs. This smacks to me that what I'm computing in my system is not a function but rather a functor.

The question is, just like I don't have access to the original function fff that I'm trying to approximate, I also don't have access to the original functor F\mathcal FF that provides the mapping that I want. As such, I need to be able to define a notion of a functor approximator.

I've figured a few things out so far, but I would appreciate the communities help on where I might be able to go and am not looking. From a categorical standpoint, this probably isn't terribly exciting, but from a computational stand point it would be fabulous if I could start doing computations on my data with functors rather than functions.

So far what I've got is:

Definition: Let C\mathcal CC be a category and P\mathcal PP a thin category with co-product +++ and partial order <<<. A distance functor on C\mathcal CC with respect to PPP is a (contravariant or covariant) functor d:C×C→Pd: \mathcal C \times \mathcal C \rightarrow Pd:C×C→P such that for all objects XXX, YYY, and ZZZ in C\mathcal CC:

  • (reflexivity on objects) d(X,X)≅0d(X,X) \cong 0d(X,X)≅0.

  • (positivity on objects) if XXX and YYY are not isomorphic then 0<d(x,y)0 < d(x,y)0<d(x,y)

  • (symmetry on objects) d(X,Y)≅d(Y,X)d(X,Y) \cong d(Y,X)d(X,Y)≅d(Y,X).

  • (triangle inequality) d(X,Z)<d(X,Y)+d(Y,Z)d(X,Z) < d(X, Y) + d(Y,Z)d(X,Z)<d(X,Y)+d(Y,Z)

Likewise, for all morphisms f:X→Yf:X\rightarrow Yf:X→Y and g:V→Wg:V\rightarrow Wg:V→W, we have that

  • (reflexivity on morphisms) d(f,f)d(f,f)d(f,f) is equal to the identity map on 000.

  • (positivity on morphisms) If fff and ggg are not equal, d(f,g)d(f,g)d(f,g) is equal to the map 0<d(X,Y)+d(V,W)0 < d(X,Y) + d(V,W)0<d(X,Y)+d(V,W).

And then I believe that symmetry and the triangle equality on morphisms are automatically satisfied on morphisms because P\mathcal PP is thin.

Definition: Let C\mathcal CC and D\mathcal DD be categories and F\mathcal FF a functor in {C,D}\lbrace \mathcal C, \mathcal D \rbrace{C,D}. A functor G\mathcal GG in {C,D}\lbrace \mathcal C, \mathcal D\rbrace{C,D} is said to approximate F\mathcal FF in P\mathcal PP with respect to ddd at precision ϵ\epsilonϵ if there exists ϵ∈P\epsilon \in \mathcal Pϵ∈P such that d(F,G)<ϵd(\mathcal F, \mathcal G) < \epsilond(F,G)<ϵ. We say that G\mathcal GG is a functor approximator.

I've run into several instances of engineers doing things that essentially amount to working with this paradigm, but I can't find anything about it anywhere and some of it just seems really obvious, which makes me dubious that perhaps I've missed something.

What say the group? Is this a meaningful concept to explore in the application of category theory to machine learning? I'm perfectly willing to accept that I'm off my nutter.

Statement and context adapted from MathOverflow · Matthew Titsworth

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Consistency question
Asking whether a statement is consistent with some axioms asks whether it can be added without contradiction. This is different from asking whether the axioms imply it.

Topics : ct.category-theory · na.numerical-analysis · approximation-theory

Authors listed by the source : Matthew Titsworth

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : July 9, 2026

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni