Is there support in the foundation of mathematics for dimensioned quantities?
Those immersed in real-world software problems, continually confront the absence of dimensioned quantities in programming languages. Occasionally this results in a billion dollar disaster, such as the Mars Climate Orbiter. This absence appears in the foundation of mathematics!
The absence of support afflicts even Wolfram's Mathematica, which has a bug-riddled subsystem to deal with what it calls "Quantity" entities. I say "bug-riddled" as someone who has attempted to use this subsystem rigorously and found numerous bugs not attributable to my admittedly less-than-masterful grasp of its Byzantine structure, evidenced by the following response to the latest bug with dimensioned quantities I ran into:
For an example of an approach to this vital topic, consider that First Order Logic (FOL) plays a central role in relational intension. Relation tables resulting from the application of intensions are relational extensions. The columns of relation tables may be treated as properties being observed during measurement with each row a specific observation.
Since FOL is at the very foundation of mathematics, it would seem strange if there was no work in CS to found their treatment of dimensioned numbers in terms of FOL.
Note, I'm not suggesting that this is the only rigorous approach to the problem of programming language design in which dimensioned numbers are a natural result of the foundational principles.
I'm just wondering what I'm missing, since it seems CS is all-but silent on such an important topic?