Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Observation (2), proof of Theorem 3.9, pp. 15:16–15:17 — if (α, j, S) ∈ Q_k then (α, j, ∅) ∈ Q_{k′} for some k′ ≥ k

Proved
MFOTLMon.Monitor.observation_2

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmmonitoringp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1runtime-verification

Let Φ\PhiΦ be bounded, with each temporal subformula occurring once, and let QkQ_kQk​ be the list QQQ of MΦ\mathsf M_\PhiMΦ​ when it enters its (k+1)(k+1)(k+1)st loop iteration. For all k∈Nk\in\mathbb Nk∈N, if (α,j,S)∈Qk(\alpha,j,S)\in Q_k(α,j,S)∈Qk​, then

(α,j,∅)∈Qk′for some k′≥k.(\alpha,j,\emptyset)\in Q_{k'}\quad\text{for some }k'\ge k.(α,j,∅)∈Qk′​for some k′≥k.

The page derives it from the update of QQQ (line 12), the functions waitfor\mathit{waitfor}waitfor and update\mathit{update}update, and the fact that the time stamps are monotone and make progress; it guarantees that no pending evaluation waits forever.

Formalization Note. Monotonicity and progress of τˉ\bar\tauτˉ are part of every temporal structure. "Each temporal subformula occurs only once" is the paper's standing assumption of §3.6.

Preamble
import Mathlib
import Definitions.Def_MFOTLMon_Monitor_Algorithm
Formal statement
namespace MFOTLMon.Monitor

/-- Observation (2) in the proof of Theorem 3.9 (pp. 15:16–15:17): for a bounded `Φ` (each temporal
subformula occurring once) and all `k ∈ ℕ`, if `(α, j, S) ∈ Q_k` then `(α, j, ∅) ∈ Q_{k′}` for some
`k′ ≥ k`. (Monotonicity and progress of `τ̄` are fields of `TempStruct`.) -/
theorem observation_2 {S : Signature} (D : TempStruct S) (Φ : Formula S) (hΦ : Bounded Φ)
    (huniq : TemporalSubformulasOnce Φ) :
    ∀ (k : ℕ) (α : Formula S) (j : ℕ) (W : List (Formula S)), (α, j, W) ∈ (run D Φ k).Q →
      ∃ k', k ≤ k' ∧ (α, j, ([] : List (Formula S))) ∈ (run D Φ k').Q := by sorry

end MFOTLMon.Monitor
Source
Basin, Klaedtke, Müller, Zălinescu, Monitoring metric first-order temporal properties, J. ACM 62(2), Article 15 (2015), pp. 15:16–15:17, proof of Theorem 3.9, observation (2)
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me