A few days ago, I started with what felt like a very ordinary question:

How does air conditioning actually make air colder?

That led to another question.

Is temperature basically just particles moving or vibrating?

At first, the answer sounded simple enough. In a gas, temperature is related to the average kinetic energy of particles. Compress the gas and it usually gets hotter. Let it expand and it can cool down.

So far, normal physics.

Then I started wondering whether the heat in the air could be absorbed by the thing compressing it, not just as heat, but as useful motion. Could the random motion of particles somehow be turned into organised mechanical energy?

That was where the rabbit hole properly opened.

Heat is not just motion

The first useful distinction was that motion itself is not the same as temperature.

Imagine every particle in a gas moving at high speed, but all in exactly the same direction.

The gas as a whole would be travelling very fast, but relative to the average motion of the group, the particles would not be moving randomly at all.

In the frame moving with the gas, it could appear extremely cold.

The energy would still exist, but it would no longer be thermal energy. It would be organised, collective motion.

The same gas with the same energy, as measured by someone standing still: organised motion of the whole gas, random motion, or a mix. To someone moving along with the gas, the organised part disappears; what is left is what a thermometer would feel. An illustration, not a physical simulation.

That changed how I thought about heat.

Heat is not simply kinetic energy.

It is kinetic energy distributed across many microscopic degrees of freedom in a way that is difficult to control individually.

A fast-moving object has energy.

A hot object has energy spread across an enormous number of microscopic motions.

Same broad category of energy, very different usefulness.

Does one particle have a temperature?

That led to an even stranger question.

If there is only one particle, does it have a temperature?

It can clearly have speed, momentum, and kinetic energy. But temperature becomes much harder to define.

Temperature is normally a property of a distribution. It tells us something about how energy is spread across many particles, many internal states, or many repeated observations.

A single particle moving quickly is not necessarily “hot”. It is simply moving quickly.

Even two particles moving towards each other at enormous speed do not automatically form a hot gas. They have collision energy, but unless there is a sufficiently rich distribution of states and some form of thermalisation, assigning them a conventional thermodynamic temperature is mostly an artificial conversion.

This made something click for me:

Temperature is not a basic property in the same way mass or charge is.

It is an emergent statistical description.

It appears when there are enough underlying possibilities for a simpler macroscopic description to become useful.

Why matter changes state

From there, I started thinking about solids, liquids, and gases.

Are changes of state simply caused by changes in kinetic energy?

Not quite.

The internal energy of matter includes both microscopic kinetic energy and microscopic potential energy.

When a solid melts, particles are not merely moving faster. Their relationship with one another changes. The structure that held them in a fixed arrangement stops being favourable.

When a liquid boils, the added energy does not always immediately increase temperature. Much of it is used to separate molecules and overcome intermolecular attraction.

That is why water can keep absorbing heat while remaining around its boiling point.

The transition depends on a competition between energy and entropy.

At lower temperatures, lower-energy organised states can dominate.

At higher temperatures, states with far more possible microscopic arrangements become favourable.

So a phase is not a property of one molecule. A single water molecule is not solid, liquid, or gas by itself.

A phase is a collective pattern.

Another emergent concept.

Entropy is not just disorder

Eventually I reached entropy, which is where every innocent physics question goes to become dangerous.

The usual explanation is that entropy measures disorder. That is useful, but also vague enough to cause trouble.

A more precise view is that entropy measures how many microscopic states are compatible with the same macroscopic description.

If all I know is that a room is at 25°C, there are an absurd number of possible arrangements and velocities of the air molecules consistent with that observation.

The macrostate is simple.

The number of possible microstates is enormous.

That is high entropy.

This raised an obvious question:

Is entropy a property of the system, or a property of what the observer knows about the system?

If I knew the exact position and momentum of every particle, would the entropy disappear?

At the microscopic level, reversible physical evolution does not necessarily destroy information. A perfectly informed observer could, in principle, treat the entire evolution as one exact trajectory through state space.

But thermodynamic entropy arises because we do not track all that detail. We group huge numbers of microscopic states into the same macroscopic category.

This process is called coarse-graining.

So entropy is not merely ignorance, but our chosen level of description matters enormously.

That distinction becomes especially important when talking about Maxwell’s Demon.

Maxwell’s Demon and the cost of forgetting

Maxwell imagined a tiny demon controlling a door between two chambers of gas.

The demon allows fast particles to move one way and slow particles the other way, apparently creating a temperature difference without doing work.

It looks like a loophole in the second law of thermodynamics.

The modern resolution connects thermodynamics with information.

The important insight is not simply that observation costs energy.

In theory, measurement can be performed with arbitrarily little dissipation.

The unavoidable cost appears when information is erased.

If a memory bit might contain either 0 or 1, and we reset it to 0 regardless of its previous state, two distinguishable histories have been merged into one.

The missing distinction must end up somewhere else in the physical world, usually as heat.

This is Landauer’s principle.

It suggests something rather profound:

Information is not just an abstract description sitting outside physics.

Information is physical.

A memory, a distinction, a record, and the destruction of that record all require physical states.

Could better technology make information processing free?

My instinct was that technology keeps improving, so surely the energy required for information processing should continue falling.

That is partly true.

Most computation today consumes vastly more energy than the fundamental minimum.

Better engineering can reduce switching losses, leakage, resistance, and waste.

Reversible computing can also avoid many logically irreversible operations.

But the lower bound associated with erasing information is not merely a limitation of current chips.

It comes from the fact that many possible input states are being compressed into one output state.

The information has to go somewhere.

You can delay the cost.

You can move the information into another system.

You can preserve enough data to make the operation reversible.

But if you eventually want to reuse finite memory, something must be reset.

The mess cannot be deleted for free. It can only be moved until someone finally takes out the bins.

Then I somehow ended up at the universe

At some point, the conversation moved from cooling data centres to putting them in space.

Could we reduce the entropy of Earth by moving computation and its waste heat away from the planet?

Locally, yes.

Earth is not a closed system. It receives energy from the Sun and radiates energy into space.

We can move matter, heat, and entropy across the boundary we choose to draw.

A data centre in space powered by solar energy could perform computation there and radiate its waste heat into deep space.

Earth would carry less of the local thermal burden.

But the entropy would not vanish. It would simply be generated and exported elsewhere.

That raised another question.

If the universe is expanding, is its capacity for entropy growing faster than its actual entropy?

Perhaps.

But that does not mean total entropy is falling.

Entropy density could decrease while total entropy still rises.

A larger phase space can create more distance between the current state and maximum equilibrium without reversing the direction of entropy production.

The deeper cosmological questions become much harder because gravity changes the intuition completely.

A uniform cloud of matter may look disordered, but gravitational collapse into stars, galaxies, and black holes can correspond to much higher entropy.

Black holes carry enormous entropy.

So “more structure” does not necessarily mean “less entropy”.

Physics has a talent for ruining good metaphors.

What if I knew the future?

I then tried another thought experiment.

Suppose I could see the exact arrangement of every particle at some future moment.

Could I then reinterpret every apparently random motion today as a precise step towards that future state?

Would entropy, from my point of view, be decreasing?

Knowing the future would reduce my uncertainty about the system’s trajectory, but it would not automatically make thermodynamic entropy decrease.

An exact microstate is always exact, whether I know it or not.

Thermodynamic entropy depends on how many microstates are grouped into the macrostate we are using.

If I possess perfect microscopic information, my informational uncertainty may be tiny. But the system can still move from a low-entropy macrostate to a high-entropy macrostate.

This is where several ideas that sound similar begin to separate:

Thermodynamic entropy.

Shannon information.

Observer uncertainty.

Algorithmic complexity.

They overlap, but they are not interchangeable.

Kolmogorov complexity

That brought me to Algorithmic Information Theory.

Kolmogorov complexity asks a deceptively simple question:

What is the length of the shortest program capable of generating a given piece of data?

A string like:

0101010101010101...

may be long, but it has a short description:

Repeat “01” many times.

A truly random string of the same length may have no shorter description than printing the entire string directly.

So complexity is not the same as size.

It is closer to incompressibility.

This gives a different way to think about the universe.

A microscopic state may look incredibly complicated, but if it follows from a short set of laws and a compact initial condition, perhaps its algorithmic description is still relatively short.

Or perhaps the laws are short while the initial conditions contain enormous irreducible information.

We do not really know.

The important part for me was that this separated three things I had previously treated as roughly the same:

Random-looking.

High entropy.

Hard to compress.

They are related, but not identical.

The digits of π can look statistically random while being generated by a short program.

A thermodynamic system can have high entropy even if the laws governing it are simple.

A low-entropy structure can still contain an enormous amount of detailed information.

And then it came back to AI memory

Eventually, after travelling through air conditioning, phase transitions, entropy, cosmology, and algorithmic information, I somehow ended up back where I spend much of my time thinking anyway:

AI context and memory.

Most AI memory systems today follow some version of this pattern:

Store conversations.

Summarise them.

Create embeddings.

Retrieve similar chunks later.

This is useful, but it may be treating memory too much like storage.

The deeper problem is not how much information to preserve.

It is how to preserve the smallest representation that still allows the system to reconstruct the right behaviour later.

That is a very different objective.

A hundred thousand tokens may contain very little new information if most of them repeat the same rules.

One sentence may completely change the correct decision if it contains a critical exception.

A good memory system should therefore not simply ask:

What happened?

It should also ask:

What changed?

Is this an isolated event or evidence of a general rule?

Does it conflict with something already believed?

What evidence supports it?

When does it expire?

What is the shortest representation that preserves the future decisions this information may affect?

This means a real memory layer probably needs some degree of reasoning.

Not full general reasoning every time something is written.

But enough reasoning to distinguish observations from patterns, patterns from rules, and rules from guesses.

It must also preserve evidence, because compressed understanding can be wrong.

The memory should not merely say:

This customer prefers annual billing.

It should say:

This customer appears to prefer annual billing.

Here is the confidence.

Here are the conversations and transactions that support the conclusion.

Here is the scope in which the conclusion applies.

Here is what would cause us to revise it.

That starts to look less like a database and more like a system for knowledge formation.

Where I ended up

I started by wondering how cold air is made.

I ended up thinking that heat, entropy, and memory all share a strange common theme.

The question is not only how much energy or information exists.

It is how that energy or information is distributed, how much structure we can extract from it, and what distinctions we are willing to forget.

Temperature is not simply motion.

Entropy is not simply mess.

Memory is not simply stored history.

In each case, the interesting part emerges from relationships, distributions, and the level of description we choose.

I am not claiming there is a grand unified theory connecting air conditioning to AI memory.

This was just a long and enjoyable chain of questions.

But I do think there is something useful in one final idea:

A good memory system should not try to remember everything.

It should try to forget intelligently, without losing what the future will need.