Skip to content

feat(lattice): observer union and coalition TINI in the Record module (from Lintel) #12

Open

Description

@hyperpolymath

Summary

PROOF-STATUS lists under Open: "Coalition observers: a union of down-closed observers is down-closed, so N-7 already covers it, but no union combinator or coalition instance is stated here."

metadatastician/lintel#13 (merged as 78a705d) wrote that combinator, generic over any Lattice, in src/Lintel/Instance.agda:

_∪_ : ∀ {𝓛} → Observer 𝓛 → Observer 𝓛 → Observer 𝓛
V ∪ W = record
  { sees   = λ ℓ → Observer.sees V ℓ ⊎ Observer.sees W ℓ
  ; sees-↓ = λ { p (inj₁ v) → inj₁ (Observer.sees-↓ V p v)
               ; p (inj₂ w) → inj₂ (Observer.sees-↓ W p w) }
  }

together with a local _⊎_ (the Prelude has none). tini (V ∪ W) is then coalition TINI for free from N-7. Lintel's PR body already says this belongs upstream (doctrine 14, solutions at source); it was kept local only so the PR did not wait on this repo.

Proposed work

  1. Add _⊎_ to SecretTypes.Prelude (or a Data module), and _∪_ to SecretTypes.Lattice.Record beside principal, with the comment that a union of down-closed observers is down-closed.
  2. State the coalition instance once (tini (V ∪ W)), and move the PROOF-STATUS "Coalition observers" item from Open to PROVEN with that artefact.
  3. One observation worth recording with it: in a lattice where the coalition sees every variable's label, tini (V ∪ W) has no content beyond determinism of exec, since agreement for the coalition is equality of stores. Lintel's coalition proxy target over the two-field fragment is exactly that case. The statement is only informative when some variable's label is unseen by the union.

When it lands

Lintel re-pins, deletes its local _⊎_ and _∪_, and imports them; coalition, tini-coalition and collusion-gap stay in Lintel since they name its roles.

Activity

  1. added
    enhancement
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions