See what every number depends on
qeGraph computes each value only when it is needed and keeps it, so that a change recomputes only what
depends on it. The Graph page draws this for any trade: its pricer, its curves and the quotes they read, each
node with its value and the code that computed it.
The graph is highly optimised, and its logic can be complex. So its algorithm, including scenarios, refresh
and the persistent cache, is proved correct in Lean against a formal specification, and the
implementation is checked against that verified model every night. Values held in memory, such as calibrated
curves, are recomputed whenever anything they depend on changes, inside scenarios too, and are never served
stale.