# M75. One way to a path **Packages:** P6, cut to what Fourier grids and the modes do alike, and the first part of P7: which path takes a problem is one table, and what an equation holds of time is read once. Nothing that a user sees has changed. ## What was found about P6 Decision D72.1 named a third step: Fourier waves as a space beside the modes, so that periodic problems would run through the driver of milestone 73. Before it was begun the Fourier side was read against that plan, and the plan did not hold. The kernels are shared already. The propagator knows both bases, `exponential::advance` and `gmres` take closures, and Newton's method is one loop since milestone 72. What still differs above them differs for reasons: - **Real numbers.** On a Fourier grid a real problem is solved in real numbers, with real transforms. The modes are complex throughout. One driver for both would make the Fourier side complex, which is slower and rounds differently, or would need every type of the modes to take both kinds of number. - **Terms that are stepped are evaluated in Fourier space** on a periodic grid: derivatives come from the spectrum of the state, and a third of the waves is dropped against aliasing. In modes they are evaluated at the points. Through one interface a periodic step would transform more often. - **With free directions the state lives on a padded box**, whose size follows from how far the solution travels. There is no boundary and nothing given on it, which is most of what the driver does. - **The iteration for coefficients that vary** has the same form on both sides, an iteration on the effective source. What the two could share is the thirty lines around the call of GMRES. The rest, three thousand lines, is the reference operator, the condition at infinity and the derivatives, which differ. A trait for a space would be a thin cover over two things that stay two, or it would change results and timings. Neither is better than what is there. ## Decisions ### D75.1. P6 is cut to what the two sides do alike *Owner, 2026-11-25.* The developer reported the above and proposed to cut P6. The owner agreed. It amends decision D72.1: the third step is not a space for Fourier waves, but what was the same on both sides without a reason, which this milestone joins. The architecture page says so. The fourth step, one reading of an equation, is where the copies that are left stand, and it goes on. ### D75.2. The way to a path is one function *Developer, 2026-11-25.* `route::Path::of` answers which path takes a problem, from the family of its domain (a shape, a domain with boundaries, a Fourier grid) and the kind of the problem (an eigenproblem, several unknowns, in time). It replaces five functions `applies`, the chain of the planner, the chain of the solve with its three nested functions, and a chain of its own in `shaped_system::shape_of`, which `values_at` and `integrals` went through. The planner and the solve are each one `match` over the answer, with a line or three for each path. The path is found before the problem is read. A problem that no path solves is thus refused by the path of its kind, in its words, as before: a stationary system between walls goes to the path of one equation there, which says that it is not solved. ### D75.3. What an equation holds of time is read by one function *Developer, 2026-11-25.* `analysis::read_time` reads the order in time, the coefficient of the highest derivative in time, the damping and the operator in space, and `analysis::stepped_terms` puts the terms that are stepped on the right of the equation. `analysis::evolution` and `bounded::read_time` did both, each for itself, line for line. Each keeps what is its own: with free directions the travel of the solution and the terms that must act in the box, between walls nothing more. The order in which a problem with two faults is refused is kept. ## What was built - **`route.rs`**, with a test that walks every kind of problem over every family of domains. - **`planner::plan_with` and `solve::solve_in_pool`** as tables over the path. `solve.rs` lost `solve_eigen`, `solve_shaped`, `solve_bounded`, `solve_bounded_system` and `solve_system`, and has `checked`, the one place where a plan is taken or made and checked against its problem. - **`analysis::read_time` and `analysis::stepped_terms`.** - **Of P6:** `evolution::Advance` is the one description of how a plan advances in time, for every kind of domain. The copy for Fourier grids carried the terms that are stepped, for which `system` built an expression that meant nothing. And `evolution::record_count` is the one count of the times that a solution is recorded at, where four planners divided the same budget. ## What was measured The 24 problems of milestones 72 and 73 give the same bytes as before. ## What is left of P7 - **An error is still a branch** in `bounded_modes::classify`: whatever the reading of separable modes refuses goes to the reading for the iteration. And `shaped_modes::classify` still rewrites the words of a refusal that the reading in time wrote. Both go away when an eigenproblem is read as what it is, and not as a problem in time that is read again. - **The ten structures that `classify` returns** share no part. Most hold the unknown, the coordinates, the source, the data fields and whether the problem is complex, each found by a chain of its own. - **The terms of a linear operator** are turned into what a path holds in three places, each with a `match` over the same three things: `varying`, `bounded_varying` and `shaped`. - **A nonlinear term and its slope** are compiled in three ways. - **Systems** read time by functions of their own (`system::in_time`, `system::initial_state`), and `bounded_system` and `shaped_system` read a system by two functions that differ in the conditions alone.