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)
ProvedMFOTLMon.Monitor.lemma_3_6mfotlmonitoringp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1temporal-logic
Let and let be given by the construction of §3.4.2 from . If the relations are regular and for all , then
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 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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.