The Foundation of Code Verification: The Lax Equivalence Theorem

“For his groundbreaking contributions to the theory and application of partial differential equations and to the computation of their solutions.” — Citation for the 2005 Abel Prize awarded to Peter D. Lax.

This post focuses on one of Peter Lax’s pivotal contributions. Lax was one of the greatest mathematicians of the 20th century, and his work shaped many fields. None, more deeply than computational science. Winner of the Abel Prize in 2005. He died about a year ago at 99.

His career was shaped by the defining event of that century. He emigrated from Hungary with his family in late 1941. He was drafted into the U.S. Army at 18, and was assigned in 1945–46 to the Manhattan Project at Los Alamos. He was a brilliant high school graduate, but known to top scientists already. He returned to Los Alamos with a PhD as a staff member in 1949-50 and spent most summers there through the 1960s. There he witnessed the beginnings of computational science, and its power. Then he contributed to it mightily.

For my interests, Lax’s contributions sit primarily in hyperbolic conservation laws, where he developed much of the essential theory. These underpin both the mathematical and the numerical solution of these equations. My focus here is the equivalence theorem (Lax and Richtmyer 1956). It is sometimes called the Fundamental Theorem of Numerical Analysis (by Gil Strang). It states that for a well-posed linear initial-value problem, a consistent finite-difference method is convergent if and only if it is stable. The theorem applies rigorously to linear PDEs. This linearity restriction has long been used as the excuse for not placing it in a more central role in the practice and justification of code verification. I believe that excuse is wrong-headed and short-sighted, and I will make the case in what follows.

I write this with two things in mind. The first is the beauty and importance of mathematical foundations. This has utility in giving us confidence in what we do as computational scientists. The second is the recognition that the physical laws to which we apply mathematics are themselves only approximate too. Mathematics is the way we drag the physical world into order so that it can be understood and, with luck, mastered. We keep in mind that mathematical descriptions always fall short of the real thing. This falling-short does not diminish their importance. They are precisely what we lash ourselves to: the proverbial mast in the storm. Diminishing the power of this theorem only lessons our ability to withstand the waves.

“It was the experience of being part of a scientific team — not just of mathematicians, but people with different outlooks — with the aim being not a theorem, but a product. One cannot learn that from books, one must be a participant… It was there — that was in the 1950s — that I became imbued with the utter importance of computing for science and mathematics.” — Peter D. Lax

The Case for the Theorem

I believe strongly that Lax equivalence theorem is the foundation of verification. I will make the case for why. I will start by why the standard objection to it misses the point.

If one consults the canonical V&V references, Roache (1998), or Oberkampf and Roy (2010) you find a curiously dismissive attitude toward the theorem. The reason is always the same: strictly and rigorously, it applies only to linear partial differential equations. We all know that almost everything interesting in science is governed by nonlinear equations. In both books the theorem is mentioned exactly once, and in both it is dismissed almost as fast as it is raised.

I think that is short-sighted.

The theorem captures is the essence of what we ask of any computation: more computational effort will produce a more accuracy. It ties together the two properties that make this possible. These are consistency and numerical stability. It states that, for a well-posed linear problem, the two together are equivalent to convergence. That is the whole game. We design consistency and stability into a method. This carries the expectation of convergence. Verification is the discipline of checking whether the method actually delivers what the theory promises.

“Physics is like sex: sure, it may give some practical results, but that’s not why we do it.”― Richard P. Feynman

Yes, the rigorous statement is restricted to linear equations. But the objection loses the forest for the trees. Most of the nonlinear equations we actually care about are contractive. A contractive equation is close to a linear one in terms of what we expect from it. This is what is witnessed in our daily work. The genuine danger the linear caveat points at is real. Nonlinear equations can produce ill-behaved structures and solutions that do not converge the way linear ones do. Even linear equations do as witnessed by the fractional convergence of linear advection. That danger is the exception we should watch for, not the rule that should make us throw the framework away. The theorem tells us what to do. It defines the practice we must embrace.

The forest is this: Lax’s theorem expresses a fundamental, almost axiomatic belief about computing. It encapsulates precisely why verification is worth doing at all. The theorem is useful ammunition in a practice that is resisted commonly.

“The mathematical formulation of the physicist’s often crude experience leads in an uncanny number of cases to an amazingly accurate description of a large class of phenomena.” — Eugene P. Wigner

A Practitioner’s View

“There are many hypotheses in science that are wrong. That’s perfectly alright; it’s the aperture to finding out what’s right. Science is a self-correcting process. To be accepted, new ideas must survive the most rigorous standards of evidence and scrutiny.” ― Carl Sagan

Let me put it personally. Over a career spent designing methods, the two conditions I come back to every time are consistency, and stability. Consistency is where accuracy lives and gets defined. Stability is essential and must always be checked at design. The accuracy or stability of a technique matters more than the technique itself. I check the code, I look at how it converges on simplie problems. Then I go to more real problems. With observed convergence I confirm that the overall recipe I designed is a good. Evidence that I actually implemented what I intended to design. I have done this many times, and every single time, the result still lines up with the conditions of the equivalence theorem. It is disturbing to me that the community does not more widely recognize this simple pair of conditions as the foundational contribution it is. It is the cornerstone of the practice of the computational scientist.

There is more foundation to build here, not less. Extending it to specific classes of nonlinear equations would be valuable work. The Lax–Wendroff theorem already shows part of the way. For a consistent, conservative scheme, a convergent solution is guaranteed. A weak solution of the conservation law if you have conservation form. This has a technicality that you still need an entropy condition to pick out the physically correct weak solution.

So does the equivalence theorem hold for nonlinear equations all the time? No. Does it hold most of the time? Empirically, yes. There is the heart of my complaint: why reject something that holds most of the time? We should of course be careful, precisely because we cannot claim it always holds. Rejecting it outright is short-sighted. This is especially true given the power of the underlying concept. It has driven the growth of computational power in the decades since the Second World War. Its precepts hold for the vast majority of important work. When it does not hold, we have a crisis.

I would rather be tethered to something that does not rigorously apply than to nothing at all. This theorem supplies most of the practice we rely on during verification. That alone is reason to embrace it. Pure mathematics may not regard it as ironclad for the nonlinear problems we actually run. That is an important caveat to make clear. Still it contains very nearly the entirety of our well-founded beliefs about what these computations are doing, and it holds up empirically. That is exactly what makes it the right thing to stand on.

“I heartily recommend that all young mathematicians try their skill in some branch of applied mathematics. It is a gold mine of deep problems whose solutions await conceptual as well as technical breakthroughs.” — Peter D. Lax

References

Lax, P. D., and R. D. Richtmyer (1956). “Survey of the Stability of Linear Finite Difference Equations.” Communications on Pure and Applied Mathematics 9 (2): 267–293. DOI: 10.1002/cpa.3160090206.

Oberkampf, W. L., and C. J. Roy (2010). Verification and Validation in Scientific Computing. Cambridge University Press, Cambridge. ISBN 978-0-521-11360-1.

Roache, P. J. (1998). Verification and Validation in Computational Science and Engineering. Hermosa Publishers, Albuquerque, NM. ISBN 978-0-913478-08-0.

Brief Hiatus

I’ve taken a brief hiatus from posting, and I wanted to share why.

About three weeks ago, my father passed away after a long and extremely painful illness. It caused him a lot of pain, and it was also very hard on his loved ones. Last week, my brother visited me, and we spent a lot of time getting my dad’s affairs in order. We lost my mom six years ago, so we had to handle, for the final time, the remains of my parents, along with a lot of other business.

We have possessions to sort through, a few things to keep, an estate sale, and ultimately the sale of the family home. All of this has been going on, and as you might expect, it has gotten in the way of writing.

I’ve drafted a couple of other posts, and I’ll start working on them in the next couple of days. I hope to be back to my normal pace of writing things that are hopefully interesting and thought-provoking for all of you.

V&V thinking is how to use AI

“AI won’t replace humans, but those who use AI will replace those who don’t.” – Garry Kasparov

One of the most important questions that needs to be answered today is: How do you use AI? How do you use it properly and effectively to do your work, help run your life, and ultimately make things better? It has an amazing capacity to do this, but only if it’s used well. AI is also potentially completely and utterly destructive. It is destructive if it merely replaces the thinking person with unthinking AI slop. The direction today is moving towards destructive, and change is needed for it to be good for society.

As I wrapped up my professional life, AI suddenly landed on my radar in 2022. I immediately saw it as something huge and amazing, a moment that had happened a few times before. It felt bigger than either the advent of the Google search algorithm or the smartphone. AI is a massively transformative technology. We need to tackle the task of making the transformation positive.

Abundance … is the state in which there is enough of what we need to create lives better than what we have had.” –Ezra Klein and Derek Thompson

My concern right now is that the oligarchs and their endless greed and appetite for money will just look for more. Look at how social media played out. In addition, we have government incompetence and plain mental laziness. Corporate interests are simply poisoning our national “strategy.” Mostly, we don’t have a strategy other than buying a shitload of computers (data centers). Alongside this is destroying scientific research. The result is we are going to completely botch the rollout of AI and fail to take advantage of what it can truly do.

The bottom line is that dealing with AI properly is twofold:

  1. There’s a technique and a mindset one needs to adopt. This mindset is verification and validation of AI’s work.
  2. The goals for our organizations and institutions need to adapt to get the most out of them. AI can allow people to work more and better, not simply eliminate people.

This is a mentality of abundance, not scarcity. Right now, both of those things are decidedly not in place. The correct mindset for engaging with AI is the scientific method. In practice, that means using verification and validation. These are mindsets and techniques that help unleash AI safely and productively.

The core mindset is that AI should augment people, not replace them. It should help each person do more and better work, whether at work or at home. A foundational principle is to improve human life. Clearly, this idict is absent today as a backlash is growing day by day. Right now, no one (corporately or institutionally) is actively engaged in this mindset. If we do not change, AI could ultimately doom itself as a technology. The United States will lose its edge in the battle for dominance through the backlash. To succeed with AI, we need to adopt an abundance mindset rather than a scarcity mindset.

“The confidence people have in their beliefs is not a measure of the quality of evidence but of the coherence of the story.” – Daniel Kahneman

I’ll start with a non-technical example. My wife and I recently bought a tin raven sculpture for our front yard. We love ravens in the mountains here in New Mexico and wanted to display this. I found the perfect pedestal: a rock in our front yard where the raven could stand and be visible from the driveway, the street, and my kitchen window. The problem was that the raven kept blowing over in the wind. So I asked ChatGPT, “How can I secure the bird to the rock so this doesn’t happen all the time?” It suggested buying clear epoxy. It seemed a reasonable logical solution. To validate that approach, we checked at the store where we normally shop and found a product that matched the recommendation.

The validation was straightforward: the product was available. Moreover, the solution seemed like it would work both short-term and long-term. So far, it has been a great solution we hadn’t thought of initially. We shall see how it weathers through our seasons and persists.

This example illustrates a basic methodology in simple form. It also shows the danger of AI. The danger is that AI becomes like social media: it sells you a specific product (a brand), lets you click to buy it on Amazon, and has it delivered. One could easily see that happening, and it would start a downward spiral for AI as a tool to transform society. It would be monetized just like social media and become an engine of greed. It would sell us crap and rapidly become enshitified like all those companies.

I’ve argued that V&V is the scientific method. I think the terms in V&V are especially useful for constructively engaging AI. The first piece is verification. It can apply to confidence that a tool is theoretically correct. For modeling and simulation, the definition is straightforward. For AI, the definition is slightly different: it’s about whether the tool can provide basic information reliably and correctly.

“Progress is more about implementation than it is about invention.” –Ezra Klein and Derek Thompson

When I start querying a large language model on a topic, I always begin by asking axiomatic questions to determine whether the basic information is present in the LLM’s responses. More importantly, are there gaps or mistakes in that knowledge that need to be accounted for before I try to probe into the unknown? This is a verification exercise and a way for me to gain confidence. Conversely, I might find that the LLM is faulty. I can proceed through other avenues. Through verification, I can find if the LLM is well-suited for the pursuit of the question that I am thinking about. This is the initial step.

The real work comes in validating the LLM’s responses to deeper, more unknown questions. A key is to approach this with a healthy dose of doubt and take everything the LLM produces with a grain of salt. Addressing and calming these doubts is V&V thinking. One way to validate the results is to research the LLM’s responses and check whether they are factually correct. Another approach is to test the results in the field and see whether they hold up. We did this with the tin raven.

If you are writing code or running a literature search for your work, you should also validate. See that the references the LLM finds are actually real. Once you have validated the results, you can use them with confidence. You get an acceleration of your work, but you still have to do the legwork to confirm whether it is correct. One can do far more validation by using multiple LLMs to flag variations in response.

There are a few ways to query an LLM to help you assess the reliability of its responses:

  1. Ask the LLM to provide references and links so you can track where the information came from and evaluate whether it is reliable.
  2. Ask the LLM to provide multiple responses to the same question. Make the LLM score each result to get a sense of its relative confidence. This can help you probe the broader uncertainty in the results. For higher-stakes questions, draw more samples and pay attention to where the score drops off. You can see if LLM is providing responses it believes are less likely. Validation would examine the veracity of its assessment.
  3. This uncertainty needs to be probed and validated. I have seen cases where the lower-probability response was actually the better one. This rightly calls its results into question.

This gets at the power of AI, which is very good at breadth and at incorporating a broad spectrum of views. That breadth is also the danger, since there is no truth embedded. One needs to be mindful of the breadth it is producing. It is dangerous. Some of the responses LLMs provide are garbage (hallucinations or bullshit).

Humans provide depth. Humans provide thought and checking. The combination is powerful. If you take the breadth and consider it carefully, the LLM results can broaden your perspectives. This can, in turn, encourage deeper thought. That deep thought needs to be encouraged across the board.

This gets to the worry I would have when the leadership at work engages with using AI. When I was working, the push to use AI was superficial and clumsy. I’ve heard from friends at several institutions that the leadership’s approach to AI has been mindless cheerleading. For example, getting people to use it without any sense of responsibility or technique. For example, they might say, “Let AI write your performance review or performance plan.” No effort was put into showing how to engage with it properly. The entire engagement lacked any skill or depth.

“We have a startling abundance of the goods that fill a house and a shortage of what’s needed to build a good life.”–Ezra Klein and Derek Thompson

This kind of mindless work calls into question the performance review itself. It is not befitting leadership and malpractice. Leadership should encourage people to think and do the hard work of using AI properly. Use AI to augment their work (not replace it). The goal should be to make work better, deeper, and of higher quality. Ultimately, the aim is to use it as a tool to encourage broader, more open-minded thinking. That thinking needs to be applied in a verified and validated way so it can be used for things that matter. Given the mission of these institutions, any other approach is reprehensible.

Let’s get to the real enemy of success and AI: a short-term view of what constitutes success. For corporations, that means money. For institutions, it means money too, and increasingly so. Success means taking the long-term view of success. Using AI properly is a long journey. It requires deep engagement with the development of detailed processes analogous to V&V used in modeling and simulation. We all need to put in the work.

“The ability to discipline yourself to delay gratification in the short term in order to enjoy greater rewards in the long term, is the indispensable prerequisite for success.” — Brian Tracy

If you adopt a scarcity mindset, you use AI to replace workers and reduce the workforce size. You invite the backlash we are starting to see. In the short term, this works like a charm. We have institutions and corporations that show no fealty to the nation as a whole and will eagerly make decisions that are negative for society. We’ve seen this with social media, and if we see it with AI, the damage will be profound. The opportunity cost is even higher. AI could do miraculous things. That opportunity is being squandered.

This dynamic between humans and AI plays out most profoundly in education. If we adopt a scarcity mindset and fail to adapt, AI could completely upend our current educational system. We can choose to make it better or worse. Right now, we are moving towards worse by resisting this technology. Our educational system already needs an overhaul. Do we grab the opportunity to improve it, and train the next generation with this technology? It could be a catalyst for a positive transformation.

My attitude is that we should assume every student is using AI and design a system that is impervious to cheating. That assumption is the key. The essence is teaching students how to use AI properly. It is what I described above. They need to have the necessary techniques, knowledge, and drive to augment and accelerate learning. These lessons can be meaningful with or without AI. The hard part is putting some burden on the teachers. Education cannot be static or underestimate this technology. The value of a liberal arts education will suddenly skyrocket. The skills and knowledge are going to be in greater demand. True human individuality and authenticity are also needed to stand out with AI. AI flattens and makes work anonymous. In the future, the touch of inspiration from an individual will be a hunger.

The first lesson of economics is scarcity: There is never enough of anything to satisfy all those who want it. The first lesson of politics is to disregard the first lesson of economics.” – Thomas Sowell

My stance is this: if you submit work that is essentially regurgitated AI “slop,” you get no credit. That is a zero, a foundation. If you produce something wonderful and good without AI, more power to you. The question is, if you are using AI, are you producing a better product? Have you done the due diligence and the work required to make something better than you could produce on your own? We should adopt disclosure about AI use across the board. We should always talk about how AI was used in the production of the work, and we should do this at work and at school, every time.

For example, I use Claude to edit and do a comprehension and grammar pass on my writing. I also use Claude to generate potential social media posts for each blog post. I do this as a matter of course as part of my education on LLMs. I make sure the writing itself is all from me.

Ultimately, this attitude should apply in education, in work, and in life. Placing the scientific method and verification/validation at the center of how our new world works is long overdue. The quest to use AI productively in society can power this shift. It would change AI from a force of unbridled destruction into one of creation and quality.

The abundance mindset, which says we keep all the people but make them produce more over the long run, is the path to wealth and success for society as a whole. It requires patience, investment, and a strategy that our current leadership seems incapable of producing. Ultimately, this is our greatest battle: getting our leadership to choose a long-term path to success over short-term profit-taking. The signs today do not look good, since short-term profit and wealth are dominating everything, whether public or private.

“We had better be quite sure that the purpose put into the machine is the purpose which we really desire.” – Norbert Wiener


Conservation. Is it Optional?

“For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.” — Richard Feynman,

Yes, it is entirely optional. The question is whether it should be.

My view is that it should not be optional; conserving should be foundational. Optionality is a real problem across computational physics. There is a tolerance for this practice that reflects deeper cultural issues and the history of various technical fields. Like many things, it is an accepted practice that should be unacceptable.

I started exploring this question by poking around with AI. This is the way things are done these days. One can study a topic with a large language model. Since I’m currently paying for Claude at a modest level, this was the first choice. I asked it first, and like most large language models, the initial response included a lot of ass-kissing and dick-sucking that I didn’t ask for. It does that almost reflexively. When you get answers like that, push back and reject them.

I should note that Claude has been editing and digesting most of what I write lately, so it knows my views very well. This is not what I wanted. I wanted an honest broker and a scan of genuinely different ideas. I had to call Claude out to get those.

As a best practice, I also asked the same question of ChatGPT and Gemini. I got much the same answers, and as you’d expect with the free versions of ChatGPT and Gemini, they were a bit disappointing. There were some common threads worth hanging onto and considering.

“The first principle is that you must not fool yourself — and you are the easiest person to fool.” — Richard Feynman,

One of my questions was: which conservation law is the most fundamental and primal?

“The law that entropy always increases holds, I think, the supreme position among the laws of Nature… if your theory is found to be against the second law of thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation.” — Arthur Eddington

I got a lot of navel-gazing nonsense that tried to sound thoughtful, but was not remotely useful. One answer was that energy is the most fundamental, mainly because of how energy and mass interact in special relativity. For relativistic flows, that is the correct answer. For most flows, this was idiocy. The other common response cited entropy as a conservation law, which it is not. It should not be listed as one of them. Entropy is not conserved. It is, given a sign convention, a quantity that matches an inequality. The responses failed to talk about the nature of that inequality dynamically, which is incredibly important. For large-scale flows, the entropy observes some well-known asymptotic limits.

I also asked about the numerical aspects of conservation. The responses highlighted the importance of the Lax-Wendroff theorem and its implications. That was a high point, especially for Claude, since it has digested all my writing. The discussion also mentioned Godunov’s theorem, which is important but completely unrelated to this particular question. Lax-Wendroff states that conservation form is needed numerically to compute weak solutions to these equations. These weak solutions are appropriate for singular (shocked) flows. Weak solutions are also not unique. To get the unique and correct physical solutions one needs an entropy condition. This is a solution that is properly limiting to solutions containing vanishing dissipation.

From the LLM questions, my conclusion is that conservation is important across the board. All the equations are esential. I would identify mass as the most fundamental conservation equation, since most other equations follow from it. This perspective starts with mass as the foundation for the other conservation equations. It is included in momentum, energy, and charge conservation. It is not in magnetic conservation or the solenoidal condition.

“The opposite of a correct statement is a false statement. But the opposite of a profound truth may well be another profound truth.” — Niels Bohr

For fluid equations, the mass equation is the first moment when you derive the conservation laws from first principles using the Boltzmann equation. I will stand by this premise. I should note, however, that viewing energy as primary is an indictment of the labs. By and large, do almost every calculation without conserving energy. There are exceptions to this statement, but non-energy conserving is well-accepted. In fact, more accepted than energy conserving methods.

Let’s get to the point: I believe conservation should not be optional.

I’ve written about the obsession with preserving adiabatic conditions, and how that leads to a use of non-conservative methods. The non-conservation comes from the choice of an internal energy equation. It is an evolution equation, not a conservation law. Actually, The focus is the energy equation causing the issues. I do think energy should be conserved as a constraint, ideally by construction. The preservation of adiabatic conditions should be what you compromise on, and build into these schemes. Right now, the opposite happens: conservation is the thing that gets sacrificed.

“In mathematics you don’t understand things. You just get used to them.” — John von Neumann

My reasons are straightforward. In the labs they care about flows that are highly energetic. Those flows have weak solutions, and if you’re interested in weak solutions to these equations, the Lax-Wendroff theorem applies. It applies to finite volume schemes, finite element schemes, and every scheme you can imagine. It is not limited to one specific method. It applies to a class of equations that can be solved. The theory is simply ignored by them. For people working in solid mechanics, the same principle applies. They are also bound by conservation laws and the Lax-Wendroff theorem.

The “element death” or “element deletion” approach to violating mass conservation is one of the most appalling things I can imagine. There is a key difference between this method and the problems with the energy equation. The discarding of mass is not based on a differential equation. It is done without an equation. Thus, it destroys the entire legitimacy of the solution. It is physically inconsistent. It is as if a Star Trek transporter beamed the mass out and put it on the Enterprise. The method is complete bullshit and simply incompatible with science.

I dealt with this in the mechanics culture at Sandia, and it is something they are committed to as an act of intellectual hubris and laziness that is completely objectionable and indefensible. The fact that many extremely important codes rely on this should not be tolerated. More than tolerated, it is even promoted as the right thing to do. In the end, it produced only a complete lack of respect for this community. It is a method grounded in complete ignorance. It is witchcraft and wizardry, and not something that anyone should depend upon.

“Every act of conscious learning requires the willingness to suffer an injury to one’s self-esteem.” — Thomas Szasz

All of these communities would be well served by treating conservation as a fundamental principle. The systems they study conserve as nature does. By the same token, entropy should not be conserved. Instead, it should be treated as an inequality. Entropy should be conserved locally only when the conditions exactly match those that would produce this. Otherwise, the inequality should be applied. In important conditions of shock waves and classical turbulence the rate of entropy production is well known. This is tied to the large scale structure of the flow. This is described by the jump conditions in a shock. It turbulence it is the large scale variation in the longitudinal velocity.

This inability to adhere to a bulletproof physical constraint and concept is a threat to progress. The cultural factors that lead to loyalty to these poor practices are the root of the issue. The methods we use to solve key problems are far less capable as a result, and we should not tolerate that. Our scientists have a deep responsibility to responsibly solve problems of huge national interest. The failure to apply the principle of conservation is an attack on the legitimacy of these equations. This threat is different depending on the root of the violation. The mass violations are far worse because they are not differential. We should know better, we should do better, and we should demand that conservation be treated as an ironclad law. The other principles as processes we try to optimize under the constraint of conservation. Today’s methods do the opposite.

“When life itself seems lunatic, who knows where madness lies? … and maddest of all, to see life as it is and not as it should be.” — From Man of La Mancha, – Dale Wasserman

We should demand better, but after what I’ve seen, we should expect less. The labs are in a race to the bottom, and I wouldn’t expect anyone to do anything bold or good in this environment. I’ll keep up my pointless assault on windmills.

“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.” — Václav Havel

Local Technical Cultures

tl;dr

A key element in personal and professional success is the culture of the place you work, down to a very local level. What I discovered is that these local cultures are essential to how places operate. They are founded on practices that appear to work given the constraints of the job. They are shaped by the legends of people who have excelled there in the past. Together, these comprise a local culture that your work had better resonate with. If you don’t, you will find resistance and ultimately difficulty in achieving professionally. You either adopt the culture by adapting your beliefs to it, or you fight it and lose.

“Culture eats strategy for breakfast.” — Peter Drucker

Every Culture Holds Experience as Proof with Practices and Legends

As I described in my last post, when I took the job at Sandia in 2007, I had a highly refined set of skills. I had refined the craft of producing robust, powerful numerical methods for a wide class of problems of interest to the labs. The people who hired me at Sandia saw this as well. The thing that neither of us understood well enough was how difficult the craft I possessed would be for the culture I was going into. The culture and computation at Sandia have several strongly idiosyncratic aspects:

  • It is fundamentally a computational mechanics community, not a computational physics community.
  • Massively parallel computing was an epic achievement at Sandia, and the momentum from that achievement still holds sway today in the minds of those who lead it.
  • The combination of computational mechanics and massively parallel computing is a legendary success. Everything else at Sandia is in the shadow of those.

“Men do not change, they unmask themselves.” — Madame de Staël

Coming from Los Alamos, I thought of things more in terms of computational physics. I was also well versed in modern computational fluid dynamics and generally believed in what came with it: high-resolution schemes, Riemann solvers, and the absolute necessity of conservation form. Virtually none of this was accepted or even deemed important at Sandia. This led to an almost immediate culture clash between my firmly held beliefs and the beliefs of those I was working with. This was true even when working on the ALEGRA code, which was an outlier within the core computational mechanics community at Sandia.

Take, for example, the concept of mass conservation. In my mind, conservation of mass is a sacrosanct physical law. At Sandia, in the computational mechanics community, conservation of mass is merely a suggestion. There is a willingness to sacrifice it in the name of robustness and convenience. The willingness to sacrifice mass, when it became inconvenient, almost immediately came to a head when I arrived at Sandia. The people would do it blithely, almost without a thought. I can contrast this with Los Alamos, where such a practice ended a storied and very expensive code project virtually overnight.

“It is impossible for a man to learn what he thinks he already knows.” — Epictetus

The episode at Los Alamos is interesting because the adherence to conservation of mass, and the consequences of not doing so came from an avenue at the lab that was hardly the most principled in terms of how computations were pursued. I’ll get into that a little bit later.

At Sandia, the computational mechanics community will remove elements from problems as soon as they become distorted. The elements are viewed as corrupted and completely unable to be fixed or retained. They’re just deleted. To me, this looked like a practice that was tailor-made to destroy the legitimacy of any calculation that was done.

“An expert is a person who has made all the mistakes that can be made in a very narrow field.” — Niels Bohr

Much to my revulsion, this practice was copied in the Eulerian hydrodynamics arena with the code CTH. There, the discard feature was used to get rid of problems, dominantly with the equation of state. This was whenever a material entered some modestly unphysical state that would cause issues with things like sound speeds, creating very small time steps. ALEGRA had a similar feature. They called it Cell Doctor, a way of doctoring the code in the same fashion as discard. The procedure was simple and pervasively used, without seeming understanding of the negative consequences of doing so.

“The graveyards are full of indispensable men.” — Charles de Gaulle

My reaction to this practice was immediate and strong. I found the entire idea completely reprehensible and a violation of principles so important that there had to be a different solution. I started by making fun of Cell Doctor, giving it other names like Cell Undertaker. Nothing could change the fact that I was pushing against a practice that was widely accepted and, to some extent, celebrated within the community I was now working in. Let me be perfectly clear: there is nothing that has ever convinced me that discarding the conservation of mass is a good idea.

I look back now, still feeling the same way, and realize that what I was chafing against was an extreme cultural norm that the computational mechanics community had accepted as almost second nature. My resistance to it made me an outsider and a heretic. I was so sure of the correctness of my perspective that I didn’t step back to examine the nature of this disagreement and its sources. I was rejecting a technique that was storied and accepted within the Sandia community, one that had been championed by several key people who were heroes and legends of the past. Therefore, my repudiation of it was also a repudiation of those legends.

“It is no measure of health to be well adjusted to a profoundly sick society.” — Jiddu Krishnamurti

In retrospect, I see my error. Not that I was wrong technically, but that I was wrong culturally. I was choosing to battle something that had been accepted by this community, and it was also something I could not replace with other means. I had a general set of principles and practices that pushed against all of these ideas. In the end, I should have simply withdrawn, because it was a fight I was never going to win. My retirement was my final surrender, see the light of the futility of fighting culture no matter how wrong it is.

To some extent, I witnessed similar trends at Los Alamos. For example, code developers in the Los Alamos ecosystem were treated as second-class citizens. I have described before how this came to pass. Being a code developer in the 1950s was seen as a way to take a break from the front-line grind of developing nuclear weapons, especially with Pacific testing. This mentality persisted through the 1960s, 1970s, and 1980s. Code developers were always considered less than the people who designed and analyzed nuclear weapons. This lack of professional standing damned them to second-rank status. It damned the resources given to code developmetn too. It really damned the codes they developed.

There was also ongoing tension between the Theoretical Division and the Applied Theoretical Division, where the weapons work predominantly took place. Those wars, and the attitudes that were imprinted in the culture. This meant that very few Los Alamos codes were ever used to do the work in the Applied Theoretical Division at Los Alamos. Almost all the code work was done using codes developed at Lawrence Livermore National Laboratory, and even at AWE in England. Conversely, it’s no small statement to say that code developers in computational physics had a much higher standing at Lawrence Livermore. The difference is huge. Livermore developers are some of their most storied employees (e.g., George Zimmerman). This alone accounts for much of that laboratory’s success in developing codes. Many of these codes were ultimately used by Los Alamos in their work in place of homegrown codes.

“It is the mark of an educated mind to be able to entertain a thought without accepting it.” — Aristotle

I had already waded into some pretty deep waters in terms of the culture. My expertise in modern methods (which came more from CFD) chafed against the methods used by Los Alamos and Livermore. The methods most in use at those labs were based on the work of John von Neumann and Robert Richtmyer. The codes developed in two and three dimensions were ultimately derivatives of that basic methodology. They had been used for decades and their basic use was axiomatic.

The codes at Los Alamos and Livermore would never sacrifice mass conservation under any circumstances. It was viewed as sacrosanct. This gave rise to the use of various remap and remesh methods. These allowed the Lagrangian approach they took to be relaxed, but solving many problems as they became more complex. Ultimately, instabilities in mixing took over, rendering a Lagrangian calculation impossible. The Labs used methods that allowed one to slowly back away from Lagrangian.

“Science advances one funeral at a time.” — Max Planck

My own work was on modern Eulerian codes, which completely sidestep this problem. They are also quite unpopular at the labs. They had great success elsewhere, primarily in the aerospace community. They had also achieved greatly in astrophysics, which is similar to work at the Labs. None of this mattered at all. These methods were counter-culture heresy. One of the key differences is energy conservation. Modern Eulerian codes conserve total energy. The Lab codes do not and they have reasons for this preference. High contrast adiabatic compression is the reason.

Outside the labs, these codes have matured greatly and have a great deal of energy and utility. The intrusion of this technology into the labs’ work has been slow and fraught with problems. The main issue is that these methodologies are quite different and come in as a counterculture example. The culture fights and resists it because it’s foreign, not because it’s not a good idea. It simply wasn’t used by the heroes of the past, and it is something external that they don’t trust. It matters little that the methods had their foundational origin at Los Alamos (e.g., Peter Lax). These methods had not pulled their weight in solving nuclear weapons problems.

“All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident.” — Arthur Schopenhauer

I Developed a Craft; No One Needed It

tl;dr

I built a craft over four decades. I found deep knowledge of the literature, numerical methods, tools, public speaking, and the discipline of writing. Most of it went unused in the second half of my career. Los Alamos in the 1990s was generous, curious, and open enough to hone that craft. Senior staff would give you their expertise if you showed up with intellect and judgment. Sandia was an engineering culture that valued maintaining the status quo over advancing science. The edge I had developed was treated as a liability rather than an asset. My craft stagnated. Much of my writing now is an attempt to understand what happened and why.

“I had to learn quickly, for the work was hard and the demands real, but no one could have asked for a better apprenticeship.” — Bertrand Russell

My Hard-Won Craft, Its Use, and Its Ultimate Lack of Utility

The things you know how to do make a huge difference in work. They define what you can technically achieve and provide to where you work. Success, it turns out, depends on things like personality, culture, and interpersonal skills. Usually, one thinks about education as happening at school. I think this is short-sighted and too narrow. I went to a second- or third-rate university. The skills I left school with were modest and ordinary. These basic skills did provide me with a foundation that was ready for something extraordinary.

“Life can only be understood backwards; but it must be lived forwards.” — Søren Kierkegaard

I would say that I have extensive knowledge of the literature in my field. I read widely and absorbed an immense amount of knowledge. In addition, I have learned much about the history of my field, and this is hard-won because it is hidden. Scientists are not terribly good historians.

At school, I did a Master’s thesis. It was pretty much shit and mostly a waste of time. I did learn a bunch of things not to do. I learned who not to work with, and what attitudes and relationships at work are unacceptable. In a deep sense, I found the same thing at the end of my career at Sandia. What was unacceptable when I was 24 was even worse at 62. When it happened again, I retired and left. Ironically, I did the same thing at school. I lucked out and got a job at the best possible place. So many other jobs would have been horrible, and my craft would have been frozen in place.

“If I have seen further, it is by standing on the shoulders of giants.” — Isaac Newton

I had the great luck of working at Los Alamos in a period when you could learn a great deal. The staff at Los Alamos were generous and full of curiosity and love of science. If you showed a decent intellect and judgment, you could tap into their expertise. This is exactly what I did. If I look at the structure of this, I see a drama happening in three acts at Los Alamos.

  1. My initial job provided modest education, but support for education and my PhD. This was mostly individual self-study. The main thing the job did was connect me to the rest of the Lab and set the stage for the next stage.
  2. I worked on a real research project and started to connect with the rest of the Lab. There was a collaboration with Doug Kothe. Also, what effectively became a Habilitation-style thesis with that Project. The project also connected me to high-level researchers like Phil Colella and John Bell.
  3. I moved to the Applied Theoretical Physics Division (X) and started to apply my skills to the Mission. There was a well-funded program (ASC) with lots of energy. I also executed a very successful research project on turbulence. The mission work motivated me to do a bunch of really hard things (like turbulence). This really matured me. I wrote a couple of books and a shitload (or is that a fuckton) of papers.

“What we have to learn to do, we learn by doing.” — Aristotle

In addition to my extensive knowledge of the literature, I had a bunch of practical skills. Early on, I started using symbolic manipulation software (Mathematica, Maple, Macsyma). I learned how to do everything by hand, but found complex analysis could be automated. Using software like this is informative about how to think and use AI. This included many forms of stability analysis, derivation of methods, and other forms. This automation allowed me to attack a variety of methods and explore things efficiently. I also began to catalog problems and pathologies to combat. I explored ways to mitigate them.

I remember a quip Phil Colella threw at me: “You’re a really good method engineer.” I think it was meant as an insult, but eventually I took it to be true and a modest compliment. Yes, I became a “numerical methods engineer.” I had a great set of skills and knowledge to tackle all kinds of problems. I learned a great deal about hyperbolic conservation laws, multiphysics, numerical linear algebra, and turbulence. I combined these, mixing and matching to great effect.

“We do not remember days, we remember moments.” — Cesare Pavese

I remember when I gave my first talk on hyperbolic PDE solvers at the AIAA CFD conference. Phil was in the audience. I gave a really shitty talk. Too many equations and too much nervous energy all put together into a blur. At the end, I knew that I had fucked that up. After that, I worked diligently on becoming a better public speaker. Today, I feel like I am a very good speaker. Along the way, I gave a class on “Eulerian Hydrodynamics” at Los Alamos with 40 lectures and 1200 slides. They asked me to give the class again. In a sense, this was the capstone of my career there. I was giving back to the Los Alamos staff what I had been given by others before. I was giving my experience and knowledge as a reflection of my growth there.

My time at Sandia was a way for me to apply my skills, but the work I was assigned did not require the skills I developed later, after 2000. Everything I learned beyond that was surplus to requirements. I kept learning while I was there, but the environment was much more closed off and conservative, and it lacked generosity. It is hard to say whether that was a feature of Sandia culture or just the passage of time, but it was probably a combination of both.

“It is difficult to get a man to understand something when his salary depends upon his not understanding it.” — Upton Sinclair

I still learned a lot, especially through statistics and how to apply them, and the job was difficult. Much of what I did at Sandia involved adapting well-established technologies to the limitations and constraints we faced there. It also meant accommodating the relatively backward practices and less-than-optimal problem-solving approaches that seemed standard there.

In the end, my craft stagnated and did not grow during my time at Sandia. I feel some regret and a sense of loss about that. A lot of my recent writing has been an effort to understand and explain what happened. I think the simplest explanation is that Los Alamos was special and different from most places. Sandia was ordinary and lacked that special something: curiosity and open-mindedness. One reason for this is culture; another is the particular pace of our modernity. Sandia is fundamentally an engineering culture, with interesting local cultures surrounding it (next post). Those cultures tend to be more focused on maintaining the status quo than on advancing the state of science.

The unexamined life is not worth living.” — Socrates

That is not to say Los Alamos has all of this figured out. When I got there in 1996, they were still using code written in the 1950s for some of their most important analysis. The same attitude is present at Sandia with their famous code, CTH. It is even older now than that LANL code in a comparative sense. Both cultures tolerated unacceptably old technology for essential work. Why do places like these hold onto technologies that are obviously past their sell-by date? It seems to be a matter of resistance to change. The active choice of very conservative communities of practice. They lack the imagination and bold resolve to do anything different.

I’ll close by saying that I’m sure Los Alamos is a shadow of what it was in the 1990s, when it generously honed my craft and gave me a set of tools I’m proud of. That makes me wonder whether Sandia also declined during that era. In my experience, there isn’t much reflection of that decline at the lab itself. I see the deep-seated issues in the United States as a whole.

“Mastery is not a function of genius or talent. It is a function of time and intense focus applied to a particular field of knowledge.” — Robert Greene

My Greatest Professional Accomplishment

tl;dr

My greatest professional accomplishment was founded on a failure. It shaped the rest of my career, but those heights were never returned to. The work was key to how my craft as a computational physicist grew. It made me who I am. The culture of Los Alamos in the early 1990s allowed it to happen. That culture is dead today. The culture at Sandia would have never allowed it.

“The most important questions in life can never be answered by anyone except oneself.” — John Fowles

An Inspired Lunchtime Question

A good friend took me to lunch recently to celebrate my retirement. He’s a few years out from his own retirement. Lunch was enjoyable as expected, but one moment stands out. He asked me about my greatest professional accomplishment. In your career, what achievement do you look back on with the most pride? What a spectacular question! I asked him as well. Our answers said a lot about us.

My answer was easy to come up with.

Back in 1994, I had moved into the computational science part of the Lab. I was continuing my examination of interface tracking while collaborating with Doug Kothe. I had come to understand the importance of these methods to the Lab and its core mission. The method of David Youngs, with piecewise linear (or planar) interfaces, was the state of the art. To understand it, I implemented it and used the manner of implementation I had seen in code. The time integration of the method used operator splitting. It worked pretty well.

I have a firm belief that to really understand a method, you improve it. An obvious way to improve this method is to remove operator splitting and create an “unsplit” method. This was far more complex and logic-intensive. When I tested it using the standard translation of simple shape tests, it worked.

I was also working on better tests for these methods. The standard tests were lame as fuck. The whole reason you need interface tracking is the phenomenon of shear. Without shear (and vorticity), Lagrangian methods are just fine. Vorticity in a flow is what makes Lagrangian methods fail. I introduced problems from the literature for advection with vorticity. These problems were introduced by Randy LeVeque and Piotr Smolarkiewicz. Randy also introduced a cool time reversal term where a flow could be rewound to the initial state. These problems were more realistic and difficult. They immediately broke my “improved” method. I could not debug it either. As I learned, the new method had too much cyclomatic complexity (too many nested if-thens).

An important point about this is failure. I tried something, and it failed badly. This failure would power accomplishment. Without the failure, all the good things that followed would not have happened. The other key point is that no one paid for this work. There was no project, no funding, no management involved. I was working on another project using C++ to code up methods. In those days, the compile-link cycle with C++ took forever (15 minutes a pop). The code I wrote, along with everything below, happened during the compile-link time. I was using Fortran, and it compiled and linked very fast. The Fortran on the UNICOS Cray Y-MPs was awesome.

“The scientist is not a person who gives the right answers, he’s one who asks the right questions.” — Claude Levi-Strauss

I went back to the drawing board. I ingested techniques from computational geometry. I realized the entire methodology for Youngs’ method could be implemented using it. I created a set of primitives from computational geometry and created Youngs’ method anew. It worked great. The code had very low cyclomatic complexity. I then did the unsplit version, and it worked too. It passed the tests and was easy to debug. Doug and I wrote up the work and submitted “Reconstructing Volume Tracking” for publication. It was published in the Journal of Computational Physics, including the history of these methods. The paper has over 2500 citations now.

Something else is the clincher for the greatest accomplishment. A few years later, I was involved in adding interface tracking to an important Eulerian code at Los Alamos. It turned out that any Eulerian code needs this, and AMR is not enough for interfaces. I was working with Ed Dendy, who was hands-on in the code. I was mapping out and deriving methods. We designed a method using artificial compression that blended with the existing code seamlessly. It is the standard method used today. Ed also added the version of Youngs’ method I created to the code. Recently, I confirmed that this code is still used today.

The achievements here were multiple. I created a new way to implement a method that is a genuine improvement. I created a better version of the existing method. We wrote a comprehensive paper on the methodology that was well-received. Finally, I created better test problems for this class of methods. These tests have become far more standard and helped drive improvements across the board in interface tracking. Improved level set methods are a key example. Finally and critically, the methods and code I worked on are used for important problems at Los Alamos. It is a substantial and meaningful contribution to our national security.

All of this produces a great sense of pride and accomplishment.

The lessons from this chapter of my career are deep and bountiful. Almost everything about it is counter to the current scientific environment at the Labs. Today, no manager trusts their staff enough to allow this unless you do the work off the clock.

“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.” — Ralph Waldo Emerson

Postscript

This work is a source of pride and achievement, but it also fills me with dismay. I left Los Alamos 20 years ago, and this work is 30 years old, with the implementation in the code dating back 25 years. I expect the technology to have advanced over that time. The work I did so long ago could be a foundation, but it should have been replaced by something better. The fact that something better is not on the agenda at Los Alamos leaves me with a sense of despair. The part of me that feels responsibility and duty would rather have seen that work replaced by something newer, better, and more capable. It’s been a quarter century after all. My accomplishment was shaped by curiosity, responsibility, and duty.

I was driven by a desire to support the Lab’s mission and national security by addressing something that seemed very important. Those are things to celebrate with hopes young people find the same inspirations. My greatest worry is that the combination of motivations today undermines this. The basic incentive structure for the institutions and people is different today. Another key element is trust, which is lower in both directions. Proper incentives and trust were key to my accomplishment.

“If what you have done yesterday still looks big to you, you haven’t done much today.” — Mikhail S. Gorbachev

I’m going to write shorter, more frequent posts for a bit. See how that works. I would love any feedback or reactions.

References

Rider, William J., and Douglas B. Kothe. “Reconstructing volume tracking.” Journal of Computational Physics 141, no. 2 (1998): 112-152.

Rider, William, and Douglas Kothe. “Stretching and tearing interface tracking methods.” In 12th Computational Fluid Dynamics Conference, p. 1717. 1995.

Kothe, Douglas B., and William J. Rider. “Comments on modeling interfacial flows with volume-of-fluid methods.” Submitted for publication (1995).

Kothe, Douglas, W. Rider, Stewart Mosso, J. Brock, and John Hochstein. “Volume tracking of interfaces having surface tension in two and three dimensions.” In 34th Aerospace Sciences Meeting and Exhibit, p. 859. 1996.

Stability and Applications Guided Early CFD: What We Can Learn from It

tl;dr

Algorithmic stability is an essential concept for solving problems with computers. Studying stability provides a foundation for everything a computer does. Any algorithm for any purpose can exhibit stability issues that are fatal. Simply put, a lack of stability arises from a small change in data, yielding a huge change in results in an anomalous way. The archetype of stability is the numerical solution of differential equations. This arose from key wartime applications and early computing use (WW2 and the atom bomb). Von Neumann’s numerical algorithm for computing shock waves failed miserably. It became a key topic to study and understand. This spurred essential developments in computational science. Despite progress, problems still exist needing attention. There are parallels to AI that we should look to for better outcomes with that technology.

“Mathematics is the art of explanation.” ― Paul Lockhart

In the Beginning

By 1944, the American effort behind creating the atomic bomb was beginning to make genuine progress. Part of the Manhattan Project was nascent computational physics efforts led by the vision of John Von Neumann. In Los Alamos, they were examining design ideas numerically. The effort was led by Hans Bethe and Richard Feynman, both future Nobel Prize winners in Physics. Von Neumann had led the concept of using computing for science. He also devised a computational scheme for shock hydrodynamics. Bethe and Feynman did early calculations using Von Neumann’s method. It failed, catastrophically. The method produced horrible oscillating results (ringing). Today, we would recognize this as numerical instability.

This outcome was recognized as a problem. Scientists in Los Alamos (Peierls) also conceptualized ways to mitigate it. These changes to Von Neumann’s method would not be realized until after the war. During the war, success was achieved with another algorithm devised by the British mission at Los Alamos. The method was first proposed by Peierls and then refined by Skyrme. It was fundamentally different than Von Neumann’s. It involved some similar methods to Von Neumann’s, but computed the shock wave explicitly via tracking. The shock was treated with precision by Feynman via the Rankine-Hugoniot conditions as an internal boundary. Von Neumann’s method was more general, but fatally flawed.

“Mathematics is the cheapest science. Unlike physics or chemistry, it does not require any expensive equipment. All one needs for mathematics is a pencil and paper.” ― George Polya

From the foundational work of Courant, Friedrichs, and Lewy in 1928, the methods used a heuristic for stability. This is the famous CFL condition named for them. This is a simple argument about the domain of dependence for information (waves). This means a finite speed of propagation of sound waves should not move more than the spacing of the mesh in a time step. It is simple and rational, and still the core of stability today. It is also subtly flawed, as I’ve written. Both of the two WW2 methods used it, and it holds today (for explicit methods). For Von Neumann’s method, it was insufficient. Something else was needed to keep it viable. This seeded two developments key to the future of computational physics.

A key question to consider is whether current difficulties are seeding any similar fundamental mathematics. The failures and problems are things to explore that lead to discovery. AI has vast swaths of problems needing math. Efforts are generally lacking and sub rosa.

“But in my opinion, all things in nature occur mathematically.” ― Rene Decartes

Context and Modern Significance

“If rounding errors vanished, 95% of numerical analysis would remain.” – Nick Trefethen

My focus here is numerical stability for solving differential equations, especially partial differential equations. Other forms of numerical stability are equally important for computation. The classical case is Gaussian elimination, which drove much of the early work, including von Neumann’s efforts with Goldstine. This study algorithms and how to structure them for stable computation. It also draws attention to when computation is untrustworthy, defined by the structure of the problem. By and large, these algorithms are designed to produce exact or precise results, except when numerical errors occur. Roundoff error and changes in the order of operations can lead to stability issues. These approaches focus on eliminating those problems and ensuring reliable results.

The primacy of stability in numerical computations powered the growth of the technology. Contrast this with the lack of a coherent, encompassing theory for large language models. This is true when you look at how these models behave during training or use. That behavior is stochastic, so it is perhaps logical that stability would not be a key concern. I would counter that stability concepts might yield order to AI where it is lacking today. The absence of stability theory erodes confidence in the underlying techniques. Addressing it should be a priority going forward, and would likely yield practical benefits.

“Do not imagine that mathematics is hard and crabbed, and repulsive to common sense. It is merely the etherealization of common sense.” ― Lord Kelvin

Unfortunately, as noted previously, the United States is loath to invest in this kind of work of late. The applied math that has been so crucial to computational physics is largely absent today in AI. It is absent in almost every scientific endeavor. The partnership between the two is all but dead. This all points to an indictment of the American strategy in AI (or lack thereof). We assume we’re in the lead, but we’re increasingly failing to do the things that would sustain and expand that lead. Instead, the USA is doing everything it can to lose the lead in the long run. This applies to what we are and are not doing. My goal is to outline a key methodology for the birth and growth of computational physics. In contrast, it will highlight the lack of a similar framework for our current revolution. This is badly needed and would be a huge boon to AI in the future, improving every aspect of the technology.

Many things stand in the way, but one thing is galling in the extreme. I’ll note that claims of industrial espionage are true, but it is also propaganda. They’re also used to make Americans think they’re stealing the edge of technology through spying. It belittles an adversary we should fear for their own creativity and creation. We avoid recognizing our own self-defeating philosophy: our systematic internal attack on science and technology. These self-defeating actions are the core of the danger.

“If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat.” —Sun Tzu

Industrial espionage happens and is part of the picture, but it pales in comparison to the absolute incompetence and the attack on science and technology that the government and industry are waging on themselves. We’re the ones laying the groundwork for Chinese supremacy in science and technology, because China is inherently competent at doing the right things while we do all the wrong things. It will become clear that the Americans are the ones who need to engage in industrial espionage of the Chinese quite soon, because we will increasingly be firmly behind. The coffers of science and technology that the Chinese might be emptying were filled decades ago, and those coffers will now be empty and threadbare. Given American attacks on its own internal science and technology, any claims otherwise are simply hubris and empty patriotism, so common these days.

What’s clear today is that the United States is losing its dominance, and it’s losing it because of its own actions. The Chinese are pulling ahead because they’re competent and doing the right things, while the USA is undermining its science and technology.

The first principle is that you must not fool yourself — and you are the easiest person to fool.” — Richard Feynman

To anyone who questions the current American thought, I’ll share a personal anecdote from right before I left Sandia.

I was taking the required training for a conference where British scientists would be present for classified discussions. The training is standard before these meetings, and the Sandia person leading it was a young fellow. During the training, he made comments belittling Russian or Soviet accomplishments in nuclear weapons. He seemed to believe those achievements were illegitimate and based on espionage, particularly pointing to Klaus Fuchs.

While the Russians did engage in espionage and stole much of the design for early atomic bombs, it would be wrong to belittle their capabilities or the brilliance of how they executed their program. Once they knew an atomic weapon could be produced, they could build it from scratch. The only thing the American design did at Trinity was confirm that it could be done. Once you know it can be done, it becomes a much simpler matter to do it.

This also belittles the brilliance of scientists like Andrei Sakharov, who did unique and brilliant work in support of the Soviet hydrogen bomb program. They had many other extraordinary theoretical physicists like Landau and Zel’dovich. I corrected the young man and encouraged him to look at the real history, as explained by Richard Rhodes. The literature has some obscure publications by Russian scientists who were key to their program. These are eye-popping. The same fictions are at work today with regard to the Chinese and their advances in AI. The same fictions in a host of fields. We Americans need to be guided by facts and not pulled in by faux patriotism and hubris about our scientific prowess. We should be completely in sync with the rather politically incorrect notion that the Manhattan Project was powered more by the efforts of immigrants than by homegrown American science.

“Intellectual freedom is essential to human society — freedom to obtain and distribute information, freedom for open-minded and unfearing debate, and freedom from pressure by officialdom and prejudices.” — Andrei Sakharov

Another key aspect of this dynamic is the cost of information protection. The American system operates under the premise of assumed superiority. This then leads to protectionist policies in classification and export control. These policies can be quite effective in limiting spying and keeping information from being lost. It is also effective in controlling this information domestically. The impact harms innovation and progress in the USA. American institutions have cracked down on information dissemination more and more. This has played a significant role in dragging American science down. Even worse, if American science is behind, these policies will act as friction, undermining catching up. We may already be behind, and the approach taken is foolish at best.

The question is whether the United States will wake up to a Sputnik-like moment and turn things around. Alternatively, the United States may be done, and the nearly century-long era of international dominance, fueled by supremacy in science and technology, could come to an end. That chapter has not been written yet, but the current signs are worrying. The American public seems asleep and is not taking the steps needed to return to the approach that helped us achieve our dominance.

With that table setting out of the way, let’s get back to our story.

“All that it is reasonable to ask for in a scientific calculation is stability, not accuracy.” – Nick Trefethen

Shock Capturing Methods and Applications

After World War 2, science jumped to the attention of everyone. This was powered by the stunning use of atomic bombs against Japan, shining a light on the Manhattan Project. In the wake of this, resources and importance flowed toward scientific work. This allowed the powerful vision of John Von Neumann to begin to come to fruition. Part of his vision was the use of computers for scientific work. Part of his vision was chastened by the lack of success for his differencing scheme. Its results were unstable. This was not an isolated problem, as other schemes that seemed reasonable produced bad results. He sought to understand this.

By the summer of 1946, he had produced an analytical tool to examine stability. This was his spectral stability analysis of finite difference schemes. He presented it in Los Alamos that summer for parabolic equations. It only applies to linear equations, but provides results that guide nonlinear methods and equations. It is still an essential tool for understanding methods. It can provide answers to subtle stability problems invisible to inspection. The method is still used broadly today. This method leaked out over the remainder of the 1940s, most notably by Crank and Nicolson. Von Neumann published the method in 1950 along with another key invention.

The method used successfully in the War was a tracking method. As application complexity grew, the tracking method became intractable. Los Alamos was looking at the H-bomb (super, as they called it). A more general method was needed to support progress. Robert Richtmyer, who was leading the Theoretical Division, sought to produce this. He worked on the suggestion of Peierls to add dissipation to Von Neumann’s method. By 1947, Richtmyer worked out the solution. He would add an extra term in and near shock waves to produce the entropy needed by a shock’s passage. This was dubbed artificial viscosity. In my opinion, an unfortunate choice. It is not artificial, but entirely physical. Shocks create singularities, and entropy rise is necessary to navigate the singularity. It allowed shocks to be captured and not tracked. Von Neumann’s method was salvaged, and the stage was set for numerical methods to flourish on complex applications.

This was the first shock-capturing method. The paper Von Neumann and Richtmyer published had three major advances. First, there was the differencing scheme Von Neumann devised in 1944, but it failed in use. The second was the stability technique Von Neumann devised. Finally, the third was the artificial viscosity invented by Richtmyer to stabilize shocks. As I’ve noted before, this viscosity has also become the foundational method in Large Eddy Simulation. The reason for this commonality is dissipation in turbulence that functionally acts similarly to shocks. In both cases, the large-scale dissipation acts as viscosity vanishes in nearly identical manners. The understanding of shocks is primarily one-dimensional. For turbulence, this is fully three-dimensional and introduced by Kolmogorov as his “4/5 law.”

“As technology advances, the ingenious ideas that make progress possible vanish into the inner workings of our machines, where only experts may be aware of their existence. Numerical algorithms, being exceptionally uninteresting and incomprehensible to the public, vanish exceptionally fast.” – Nick Trefethen

Many of the most important aspects of computational science arose out of this single thread of science and math. These works are foundational to the entire field. They show us the path not taken today with AI. We should heed this as a warning.

Subtle Stability

“Computing has changed not only the way mathematics is practiced, but mathematics itself.” —Peter Lax

Given the success of this method, numerical solutions exploded onto the scene. Applications of numerical methods multiplied, especially in fluid dynamics. The key aspect was the proof that it could be done. Everyone knew it was possible, especially in Los Alamos. This seeded ideas with luminaries like Peter Lax and Frank Harlow. Both of these men pioneered whole fields of practice in what we now call CFD. Harlow started to invent a host of methods still used today, first in compressible fluids, then in incompressible fluids. He also invented an important aspect of turbulence modeling. Lax produced fundamental methods for compressible fluid dynamics. He produced several methods that are foundations today, and the theory of conservation form, which underpins computational aerodynamics.

“One must watch the convergence of a numerical code as carefully as a father watching his four year old play near a busy road.” — J. P. Boyd

More importantly, he produced foundational mathematics for computational science. Lax’s equivalence theorem connects stability, consistent approximations and convergence. Convergence is the promise that more computing power yields better answers. This has underpinned the pursuit of better computers for better science. It took the stability work discussed above and connected it to numerical approximation accuracy to ground all efforts. The practice of code verification is dependent on this theory. Scientists design stable, accurate methods to solve equations and implement these in code. If they can be shown to converge to the correct solution, we have assurances of correctness. Lax provided the theory to see this.

“The unreasonable effectiveness of mathematics in the natural sciences.” – Eugene Wigner

The importance of the applications to the world meant that the theory for partial differential equations came first. Ordinary differential equation theory from Dahlquist actually came afterward. One might logically think the order would be reversed, but not. This is due to the importance and energy for PDEs.

The inspiration for this post is my discovery of stability problems that infest our codes today. These are associated with strong expansions I’ve discussed recently. The problems are multiple, with under-estimates of wave speeds leading to unstable time steps and schemes. The saving grace is that the instability is a mid-frequency and not at the grid scale. Shocks produce instability at the grid scale Thus they are catastrophic almost immediately. The expansion instability is mitigated by a little resolution and a few time steps. The question is whether the instability has a lasting influence on the solution. Does the instability leave a lingering corruption of the solution that is never healed? Right now, theory can’t tell us. Evidence says that this may well be the case/

Postscript

By embracing the past, the current administration is killing the future. The future is about moving forward and adapting to the problems we already have. The solutions of the past will not work in the future. That is true in every area, from warfare to science. This administration is focused on the past, and its actions will destroy a positive future for the United States. I spent my entire professional career at nuclear weapons laboratories. I watched them decline and lose capability. I can say without equivocation that we are not ready for what is coming. Our science is not prepared to compete in the world that is about to unfold.

We’ve arranged a society on science and technology in which nobody understands anything about science and technology, and this combustible mixture of ignorance and power, sooner or later, is going to blow up in our faces.” — Carl Sagan

We need to get our shit together, fast. The current administration is damaging our ability to compete on every front. True, whether it is national security or economics. We are not ready for the world that is coming. If you want to highlight how unprepared we are, just look at Iran or Ukraine. In both wars, American power is failing in spades. We are not adapting to the world that is already here.

America has rejected expertise, and it is going to do our country harm. Whether we are talking about nukes, fusion, AI or drones, we need experts to define our strategy. Then to execute it and adapt to an every changing landscape. I have seen this rejection of expertise all the way down to the working level at a national laboratory. There, my own expertise was deemed too cutting and too critical. It was way too much for the incompetent leaders to take seriously.

Our current leaders and their approach to leadership are failing the country at this critical juncture, and time is running out. Looking to billionaires to lead us is foolish. They are increasingly driven by their own greed and could not care less about society as a whole. Just look at how they have stewarded the technologies that have driven their wealth. In every case, those technologies have caused real harm to our society, to our children, and to the way we live. They show no responsibility other than maximizing their own wealth and power. Letting them guide something with the power of AI is suicidal.

“In mathematics you don’t understand things. You just get used to them.” —John von Neumann

This essay shows a small vignette of how fundamental math supports computational science. The computational science has become essential for work supporting a host of applications. These include everything from nuclear weapons to climate science to car design. It encapsulates much of what is missing from science today (including, but not limited to AI).

“Mathematics, rightly viewed, possesses not only truth, but supreme beauty—a beauty cold and austere, like that of sculpture, without appeal to any part of our weaker nature, without the gorgeous trappings of painting or music, yet sublimely pure, and capable of a stern perfection such as only the greatest art can show.” ― Bertrand Russell

References

Von Neumann, John. Proposal and analysis of a new numerical method for the treatment of hydrodynamical shock problems. Applied Mathematics Group, Institute for Advanced Study, 1944.

VonNeumann, John, and Robert D. Richtmyer. “A method for the numerical calculation of hydrodynamic shocks.” Journal of applied physics 21, no. 3 (1950): 232-237.

Mattsson, Ann E., and William J. Rider. “Artificial viscosity: back to the basics.” International Journal for Numerical Methods in Fluids 77, no. 7 (2015): 400-417. Morgan, Nathaniel R., and Billy J. Archer. “On the origins of Lagrangian hydrodynamic methods.” Nuclear Technology 207, no. sup1 (2021): S147-S175.

Margolin, Len G., and K. L. Van Buren. “Richtmyer on Shocks:“Proposed Numerical Method for Calculation of Shocks,” an Annotation of LA-671.” Fusion Science and Technology 80, no. sup1 (2024): S168-S185.

Lax, Peter D. “Hyperbolic difference equations: A review of the Courant-Friedrichs-Lewy paper in the light of recent developments.” IBM Journal of Research and Development11, no. 2 (1967): 235-238.

Lax, Peter D., and Robert D. Richtmyer. “Survey of the stability of linear finite difference equations.” Communications on pure and applied mathematics 9, no. 2 (1956): 267-293.

Kolmogorov, Andrey Nikolaevich. “A refinement of previous hypotheses concerning the local structure of turbulence in a viscous incompressible fluid at high Reynolds number.” Journal of Fluid Mechanics 13, no. 1 (1962): 82-85.

Smagorinsky, Joseph. “General circulation experiments with the primitive equations: I. The basic experiment.” Monthly weather review 91, no. 3 (1963): 99-164.

Higham, Nicholas J. Accuracy and stability of numerical algorithms. Society for industrial and applied mathematics, 2002.

Grcar, Joseph F. “John von Neumann’s analysis of Gaussian elimination and the origins of modern Numerical Analysis.” SIAM review 53, no. 4 (2011): 607-682.

Lax, Peter D. “The flowering of applied mathematics in America.” Siam Review 31, no. 4 (1989): 533-541.

America is leading in AI, but we won’t for long

tl;dr

AI is the single most important technology for our future. It will likely form the foundation of economic and military power for decades if not longer. The USA leads the World in AI largely through our corporate power. Government is a powerful customer and a junior partner in the technology. This is far different than pervious world changing technologies like nuclear weapons or the Internet. Our forward-looking “strategy” is to double down on computing hardware. It envisions a continuation of the current technology rather than future breakthroughs. We are one breakthrough away from losing dominance. Meanwhile, the USA is structuring itself to ensure those breakthroughs happen elsewhere. Our leadership is planning our demise by a pure short-term focus. Their incompetence will have long-lasting and disastrous consequences.

“As we peer into society’s future, we — you and I, and our government — must avoid the impulse to live only for today, plundering, for our own ease and convenience, the precious resources of tomorrow.” – Dwight D. Eisenhower

Something Amazing

In 2022, I used a large language model LLM for the first time. The abilities of ChatGPT felt almost magical and definitely jaw-dropping. It felt almost exactly like the first time I used Google search. I was immediately struck by the feeling that the future had arrived. There was no going back. These LLMs have become synonymous with AI ever since. Furthermore, AI has become the principal engine of economic progress and national power. They have huge implications for work, investment, and national security. Their importance and capability have grown and grown. Industry is investing huge amounts of money in training and running AI in vast data centers.

I am growing more capable with each passing month. I finally bought service from Claude amazed with the LLM, cowork, and code. The things it can do are beyond anything imaginable a mere five years ago. It’s able to do much of many white-collar jobs. This feels acute in programming most of all. This is a manifestation of short-term thinking and scarsity. The real thing for Americans to tackle is to start demanding more from the job. Their needs to be a more human edge and human thought from the job. Leave the tedium for AI, or better yet eliminate it. Make AI a capable assistant that frees up people to create more, and higher quality things. This is the long-term and abundance thinking.

“In order to achieve this, jobs have had to be created that are, effectively, pointless.” – David Graeber

What I found AI is most impressive at is removing tedium from work, not providing better thoughts. It provides a breadth of information and perspective, but the depth of that thought is severely lacking. Every time I went deep into a topic where I had expertise, the AI floundered. It painted in broad brush strokes, but the refined work and understanding was poor. What is needed from jobs is to demand more depth from the work. What this really means is there needs to be a demand for greater quality and less rote, useless work. In other words, AI should be the death of what have been called “bullshit jobs.” If AI can do a job that job is of questionable value.

From what I observed at work as I went out the door, the opposite was happening. The amount of bullshit that I was required to focus on was growing year upon year. The quality was lower and lower. The management actually had less room for high-quality, innovative work and more. In other words, trends were all going in the opposite direction from what is needed for us to survive AI in the workplace. The ways my managers asked me to use AI was moronic. Worse yet. friends at other Labs told me the same thing. I should note this is at a top-tier research institution. I can hardly imagine what it’s like at companies. We are led by people who are clueless. The scary part is I know many of these leaders and they are smarter than this.

The leaders I know are the core of our nation’s intellectual leadership. They guide the very institutions we need for AI to flourish. The irony is that what science needs and what AI needs to truly succeed is higher quality work and much more thinking. Our leads are pushing us to do less, AI or not. Human thinking, not more computing power, is the key. Computing is a great tool, but thinking is the silver bullet. AI is the same, an incredible tool to augment humans. This is the secret to long-term success and victory in the quest for AI dominance across the world. This is making AI a tool and collaborator for humanity rather than a replacement.

My first big point is that we need to embrace the long term and abundance if we want AI to succeed. Humanity and thinking are essential, we need more of it. Not less. Short-term thinking and scarcity is a losing approach. The problem is we have already chosen the losing approach.

How the USA will lose the Lead

What I observed in my last few years at the lab was an almost complete and total lack of coherent strategy around science and technology. Thinking was all short term and money focused. The most acute version of this is around AI. There the lack of thoughtful-principled approaches and strategy has been appalling. Increasingly, the management of the lab simply looks to how they can get money and as much of it as possible. What that money does and how it’s applied and what the long-term future looks like is immaterial. These attitudes are paralleled across society. The nation as a whole has the same disease

This is a final festering of this habit of short-termism. Simply looking at quarterly progress in annual budgets, with little or no thought to any sort of long-term coherent plan. Labs were once engines of innovation and cornerstones of American security. That is difficult to assert today. Over the long run, this simply erodes these institutions and turns them into mere contracting organizations. It also reflects the lack of any sort of coherent strategy nationally. In the end, will lead the United States towards being a second-rate power. Our most powerful technologies in industry and defense are based on research that is decades old. That technology pipeline is almost annihilated today.

The first incarnation of this, and a continuing theme, is this obsession with computing hardware. I have seen this for almost my entire career. Naive short term leadership sees computers as an easy sale politically. When one looks at computing, whether it’s classical or modeling and simulation, or AI, there is a balanced set of activities that need to be cared for. Many different things contribute to the whole. In both cases math, science, and software are more important. In the current age, all the focus and the only strategy that can be seen is hardware. This obsession with hardware leaves most of the ecosystems supporting computing famished. It will produce poor performance compared to a coherent, thoughtful strategy that balances all the needs.

The case for a focus on hardware in classical modeling and simulation was nuanced. It was not a complete slam-dunk although the benefits are small. The case against focus on hardware in AI is quite bulletproof. The scaling laws supporting increased capability in computing for AI are incredibly weak. In fact, far weaker than the scaling of prowess, capability, and simulation. Yet we see complete devotion to hardware across both AI business interests and government. It is as if all the other is simply being ignored, and this is the only thing they know how to do. The lack of coherent thought and broad, encompassing strategy staggers the imagination.

The Labs have completely rejected their traditional role of providing scientific leadership and feedback to the national programs. What we have now is laboratories existing in a hand-to-mouth existence happy for money. Internally they have a complete lack of any sort of strategic thought that could lead to success. The entire system seems to be spiraling down the drain. It is in need of vast reform and improvement. Instead, we are just doubling down on the very forces that have led to the decline in the first place. Now they are aided by a federal government that destroys rather than fix or reform.

Personal Perspectives on AI

Part of my decision to retire revolved around these questions. I had of confidence in both Sandia and federal agencies’ ability to appropriately and wisely steer our future. AI was more of the same. I’d already seen horrible decision making. The actions of both Sandia managers, federal agencies, and our national leadership have all convinced me that no one is thinking about how to do this in a balanced, wise manner. Everything revolves around money. Nothing revolves around the scientific work needed to assure American supremacy in these areas. Quite frankly, we have no national strategy, and we soon will be lost in the wilderness. I was wasting my time working.

This is the exemplar of everything I wrote about in “The Decline of American Science.” The way science is managed today, we cannot stay on the cutting edge of anything. All of this is because of a lack of trust and fear. We are so fearful of anything that looks like a scandal that we basically cut our own throats. In AI, which is moving at light speed, this is a fatal flaw. There are other fatal flaws, and the institutions fail to acknowledge all of them. They seem powerless to affect anything for the better.

One of the things I did in my last couple of years at Sandia was start to investigate the power and proper use of AI. In the process, I came to a number of conclusions. Now, I should note that Sandia provided a version of ChatGPT internally. I tested this and used this, but I also compared it to what was available on the outside. This was not just ChatGPT, but also Gemini and Claude. What I determined in short order was that the internal version of ChatGPT that Sandia provided was a piece of shit. It was terrible. At least, compared to the free versions externally. The free versions!

“The first principle is that you must not fool yourself — and you are the easiest person to fool.” – Richard Feynman

It hallucinated worse than the outside models. It answered every single question I asked worse than any of the other available models (the free versions). One of the things to note is the internal version of ChatGPT was structured to not violate security issues (hence data that needed to remain internal was safe). It cut it off from the open internet and by Standards necessary for use were careful and secure yet. Also, it was updated less frequently and was generally behind. It is a general software issue at the Labs. Software processes are extremely conservative, leading to slow progress. One of the things that is most damning, but this is way the labs operate. Security rules are deep, Byzantine and dripping with paranoia.

Cyber security gets power and money by being as paranoid as possible. When a mistake is impossible, progress is impossible too. It is risk adverse in the extreme. Stupid rules are common. For example, the approach to medical device security is insane. They would make people choose between the best medical treatment, and outlandish security concerns. It is a massive “fuck you” to employees and scientists. They cost an enormous amount of effort and time to make sure that everything we do is behind in cutting-edge technology. LLMs for AI were no different. They reflect some of the worst characteristics of attacking science today. AI at the labs is slow, expensive and behind.

How I Learned to be Effective with AI; Its being Ignored

“The greater the gap between self perception and reality, the more aggression is unleashed on those who point out the discrepancy.” ― Stefan Molyneux

While I learned that internal AI efforts were verging on hopeless, I did figure some things out. One of the key things that I discovered in my exploration of AI is the mindset for engagement. This is a verification and validation mindset. I am bootstrapping from the perspective that V&V is the scientific method. This has been seen by others, where one needs to approach AI as a collaborator. To do this with a spirit of pushback and doubt in every interaction. There needs to be a demand for evidence from the AI about their assertions. The evidence needs to be checked independently. This is exactly what is done in V&V and science in general.

After I retired, I continued. This is an essential technology for our future. Eventually. I paid for Claude. Before the purchase Claude impressed me. After the purchase, it’s largely been underwhelming. Largely because my expectations were so high. Nevertheless, the desktop version is amazing with Cowork and Code. It definitely improves my efficiency and it is a huge leap forward. I am fairly sure that the capability for software creation will be incredible. I’ve also worked with friends going amazing work with it. This is hard core science and its level of competence with a good collaborator is unbeatable today. The key is the right approach to using AI. At the labs this is hard to find, certainly from leadership. Lab leadership acts clueless about how to use it well.

“A government contract becomes virtually a substitute for intellectual curiosity.” – Dwight D. Eisenhower

This is the exemplar of everything I wrote about in “The Decline of American Science.” The way science is managed today, we cannot stay on the cutting edge of anything. All of this is because of a lack of trust and fear. We are so fearful of anything that looks like a scandal that we basically cut our own throats. In AI, which is moving at light speed, this is a fatal flaw. There are other fatal flaws, and the institutions fail to acknowledge all of them. They seem powerless to affect anything for the better.

As I’ve noted before, V&V; is in deep decline in science, especially at the labs. The V&V mindset useful for AI isn’t present in science. AI needs V&V thinking in simply judging the results. One of the most repugnant aspects of our current approach to AI is that V&V; is rejected. It should be the standard way to engage with these models for science. In the recent Genesis call V&V is not a priority. It is weakly nodded towards, and not emphasized. With AI V&V is vastly more important than classical computing. This is basically a call to cut the throat of progress, and destroy the best way to interact with AI in a scientific enterprise. This lack of confidence in our direction validated my decision. I was wasting my time.

“For me, it is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring.” ― Carl Sagan

I had a direct engagement with a Lab Director about this. It was discouraging in the extreme. While the incompetence and lack of ethics of my direct management at Sandia was the principal reason for retiring, there was a deeper reason. I had engaged with a new lab director on a topic related to AI. Her response was so underwhelming and weak that I lost all faith. Internal search at Sandia is awful. The search technology is first-rate and modern. The reason is information hiding that defines the internal culture. The culture short-circuits an essential technology for the information age.

I asked her about information control and its cost in training for AI. Since training data is essential for LLMs, the issue that undermines search is fatal for LLMs. Security rules and culture would rob AI of training data if applied strictly. Rather than answer the question, she attacked me and said the question I asked was “harsh”. It was a legitimate question, and it gets to the heart of the utility of this work. It confirmed to me that she was just like all the other managers. She would be incapable of solving real problems and addressing real needs of the institution. It should be obvious by now. I am completely fed up with ineffective managers who refuse to confront real problems. The new director would be more of the same incompetence. Another leader to rubber-stamped the current decline. Every single day that this happens, the lab declines further and gets worse and worse.

Moreover, my understanding was that she was a last-minute second choice over another person. Someone who could have been vastly better in all likelyhood. This other person is someone I respected greatly, and knew personally. He was rejected for political reasons. Honestly, I don’t have a lot of confidence that had my friend been chosen as director, the outcome wouldn’t be any better. There seems to be an institutional and societal barrier to addressing any problems. Managers just seem to be completely devoted to the prospect that they can just define success, declare it, and ignore problems.

Maybe it is just the outcome of social media. Our leaders are now just influencers. Moreover, paying attention to problems is a losing prospect and will simply get one fired. The blame for the problems will be laid at their feet. This broad character is one of the main reasons for the accelerated decline in American science. The problems are obvious, but no one is addressing any of them. When managers are confronted with the truth, they reject it and basically shoot the messenger. If we continue down this path, American dominance in AI will be fleeting and short.

“You cannot connect with anyone except through reality.” ― Stefan Molyneux

China isn’t beating us in science. We are beating ourselves.

tl;dr

For most of the period of time after World War II, the United States has been the unrivaled superpower economically, militarily, and scientifically. American science has been the foundation of much of the military and economic might. It was a virtuous cycle and engine. This is not true today. The USA is losing its grip on all of this. Over the past 40 years, this supremacy has declined in every respect, including science. The decline of scientific supremacy arose from a sense of hubris and false security. There was a belief that we could focus on a host of other things. The efficiency and effectiveness of our scientific enterprise were unimportant. I witnessed this first-hand during my career at two national laboratories. In the past few years, it has become a question as to whether the United States has been surpassed by China. I believe that it has. Now, under the second Trump administration, it has turned into a surrender. American science is in full retreat. All its institutions are being destroyed.

“A great civilization is not conquered from without until it has destroyed itself from within.” — Will Durant

Seeing this in Personally

Over the span of my own career, I have seen this change dramatically. When I started my career, the Chinese were definitely far behind the USA. There were relatively few Chinese scientists who were leaders in the field. Moreover, when I did encounter them, the work was quite pedestrian and ordinary. By and large, the papers were on par with mediocre American science. Over the past decade, this has completely changed. More and more, the quality of papers has started to rival the best in the West. I started to see a unique capability across a host of CFD endeavors. I saw the Chinese work draw to parity with the USA. This is paired with the degradation in American quality and quantity of science in my area. The Chinese had radically improved. The USA had allowed itself to get worse.

I remember meeting a chemist who had given a distinguished lecture at our local University. He was a well-known chemist from another National Lab. In our conversation, he reported exactly the same pattern I had seen in CFD. The same blueprint. The Chinese had radically grown their science, in this case, chemistry. The USA had allowed our work to stagnate or decline. Suddenly the Chinese were every bit as good at the USA. How widespread is this? I will mention a study below that indicates that it is a broad pattern.

The clincher to my tale is the reaction from my leaders. For the leaders at the Lab, the reaction ranged from inaction to complete disinterest. Even though this is a serious National security issue, there is no reaction or response. I raised the topic with our National program manager from the agency supporting Lab computational work. The reaction was complete disinterest. There was no reaction or care concerned. Our leaders simply don’t give one single fuck about it; none at at all.

So we’re cooked, right?

“Every nation has the government it deserves.” — Joseph de Maistre

Scientific Operating Systems

American science is constructed out of a series of institutions. Science happens a universities and National labs. It used to happen in industry, but this is mostly gone except perhaps medicine. A host of federal departments and agencies fund science and manage it. Many others also regulate the science done everywhere. The oversight and regulation interacts with the legal profession to keep science inside the law. All of these working together define the Nation’ productions of science. This is the operating system for American science.

“Research is what I’m doing when I don’t know what I’m doing.” — Wernher von Braun

It is malfunctioning. It is now mostly stopping and harming science.

This is not to say that all the institutions that are being attacked are not in need of massive overhaul and rebuilding. They are. All of them need it. The problem is that this is not what the Trump administration is engaged in. They are engaged in wanton destruction. This was true with Elon Musk’s DOGE. It continues to be true today with the broad attacks on the federal infrastructure, dominated by the OMB head Russell Vought. None of what they are doing is creating any sort change needed in these institutions. The institutions are not becoming more efficient or better. They are all becoming worse. Worse yet, political litmus tests have started to be issued forth on a variety of scientific enterprises. None more so than weather and climate research.

There’s a lot of discussion these days about the Chinese reaching supremacy in science and engineering in the world. I tend to believe this is true. My evidence comes not from the United States but from an Australian study (Austrailian Strategic Policy Institute) that looked at this in a less biased way. The Austrailians have a balanced concern about understanding the pros and cons of the two superpowers. They are not prone to account for either nation’s preconceptions. They see China dominating globally and the USA second. This is before the damage caused by Trump since 2025.

“Basic research is what I’m doing when I don’t know what I’m doing.” — Wernher von Braun

The deeper issue is that the truth is that the United States is basically ceding science to the Chinese. We have torn down our institutions, reduced our investment, and the investment that is left is spent very inefficiently. This is all on top of the broad decline giving up the lead. The current administration has done nothing to stop this but rather accelerate the whole process. They’ve nibbled around the edges of the inefficiency but attacked the funding and institutions mercilessly. Before the Trump administration, we were already losing to China. Now we’ve basically given up. We will be second if not lower.

“Far too many managers are short-term, horizon-less decision makers.” — W. Edwards Deming

What was already killing science was a host of misteps. Quarterly profits killed industrial research. The payoff for research simply is too far in the future. The same mentality has taken hold across the federal government. Long-term investments have decreased, and short-term focus has taken over everywhere. None of this is sustainable, and none of this can take the United States anywhere good in the long term. The short-term-ism is one of the biggest issues.

The other major issue at work is the lack of trust. The lack of trust is predominantly from the Left. This is shown in terms of regulation and various initiatives that all take an immense amount of effort. There no trust is held and in its place bureaucracy is created. This is to make sure that the initiatives are met. The fact is that most of these initiatives have proven poor and play out through metrics that can easily be cooked into seeming compliance. Thus we get failure at a huge cost.

“Trust is the lubrication that makes it possible for organizations to work.” — Warren Bennis

The other big thing that lack of trust harms is risk taking. In the current environment risk unacceptable. Without risk innovation and progress are nearly impossible. The impact is a loss of innovation in every institution. Progress is grinding to a halt. The lack of trust then generates fear and caution. Both fear and caution produce an augmented effect. Innovation became impossible. Over time we will see the movement of discovery and awards move away from the USA.

Nothing that the Trump administration has done has improved anything. They are just meat cleaver cuts in funding and aimless directives towards overhead. This needs to be thoughtful and strategic, not simply wishful thinking. We need all our scinece funding and generate efficinecy to spend it better. Innovation and progress is vital and trust is needed for that. With trust the fear and caution can lower. All their steps are moving the trust lower and fear higher. All of these institutions are in need of deeper forms that focus on the needs of the country in the long term . There should be focus on reinvigorating the quality, focus, and adventure in science. The loss of any ability to take risk has only accelerated under this leadership, Where more trust, adventure, and risk-taking are needed. Instead there is less. Much less.

The American system should be vastly better than the Chinese system for science. The real truth is we’ve managed to attack and destroy almost all of our advantages in science. In spite of our advantages culturally we have managed to poison them all.

“When a measure becomes a target, it ceases to be a good measure.” — Charles Goodhart

The Period of American Science Supremacy

“Plans are useless, but planning is indispensable.” — Dwight D. Eisenhower

We should talk about the period of unrivaled and unquestioned superiority of American science. This arose out of the ruins of World War II, in large part because most of the rest of the world had been seriously destroyed and damaged by the war. The United States remained relatively unscathed. In addition, the scientific enterprise in the United States had a huge achievement and had leapt to the forefront of human thought with the development of the atomic bomb. This produced a sort of commitment to science as the foundation of national security in Vandever Bush’s Endless Frontier. The American government began to strategically invest and create scientific institutions that could wanage science. There was huge support for science across the federal enterprise. This includes many national and defense laboratories. There was support for university science, and various government organizations to support the broad scientific enterprise. Chief among these were the National Science Foundation and the National Institutes of Health, which provided a large amount of funding. Moreover, U.S. industries provided a scientific enterprise, perhaps none more evident than Bell Labs. There was a huge investment and spirit of forward progress in the United States. The United States also had vast economic power that was enhanced by this science and technological investment. It also provided a large amount of funding for that.

“Scientific research is one of the most important keys to our future national security.” — Vannevar Bush

The scientific successes from World War II provided the start of this. The continued energy for scientific advancement was created by the competition with the Soviet Union. When support for science began to lag, the Soviet Union pushed ahead with Sputnik and the Space Program. This reinvigorated American science and included a desire to leap ahead of the Russians in space. This produced vast support for NASA and the Apollo Program, with the apex event of the moon landing in 1969. Throughout this time, the American scientific enterprise provided a large amount of technological advances that fed U.S. industry. It allowed also the mighty armed forces of the United States.

This situation continued unabated until around about 1980. This was marked by the Reagan Revolution politically. This would become the beginning of the end for American scientific supremacy.

“A nation which depends upon others for its basic science is a nation which will be slow in its industrial progress and weak in its competitive position.” — Vannevar Bush

The Decline of American Science

“The nine most terrifying words in the English language are “I’m from the government, and I’m here to help.” – Ronald Reagan

The real root of the beginning of the decline of American science preceded Reagan. There was a series of events that occurred in the mid to late 1970s that began to undermine the trust and ability of the government to support science. Trust in the government failed. Much of this can be traced back to the actions of Richard Nixon and Watergate. There was also the overreach of the Vietnam War. In the wake of the Apollo program and the collapse of Soviet space exploration, the withdrawal from government investment in space. All of this conspired to create the environment for the beginning of the end for American science supremacy. Reagan, when he was elected, ushered in a period of distrust and hate for the government. Part of that government that was being attacked was the scientific enterprise. This is not to say that all of the problems with science came from the conservative side of the political spectrum. There was plenty from the liberal side as well.

The lack of trust in technology had started to become manifest in the desire for regulation of all things. The lack of trust in industry and technology and the desire to create a framework of safety. This overall framework of safety is one of the major forces that has sapped vitality out of science, as more and more resources went to regulating and administering science. Less of it went to exploration and creation; energy and focus moved.

“Government does not solve problems; it subsidizes them.” – Ronald Reagan

These checks and balances were created to deal with a variety of missteps and mistakes. Plus the belief that the American society was rich enough and powerful enough that it could easily afford these sorts of steps. This belief has ended up being quite foolhardy and has acted as a continual friction and drag on the scientific enterprise. By the time that I started my work in Los Alamos in 1989, the effects were already clear. The general belief is that the lab peaked in 1980 and was marked by the departure of Harold Agnew as laboratory director.

In the few years that I was at the lab, I saw a huge change. This was the end of the Cold War. With the end of the Cold War, there was a huge withdrawal of trust and resources from the National Labs. There was also a very sharp focus on cleaning up the environmental harm that the nuclear weapons program had done. This took the form of the Tiger Teams sent to find problems. This unleashed a huge amount of administrative and bureaucratic energy at the labs that was all detracting from the conduct of science. When I first got to the Lab I would see my Division leader once a quarter or so. It was great. After the Tiger Teams hit the Lab I wouldn’t see a Division Leader in my office til 2005.

In this time, we saw the first changes in the leadership of the lab. The original servant leadership model that the lab had worked for a while, as managers worked to protect and try to keep as much science going as possible. Over time, this eroded, and gradually there was also a change to a more competitive environment for funding and resources. This environment created a drive for money as the chief measure of laboratory strength. With this came the era of the Empire Builders and a distinct change in the tenor of management. The money also brought a short term quarterly report mentality. The standards started to become different and technical quality dropped.

The final blow at the laboratories was the corporate takeover of laboratory management. This came from this misbegotten belief that industrial and business management ideas were the best way to run the lab. The quarterly profit, shareholder value philosophy that had taken hold across the corporate world was injected into the management of laboratories. All of this, combined with the regulatory environment, acted as a huge drag on the laboratories and science in general in this country. The labs became shadows of their former glory.

Places like universities were not immune from this. Part of the forces of change in the university were the same bureaucratic and administrative additions. Everything from environmental regulation to workplace regulation to DEI became the priority. With this came an enormous growth of the administrative staff at the universities, and the cost of the universities exploded. States removed much of the funding support as well. The same mentality about money and empire building took over at the universities. The ability of professors to bring in money began to become far more important than their ability to teach the next generation. The money replaced research quality as the principle measure. Education of the next generation was almost an after thought.

Surrender and Retreat

“The best way to predict the future is to invent it.” — Alan Kay

All these forces are still active today. They have worked to continually drag American science down and erode the supremacy. The fact of American supremacy in science is now an issue of debate. Studies have started to speak, as the various sources around the world have begun to see that China has replaced the United States as the top country in science.

“In any bureaucracy, there’s a natural tendency to let the system become an excuse for inaction.” — Chris Argyris

The conclusion that I would like to draw attention to is that the Chinese did not beat Americans in science so much as Americans beat themselves. The Chinese system is not superior to the American system in terms of innovation and freedom. In the face of all that the American system has done to undermine itself, the Chinese have surpassed it. One of the reasons is a genuine strategy. This is somewhat a function of their leadership, which is dominated by people with engineering backgrounds. In the United States is dominated by people with legal or business backgrounds. This difference is key. The Chinese have a national strategy and execute; the Americans have no strategy at all. American science is simply chaos and greed and professional drive. There is little or no coherence. Intellectual thought going into scientific direction has been replaced by focus on money.

“Culture eats strategy for breakfast.” — Peter Drucker

All of this was in place before we got to the current day. There was genuine damage to science that was done during the first Trump administration. The Biden administration, which was a continuation of the trends of the last 40 years. The real difference is that when we got to the second Trump administration there are attacks against the institutions of science. Coming out of the administration are both huge budget cuts and attacks on fundamental science across the board. There is the broad personal departure of experts and people who offer genuine professional expertise in a variety of scientific fields. These are replaced by people who are chosen for their loyalty politically. The combination of personal selections and huge resource cuts means that what was a decline in American science has turned into a surrender.

“Success breeds complacency. Complacency breeds failure.” — Andrew Grove