Touch and Crossing: Dual Primitive Modalities of Threshold Monitors
Preprint · 2026 / Temporal Evaluation
Abstract
Threshold monitors of real-valued signals fire on one of two operational semantics: the crossing modality, with events at upward transits of a threshold, or the touch modality, with events at local extrema. The runtime-verification and signal-processing literatures treat these as competing encoder families, usually presenting one as primitive and the other as a degenerate case. We argue that this framing is wrong: touch and crossing are dual primitives with incomparable minimal resource requirements - crossing is causal and carries one bit of memory, whereas touch is memoryless but needs a three-sample window and one step of lookahead - so neither monitor can simulate the other without genuinely new structure, and bridging them costs exactly one added bit of structure in each direction: persistent state one way, window or lookahead the other.
We develop three consequences. First, the two modalities sit on a ladder indexed by the number of distinct verdicts a monitor may emit: a verdict-free baseline, a degenerate binary rung, a ternary rung that hosts the touch/crossing duality, and a four-valued rung that organises both along orthogonal touch/crossing and weak/strong axes. The two-, three-, and four-valued rungs themselves are the known runtime-verification verdict progression (the two-/three-/four-valued LTL semantics); our contribution at this layer is not the ladder but the strict tuning hierarchy L1 < L2 < L3 of tuning powers that realise the rungs. Second, the touch-crossing join is a literal parameter coincidence at the four-valued rung: a single augmented monitor realises both modalities as exact parameter choices, and the three classical engineering encoders - edge detector, Schmitt trigger, and extremum detector - appear as named special cases of its ternary subfamily. Third, the duality is operational: a pointwise count inequality (upward crossings never outnumber touches, up to a trace-boundary tick) separates the two on every signal; a linear-time algorithm synthesises tuning parameters realising any feasible target finite event pattern, with an asymmetric feasibility criterion; and a safety / cosafety / liveness / coliveness classification places both modalities inside the existing temporal-property landscape without new logical machinery.
---
Version note (this version): this version incorporates a citation-integrity review of the manuscript. Unsupported or inaccurate attributions were corrected, including two mischaracterized results from cited sources. Proposition 13.11, whose justification previously appealed to a result attributed to a companion paper that does not contain it, is now justified by a short direct argument from the safety/cosafety/liveness/coliveness class definitions; the proposition's statement is unchanged. No new theorem or result is introduced.
Keywords runtime verification · threshold monitors · signal monitoring · crossing · touch · extremum detection · verdict alphabet · capability triple · LTL3 · monitor tuning
Publication details
- Type
- Preprint, deposited on Zenodo. Not a peer-reviewed journal or conference publication.
- This version
- 29 September 2026 · doi:10.5281/zenodo.23041651
- First public version
- 30 June 2026
- Concept DOI
- doi:10.5281/zenodo.21078483 (always resolves to the latest version)
- Full text
- paper.pdf (2.2 MB), a byte-identical copy of main.pdf in Zenodo record 23041651.
SHA-256 b4b0d380f5300d048ca788da20da7f6160f14196022bc292bfe132e903465363 - Licence
- Creative Commons Attribution 4.0 International (CC BY 4.0)
- Institutional record
- iris.uniroma1.it/handle/11573/1770547
- Research line
- Temporal Evaluation
Cite
Davide Bragetti (2026). Touch and Crossing: Dual Primitive Modalities of Threshold Monitors. Preprint, Zenodo. https://doi.org/10.5281/zenodo.21078483
@misc{bragetti2026touchcrossing,
title = {Touch and Crossing: Dual Primitive Modalities of Threshold Monitors},
author = {Bragetti, Davide},
year = {2026},
month = sep,
doi = {10.5281/zenodo.21078483},
publisher = {Zenodo},
note = {Preprint}
}
Versions
| Date | Version | DOI | Access |
|---|---|---|---|
| 2026-09-29 | - (hosted here) | 10.5281/zenodo.23041651 | open |
| 2026-06-30 | - | 10.5281/zenodo.21078484 | open |