| @@ -0,0 +1,44 @@ |
| 1 | +--- |
| 2 | +issue: 11 |
| 3 | +status: working |
| 4 | +--- |
| 5 | +# s2-euler-cylinder-1 |
| 6 | + |
| 7 | +The family `Euler/Cylinder*`, three of its files, made cheaper to elaborate by |
| 8 | +edits inside proofs only (3 lines out, 3 in): |
| 9 | + |
| 10 | +- `Euler/CylinderPhysicalTensor.lean`: in `graphMap_norm_le`, the last step of |
| 11 | + the `calc` goes from `nlinarith [norm_nonneg x]` to `linarith [norm_nonneg x]`. |
| 12 | +- `Euler/CylinderPotentialTime.lean`: in `potentialDerivative_orbit`, |
| 13 | + `simp only [potentialDerivative, map_add]` loses `map_add`, which does not |
| 14 | + change the goal. |
| 15 | +- `Euler/CylinderSpatialEmbedding.lean`: `embedding_inner` ends with `linarith` |
| 16 | + where it had `nlinarith`. |
| 17 | + |
| 18 | +No statement, no import line and no docstring changes, and there is no |
| 19 | +`maxHeartbeats`. |
| 20 | + |
| 21 | +The edits are Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, |
| 22 | +the run of 2026-12-03 at upstream `f9e8bc5`), carried onto this project's main and |
| 23 | +counted there. The counts are the unit's, not taken again here: instructions |
| 24 | +retired in user space by `lean -j1 -DElab.async=false` under |
| 25 | +`perf stat -e instructions:u`, one file alone, against the compiled tree of main |
| 26 | +at `df2f18f` before and the same tree with the edits after. |
| 27 | + |
| 28 | +| file | before | after | |
| 29 | +|---|---|---| |
| 30 | +| `Euler/CylinderPhysicalTensor.lean` | 12.02 G | 11.91 G | |
| 31 | +| `Euler/CylinderPotentialTime.lean` | 45.63 G | 45.32 G | |
| 32 | +| `Euler/CylinderSpatialEmbedding.lean` | 18.48 G | 16.79 G | |
| 33 | +| these 3 files | 76.13 G | 74.02 G (−2.8%) | |
| 34 | + |
| 35 | +The diff reads as a proof-only change: each changed line sits below the `:=` of a |
| 36 | +declaration whose statement is untouched. `python3 checks/challenge.py .` ends |
| 37 | +`ok: 4 challenge files and the build configuration as approved; …`. |
| 38 | + |
| 39 | +## Next |
| 40 | + |
| 41 | +Nothing left in this unit. The pull request into `main` is open; what remains is |
| 42 | +the site's `build` check and the maintainer's review. If `build` fails on one of |
| 43 | +the three files, the proof that fails goes back to its old tactic and that file |
| 44 | +leaves the table. |