Gfp compl eq lfp dual
Provedgfp_compl_eq_lfp_dualaether-cataloglogic
Formal statement of gfp_compl_eq_lfp_dual from the Aether Catalog (Logic). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem gfp_compl_eq_lfp_dual(F : Set σ → Set σ) (hF : Monotone F) :
(gfpSet F)ᶜ = sInf {X : Set σ | dualOp F X ⊆ X} := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Logic/PosetTheory/TemporalFixpointSemantics.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Logic/PosetTheory/TemporalStoneSemiringBridge.lean
import Mathlib
import Definitions.Def_Logic_PosetTheory_TemporalStoneSemiringBridge
/-
Copyright (c) 2025 Harmonic. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
# Temporal Stone Duality: Recovering Temporal Logic from Idempotent Semiring Fixpoints
This file establishes a precise algebra–logic–computation equivalence theorem:
for a finite transition system whose temporal semantics is encoded by an
idempotent semiring-valued monotone transformer, the clopen semantics on the
Stone spectrum of the fixpoint lattice is *extensionally identical* to the
temporal logic semantics that characterizes behavioral equivalence.
## Main Theorems
### Theorem A: Stone-dual fixpoint lattice recovers temporal equivalence
* `stone_dual_fixpoint_lattice_recovers_temporal_equiv` — two states are
behaviorally equivalent (agree on all temporal formulas) iff they agree on
all clopens of the finite Stone dual of the definable-predicate lattice.
### Theorem B: Model checking as greatest-fixpoint computation
* `ltl_model_checking_eq_gfp` — satisfaction of the temporal "always P"
property is exactly membership in the greatest fixpoint of the safety
operator X ↦ P ∩ pre(X).
### Theorem C: Finite decidability via iteration stabilization
* `finite_gfp_iteration_stabilizes` — monotone operators on finite powersets
have descending Kleene chains that stabilize.
* `finite_model_checking_by_iteration` — the always-P semantics equals a
finitely computed iterate of the safety operator.
### Supporting infrastructure
* Idempotent semiring structure on `Set σ` (union = add, intersection = mul)
* Monotone safety/reachability operators
* Temporal formula language with □, ◇, □*, ◇*
* Behavioral equivalence and dual-point theory
* Complete fixpoint lattice for safety operators
* ν/μ duality via complementation
-/
open Set Function Classical
attribute [local instance] Classical.propDecidable
set_option linter.unusedSectionVars false
noncomputable section
/-! ## Part I: Finite Transition Systems and Predecessor Operators -/
variable {σ : Type*} [Fintype σ] [DecidableEq σ]
/-! ## Part II: Safety and Reachability Operators -/
/-! ## Part III: Temporal Formula Language -/
/-! ## Part IV: Behavioral Equivalence and Definable Predicates -/
/-! ## Part V: The Dual Point Map (Finite Stone Spectrum) -/
/-! ## Part VI: Descending Kleene Iteration and Fixpoint Theory -/
/-! ## Part VII: Reachability and "Always P" Semantics -/
/-! ## Part VIII: Idempotent Semiring Structure -/
/-! ## Part IX: ν/μ Duality via Complementation -/
/-
The complement of the gfp equals the lfp of the dual operator.
-/Formal statement
theorem gfp_compl_eq_lfp_dual(F : Set σ → Set σ) (hF : Monotone F) :
(gfpSet F)ᶜ = sInf {X : Set σ | dualOp F X ⊆ X} := by sorrySource