This question is necessarily vague; I'm not looking for an answer so much as I'm checking to see if this is something that has been thought about/discussed before, and if there are any resources out there about it. Apologies if the question is better suited for another forum.
It's common in science/engineering to mathematically model the real world, with mathematical variables standing for some quantity. We might say, "let $a$ be the number of apples in the basket", or "let $h$ be the height of the object falling to the floor". We then discuss relationships between the values of these variables, for example writing $h = 10 - 4.9t^2$ to show how the height of the falling object is a function of time $t$. In the applied-math view, variables come first and functions capture the relationships between variables. This leads to notation, like $dh/dt$ for a derivative, that stresses the variable names and suppresses the function names.
Now I come from a pure math background, where variables and functions are treated much differently. In the language of pure math, variables represent an arbitrary general value, and are interacted with via the symbols $\forall$ and $\exists$. In pure math, the phrase "$x = 4$" is not a single claim (like it would be in a mathematical model that uses $x$ to represent something real) but rather a family of claims indexed by $x$, which is a stand-in for any element of some universal space. In pure math the only things that "exist" are sets, and therefore functions, so when we speak pure-math, the functions come first, and the variables are dummies. This is opposite to the treatment of variables and functions in applied math, and leads to the use of symbols, like $f'$ for a derivative, that stresses the function and suppresses the variables.
This difference in philosophy gives me a headache when I try to understand applied math, so I'm curious if there's a way to generate the applied-math perspective entirely within the pure-math perspective. In general I'm not sure how this would be done, but I've noticed that in statistics the situation is nice: Variables in a statistical model are random variables, which are actually functions (in a pure-math sense) from some sample space. When a statistician says "let $A$ be the number of apples in the basket", we can imagine them saying "there is a set $\Omega$ of all states of reality, and we as observers can agree on a unqiue function $A$, that assigns to each $\omega \in \Omega$ a number $A(\omega)$ that we call 'number of apples in the basket for state $\omega$'". I like this perspective, and wonder if it can be applied in general.
Has this type of thing been discussed before? It's certainly difficult to search.
This is only a tangential comment, but there is a chance that it will be helpful. Terence Tao once made some comments about how mathematical modeling works that I found to be very illuminating (even if it seems obvious in hindsight). Tao posted this long ago on Google Plus (which no longer exists) and I think it deserves to be shared more widely. I'll post here on the off chance that it strikes a chord with you:
So I think of mathematical modeling like this, for example. Let's say we're modeling an object hanging from a spring. Let's introduce or make up the following mathematical quantities:
And let's make up the following assumptions:
From the above assumptions (which we made up), it follows that $$ m x''(t) + \gamma x'(t) + k x(t) = -mg. $$ We can solve this differential equation to find a formula for $x(t)$.
(If we were slightly more clever, we could have set things up so as to obtain a homogeneous differential equation. That's what is done in standard treatments of spring-mass systems.)
To get the values of the constants $m, \gamma$, and $g$ (which are parameters in our model) we will have to make some measurements and then choose or tune the values of those parameters so that the predictions of our model agree as well as possible with our measurements. (These days machine learning engineers spend all their time tuning model parameter values, but physicists have been playing this game far longer.)
Of course, we wouldn't expect our model to make perfectly accurate predictions. After all, we just made this up. The miracle of physics is that simple models like this often make extremely accurate predictions. Mathematically modeling the physical world has turned out to be an amazingly fruitful research program, because it works far better than we had any right to expect.