Safety theorems for the HaltMonitor model #
Three guarantees are proved:
run_emitted_preserves_input— when the result isemitted, the emitted tokens equal the projected input tokens.run_emitted_implies_all_pass— when the result isemitted, every input item passes the threshold.run_any_fail_implies_halted— if any input item fails the threshold, the result ishalted, notemitted.
Together these formalise the informal claim "no token whose
coherence score falls below hard_limit is ever emitted".
theorem
HaltMonitor.run_emitted_implies_all_pass
(hardLimit : Score)
(items : List Item)
(ts : List Token)
:
run hardLimit items = Output.emitted ts → ∀ (it : Item), it ∈ items → Item.passes hardLimit it
When the monitor returns emitted, every input item has a score
of at least hardLimit.