Documentation

LeanPool.Lean4GlCoalgebras.General.Soundness

Soundness of GL-proof system. #

noncomputable def Lean4GlCoalgebras.chain {𝕏 : Proof} {x : 𝕏.X} {Γ : Sequent} (prop : f (r 𝕏.α x) = Γ) {W : Type} {M : Model W} {w : W} (w_prop : ¬evaluateSeq (M, w) Γ) (n : ) :
(y : 𝕏.X) × { u : W // ¬evaluateSeq (M, u) (f (r 𝕏.α y)) }

Helper for soundness, Given a proof of Γ and a countermodel of Γ, find a path in the proof and the model

Equations
Instances For
    theorem Lean4GlCoalgebras.chain_proof_prop {𝕏 : Proof} {x : 𝕏.X} {Γ : Sequent} (prop : f (r 𝕏.α x) = Γ) {W : Type} {M : Model W} {w : W} (w_prop : ¬evaluateSeq (M, w) Γ) (n : ) :
    edge 𝕏.α (chain prop w_prop n).fst (chain prop w_prop (n + 1)).fst

    The left projection of chain is a chain in the proof.

    theorem Lean4GlCoalgebras.chain_model_prop {𝕏 : Proof} {x : 𝕏.X} {Γ : Sequent} (prop : f (r 𝕏.α x) = Γ) {W : Type} {M : Model W} {w : W} (w_prop : ¬evaluateSeq (M, w) Γ) (n : ) :
    (¬(r 𝕏.α (chain prop w_prop n).fst).isBox = true(chain prop w_prop n).snd = (chain prop w_prop (n + 1)).snd) ((r 𝕏.α (chain prop w_prop n).fst).isBox = trueM.R (chain prop w_prop n).snd (chain prop w_prop (n + 1)).snd)

    The right projection of chain makes progress in the model on box nodes.

    theorem Lean4GlCoalgebras.has_children_of_chain_model {𝕏 : Proof} {x : 𝕏.X} {Γ : Sequent} (prop : f (r 𝕏.α x) = Γ) {W : Type} {M : Model W} {w : W} (w_prop : ¬evaluateSeq (M, w) Γ) (n : ) :
    ∃ (m : ), M.R (chain prop w_prop n).snd (chain prop w_prop (n + m)).snd

    The right projection of chain eventually progresses.

    noncomputable def Lean4GlCoalgebras.incChainEventualIncChain {β : Sort u_1} {Q : ββProp} {g : β} (Q_prop : ∀ (n : ), ∃ (m : ), Q (g n) (g m)) (n : ) :
    { b : β // ∃ (n : ), b = g n }

    Progressing subchain of an eventually increasing chain.

    Equations
    Instances For
      theorem Lean4GlCoalgebras.incChainEventualIncChain_prop {β : Sort u_1} {Q : ββProp} {g : β} (Q_prop : ∀ (n : ), ∃ (m : ), Q (g n) (g m)) (n : ) :
      Q (incChainEventualIncChain Q_prop n) (incChainEventualIncChain Q_prop (n + 1))

      An eventually progressing chain has an progressing subchain.

      theorem Lean4GlCoalgebras.soundness (Γ : Sequent) :
      ΓΓ

      Soundness theorem for the GL-proof system.