You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(lattice): observer union and coalition TINI in the Record module (from Lintel) #12
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
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.
State the coalition instance once (tini (V ∪ W)), and move the PROOF-STATUS "Coalition observers" item from Open to PROVEN with that artefact.
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
docs(status): scope L-7 and coalition TINI to the two-field fragment;…