Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.6, p. 15:11 — next operator: if the p_φ^{D̂_{i+1}}, φ ∈ tsub(β), are regular and correct, p_α^{D̂ᵢ} is regular and equals α^(D̄,τ̄,i)

Proved
MFOTLMon.Monitor.lemma_3_6

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

mfotlmonitoringp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1temporal-logic

Let α=∘Iβ\alpha=\circ_I\betaα=∘I​β and let pαD^ip_\alpha^{\hat{\mathcal D}_i}pαD^i​​ be given by the construction of §3.4.2 from β^D^i+1\hat\beta^{\hat{\mathcal D}_{i+1}}β^​D^i+1​. If the relations pφD^i+1p_\varphi^{\hat{\mathcal D}_{i+1}}pφD^i+1​​ are regular and pφD^i+1=φ(Dˉ,τˉ,i+1)p_\varphi^{\hat{\mathcal D}_{i+1}}=\varphi^{(\bar{\mathcal D},\bar\tau,i+1)}pφD^i+1​​=φ(Dˉ,τˉ,i+1) for all φ∈tsub(β)\varphi\in\mathit{tsub}(\beta)φ∈tsub(β), then

pαD^i is regular and pαD^i=α(Dˉ,τˉ,i).p_\alpha^{\hat{\mathcal D}_i}\text{ is regular and } p_\alpha^{\hat{\mathcal D}_i}=\alpha^{(\bar{\mathcal D},\bar\tau,i)}.pαD^i​​ is regular and pαD^i​​=α(Dˉ,τˉ,i).

This is the correctness of the monitor's construction for the next operator.

Formalization Note. As in Lemma 3.5, the auxiliary relations are a family P(φ,j)P(\varphi,j)P(φ,j) and the structures are automatic with respect to the fixed representation.

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

/-- Lemma 3.6 (p. 15:11), `α = ○_I β`. If the relations `p_φ^{D̂_{i+1}}` (here `P φ (i + 1)`) are
regular and equal `φ^{(D̄,τ̄,i+1)}` for all `φ ∈ tsub(β)`, then `p_α^{D̂ᵢ}` is regular and
`p_α^{D̂ᵢ} = α^{(D̄,τ̄,i)}`. Here `p_α^{D̂ᵢ} = nextP τ I i (β̂^{D̂_{i+1}})` (§3.4.2). -/
theorem lemma_3_6 {S : Signature} {Γ : Type} [Fintype Γ] (rep : DomainRep Γ) (D : TempStruct S)
    (hD : IsAutomatic rep D) (I : Interval) (β : Formula S)
    (P : Formula S → ℕ → Set (List ℕ)) (i : ℕ) :
    let B : ℕ → Set (List ℕ) := fun j => hatSet (D.rel j) D.const (fun ψ => P ψ j) β
    (∀ φ ∈ tsub β, RegularRel rep (freeList φ).length (P φ (i + 1)) ∧
      P φ (i + 1) = satSet D φ (i + 1)) →
    RegularRel rep (freeList (Formula.next I β)).length (nextP D.τ I i (B (i + 1))) ∧
      nextP D.τ I i (B (i + 1)) = satSet D (Formula.next I β) i := 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), p. 15:11, Lemma 3.6 (construction of §3.4.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