Is there some trick to automatically apply the \smash command to all inline math? I've found questions about the \smash command, but nobody is asking how to get the \smash effect both vertically and horizontally. With "horizontally" I mean, for instance, that expressions with binary operators such as $1+1$ should always have the standard spacing, the two symbols "1" should not get closer to or farther from "+".
It's important, though, that this in no way affects display math. It would be nice to also have some way to occasionally use the the standard $...$ command without \smash, but this is just a secondary request.
\documentclass{article}
\begin{document}
\textbf{Standard output:}
When we deal with a field of characteristic $2$, we have the property $1+1=0$.
\textbf{Desired output:}
When we deal with a field of characteristic $2$, we have the property $\smash{1+1=0}$.
\end{document}

\smashin your example is unrelated to the horizonat space difference, you would see the same with simplywe have the property ${1+1=0}$.– David Carlisle Jul 04 '21 at 22:41