# Explanations — Thermodynamics  
### TriadicFrameworks /docs/theories/thermodynamics/explanations.md

Thermodynamics in TriadicFrameworks is a **constraint‑first substrate
grammar**, not a mechanical theory. It defines how temperature, entropy,
free energy, flows, and equilibrium behave as **geometric and monotonic
structures**, not as particle‑level processes.

Thermodynamics explains which configurations are allowed, how systems
move between them, and why directionality (irreversibility) exists.

---

# 1. What Thermodynamics Actually Describes

Thermodynamics describes:

- **temperature** as a substrate force  
- **entropy** as a regime boundary  
- **free energy** as a coherence operator  
- **flows** as gradient responses  
- **equilibrium** as a fixed‑point structure  
- **irreversibility** as monotonicity  

Thermodynamics does **not** describe:

- particles or molecules  
- heat as a substance  
- mechanical forces  
- microscopic motion  

It is a **constraint geometry**, not a kinetic model.

---

# 2. Temperature as a Substrate Force

Temperature T is:

- a **driving potential**  
- a **substrate‑level intensity**  
- a **force‑like quantity** in the constraint grammar  

It is **not**:

- molecular agitation  
- average kinetic energy  
- a microscopic property  

Temperature defines how strongly a system responds to thermal gradients.

---

# 3. Entropy as a Regime Boundary

Entropy S is:

- a **boundary operator** on allowable transformations  
- monotonic under permitted processes  
- the generator of irreversibility  

Entropy is **not**:

- disorder  
- randomness  
- chaos  

Entropy defines the **direction** of evolution, not its mechanism.

---

# 4. Free Energy as a Coherence Operator

Free energy (F, G, Ω) is:

- a **coherence operator**  
- a **potential surface**  
- minimized at equilibrium  
- convex and stability‑encoding  

Free energy is **not**:

- “usable energy”  
- mechanical work capacity  

It determines **which configurations are stable** and **how systems
relax**.

---

# 5. Equilibrium as a Fixed‑Point Structure

Equilibrium is:

- a **fixed‑point** where gradients vanish  
- a **constraint‑satisfied configuration**  
- a **free‑energy extremum**  

Equilibrium is **not**:

- stasis  
- nothing happening  
- absence of motion  

It is the point where **all constraints are simultaneously satisfied**.

---

# 6. Flows as Gradient Responses

Flows arise from:

- temperature gradients  
- free‑energy gradients  
- constraint surfaces  

Flows are:

- **responses**, not forces  
- **geometric**, not mechanical  
- **monotonic**, not oscillatory  

Examples:

- heat flow: Q̇ ∝ −∇T  
- relaxation: ẋ ∝ −∇F  

---

# 7. Irreversibility as Monotonic Structure

Irreversibility is encoded by:

- entropy production (dS/dt ≥ 0)  
- gradient descent on free energy  
- constraint geometry  

It is **not** friction or mechanical loss.  
It is a **structural asymmetry** in allowable transformations.

---

# 8. Ensembles and Statistical Embedding

In R2 (Statistical Mechanics):

- microstates become explicit  
- partition functions generate thermodynamic quantities  
- fluctuations appear  
- free energy gains statistical interpretation  

Thermodynamics remains the **macro‑limit** and **constraint envelope**.

---

# 9. Field‑Level and Cosmological Embedding

### R3 — QFT Regime  
- free energy becomes field‑dependent  
- phase transitions become field‑theoretic  
- vacuum structure influences equilibrium  

### R4 — Cosmological Regime  
- temperature becomes geometric (Unruh, Hawking)  
- entropy includes horizon contributions  
- equilibrium becomes cosmological  

Thermodynamics is embedded inside these larger grammars.

---

# 10. Why Thermodynamics Works

Thermodynamics succeeds because it unifies:

- constraint geometry  
- monotonicity  
- gradient flows  
- free‑energy coherence  
- entropy boundaries  
- equilibrium fixed‑points  

into a single, scale‑robust grammar.

---

# Summary

Thermodynamics is:

- a **constraint‑first substrate grammar**  
- defined by **temperature, entropy, free energy, flows, equilibrium**  
- monotonic and gradient‑structured  
- fully valid in **R1**  
- refined in **R2**  
- embedded in **R3**  
- geometric in **R4**  

Thermodynamics is the substrate from which Statistical Mechanics emerges
and into which QFT and Cosmology embed their large‑scale behavior.
