The Third Proof-Carrying Rescue

The first two proof-carrying rescues handled clean safety boundaries:

domain_wall -> log_domain_rescue
overflow_wall -> guard_rescue

The third one is stranger:

phantom_attractor -> precision_escape -> interior_sample

A phantom attractor is not a crash. The trace remains finite. That is what makes it dangerous: the optimizer can appear stalled in a numerically plausible basin even though higher-precision replay exposes a way out.

The Function Family

The fixture is deliberately small:

quantized_basin(x) = (x - 0.375)^2

The function is not exotic. The phantom comes from the optimizer trace. With a coarse finite-difference grid, nearby probes collapse onto the same quantized coordinate, so the low-precision gradient reads as zero.

Higher-precision replay sees the slope.

The Trace

Forge emits the packet with:

tools/precision_escape_rescue.py

It records:

examples/precision_escape_rescue.eml

The generated report shows finite stalled points that escape under precision replay:

xlow-precision gradienthigh-precision gradientescaped xtransition
0.250.0-0.250.375phantom_attractor -> interior_sample
0.50.00.250.375phantom_attractor -> interior_sample
0.750.00.750.375phantom_attractor -> interior_sample

This is the important distinction: the packet does not claim these points are true local optima. It claims they are finite, low-precision-stalled, precision-sensitive, and escapable.

The Obligation

The packet points at:

PrecisionSensitivityObligation

MachLib now has a packet bridge:

ValidBoundaryRunPacket p
  -> PacketHasEvent p phantomAttractor
  -> PacketHasTransition p phantomAttractor interiorSample
  -> PrecisionSensitivityObligation p
     and a nonempty transition-graph witness

The explicit event premise matters. A transition packet is evidence, not yet a semantic constructor for event membership. The theorem stays honest about that boundary while still giving Forge a formal hook.

Why This Matters

This is the first rescue that targets a deceptive finite state rather than an obvious invalid domain or overflow wall.

That is where high-dimensional optimization gets subtle. The failure can look like success. A proof-carrying optimizer needs to say, “this trace is finite, but the finite evidence is suspicious.”

The third rescue gives Monogate a first packet shape for that suspicion.

Next in the series: The Fourth Proof-Carrying Rescue.

React