# What a temperature summary can still tell you
Hesela research candidate, 18 November 2026. Scope #6382.
**Evidence: mathematical derivation and synthetic computation, not hardware measurements.**

## Result and contribution
A missing temperature log does not always make model-based thermal age unknowable.
If total exposure time, its true duration-weighted mean temperature, and valid
whole-exposure temperature bounds survive, a convex fixed-energy Arrhenius
clock has a sharp lower and upper bound. The lower bound uses the mean;
the upper mixes the two support endpoints.

This applies classical Jensen and Edmundson-Madansky inequalities to Hesela's
existing thermal clock. The inequalities are not new discoveries. The contribution
is a checked storage-specific derivation, explicit telemetry acceptance conditions,
extremal histories, reproducible code and a link between mathematical uncertainty
and the measurement contract.

The existing `retention-clock` package already demonstrates mean-temperature bias.
Its two 25/55 C and constant-40 C examples are actually the extremal witnesses
for the stated support and mean. We preserve that work and explain why those
examples bound *every* admissible history, not just the two chosen histories.
No live page, corpus identity or earlier research file is changed by this packet.

## Conditional model, units and scope
For temperature T and reference R in kelvin, define:
```text
a = E / k
M(T) = exp[a (1/R - 1/T)]
Q = integral_0^H M(T(t)) dt
mu = (1/H) integral_0^H T(t) dt
```
Q is reference-temperature-equivalent exposure, in the same time units as H.
Use E in eV and k = (1.380649e-23 J/K)/(1.602176634e-19 J/eV).
Add exactly 273.15 to Celsius; one day is 86,400 seconds.
The model assumes a fixed activation energy, one applicable mechanism, additive
intervals and no path-dependent state. It omits refresh, recovery history, changing
failure mechanisms and read/program-temperature effects. Neither Q nor its bounds
is a drive failure probability, a safe storage duration or a warranty.

## Derivation, not just a numerical example
For E > 0:
```text
M''(T) = M(T) a (a - 2T) / T^4.
```
Thus M is convex throughout positive-temperature support [L,U] if a >= 2U.
Do not assume convexity for every positive activation energy. E=0 gives M=1
and Q=H directly. A single allowed temperature also collapses the interval.

For L <= T(t) <= U, L < U, and true time-weighted mean mu:
```text
H M(mu) <= Q <= H [(U-mu)/(U-L) M(L) + (mu-L)/(U-L) M(U)].
```
The lower inequality is Jensen's inequality with normalized elapsed time as
the measure. The upper follows from the chord bound on a convex function
at every instant, followed by integration. No independence, stationarity,
random sampling or empirical probability distribution is needed.

Sharpness: constant temperature mu attains the lower bound. Spending fraction
(mu-L)/(U-L) of the duration at U and the remainder at L attains the upper.
The order of those plateaus does not affect this model. All intermediate
values are feasible by concatenating proportional pieces of these two histories.
These are bounds over arbitrary histories with the stated support and mean;
the endpoints need not both be attained. If finite ramp rates, minimum dwell
durations or other physical constraints are imposed, these remain valid bounds
but the witnesses may be unattainable and tighter bounds may exist.

## Generated examples
All histories here are synthetic. All rows use 24 hours and a 25 C reference.
Values below are rounded displays of `results.json`, not interval-certified numbers.

| Allowed range (C) | Mean (C) | Chosen E (eV) | Lower (days) | Upper (days) |
| --- | --- | --- | --- | --- |
| 25 to 55 | 40 | 1 | 6.451843 | 18.051531 |
| 20 to 60 | 40 | 1 | 6.451843 | 30.098482 |
| 25 to 55 | 35 | 1 | 3.536289 | 12.367688 |
| 25 to 55 | 40 | 0.5 | 2.540048 | 3.462392 |
| 25 to 55 | 40 | 0 | 1 | 1 |
| 40 only | 40 | 1 | 6.451843 | 6.451843 |

The 1 eV choice maintains continuity with the earlier synthetic comparison.
The 0.5 eV choice is hypothetical sensitivity, not a fit or a confidence limit.
Widening the permissible support to 20-60 C leaves the same lower bound while
increasing the upper bound to about 30.10 days.

## What to retain when a full log is too expensive
Suppose each half-day has its own valid summary: one half has support 25-35 C
and mean 30 C; the other support 45-55 C and mean 50 C.
The combined exposure still has mean 40 C and support inside 25-55 C.
Summing the two conditional bounds gives **11.105169 to 12.797537 days**.
This is a narrower interval than 6.451843 to 18.051531 days.

Subinterval support and mean summaries constrain the admissible histories.
That is a mathematical reason to retain duration, a weighted first moment and
a defensible envelope per interval. This is not a claim that sampled minima,
maxima and arithmetic means provide those quantities automatically.

## Acceptance gates for real telemetry
- The mean must weight *elapsed duration*, not just the number of readings.
- L and U must bound the temperature throughout the exposure, including gaps.
- Identify the sensed object and establish its relation to the modeled medium.
- Retain timestamps, coverage, units, quantization and sensor uncertainty.
- Keep the energy, reference temperature and calibration population with Q.
- Keep writes, refresh and recovery history separately when the physical model needs them.

A constructive failure case: two readings/plateaus of 25 C and 55 C have
unweighted mean 40 C. If their durations are 23 hours and one hour,
the true mean is 26.25 C and Q is **2.420961 days**, below the false
6.451843-day lower bound obtained by treating the sample mean as a time mean.
The unit tests execute this example. The issue is an invalid input summary,
not a failure of the inequality.

NVMe's Composite Temperature field is implementation-defined and need not
represent any physical point. A valid mathematical calculation on this field
does not establish NAND-cell exposure. Likewise, observed extrema do not
bound unseen temperature excursions. Without extra assumptions, retain an
"insufficient telemetry" outcome instead of returning a spurious interval.

## Reproduce and verify
Python 3.12, standard library only:
```sh
python3 generate.py
python3 -m unittest -v test_model
python3 -O -m unittest -q test_model
python3 verify_float.py
```
The generator evaluates 117,649 six-slot histories on a seven-temperature
grid; 9,331 match mean 40 C. Their extrema equal the witnesses above.
The independent binary64 checker evaluates all 9,331 qualifying histories.
A further 729-history unit test checks bounds across multiple means.
Enumeration supports the implementation; the proof covers continuous histories.
Uniform enumeration is not a probability distribution of actual workloads.

Core calculations use 60 decimal digits; the six case bounds are compared
with 100-digit evaluations. The independent checker uses a rearranged
binary64 formula. Neither path is independent scientific peer review.
Numerical output is rounded to 18 significant digits; no formal interval
arithmetic certification is claimed.

Inputs accept decimal strings, integers or Decimal, not binary floats.
The computational guardrails are -200..300 C, 0..3 eV and positive durations
from 1e-12 to 1e12 seconds. They bound this implementation, not device
operating limits or validated model ranges. Non-convex domains are rejected.
No third-party dependencies, network calls, devices or secrets are required.

## Integration
Target the existing
https://hesela.com/analyses/3d-nand-retention-evidence/#retention-clock
and existing https://hesela.dev/terms/effective-retention-time/ identity.
Use `ARTICLE_INSERTION.md` as the review draft, not a separate new article.
Source review and precise claim locators are in `SOURCES.md`.
Only original Hesela code and synthetic calculations are included.
Third-party PDFs remain outside this package and are not redistributed.

## Activation-energy sensitivity supplement (22:15 CET continuation)
See [ENERGY_UNCERTAINTY.md](ENERGY_UNCERTAINTY.md) for the separate known-history,
uncertain-common-energy problem. Endpoint-only sweeps can miss its interior
minimum. Eight generated cases, proof, analytic oracle, common-parameter controls
and explicit comparison with the original summary-uncertainty problem are included.
The original cases.json, model.py, generate.py and results.json are unchanged.
