cove v0.1.2 — Step-indexed Kripke evidence #8
hayabusa-cloud
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Introduction
coveis the context layer of the nonblocking I/O stack. Around akontcomputation that is advanced one suspension at a time,covekeeps ambient state — dispatch budget, ring capabilities, protocol phase, buffer-group validity, and similar runtime facts — as typed, composable data instead of hidden globals or ad-hoc side maps.The package is policy-free by design: it carries context, checks requirements, and exposes the current suspension boundary, but it never schedules, retries, classifies outcomes, or talks to the kernel. Those responsibilities stay with
takt,iox, anduring.The public surface covers a comonadic
View, aSuspensionViewboundary overkont.Suspension, contextualCmdcomposition, closure and defunctionalized requirement algebrasReq/ReqExpr, named diagnosticsRule/RuleExprwithReport, requirement- and rule-gated value carriersCheckedandGuarded, and now a generic step-indexed Kripke evidence layer for contextual worlds.v0.1.2 builds on the v0.1.0 contextual stepping release and the v0.1.1 source-contract documentation patch by adding the Kripke/world vocabulary needed to express finite contextual observations directly in
covewhile preserving the existing runtime boundary:covechecks evidence, but it does not become a scheduler or event loop.Usage
Highlights
This release makes
covethe generic Kripke evidence layer for contextual observations. Callers can now name worlds, preorder extension, monotone forcing, step-indexed relations, guarded delay, indexed contextual observations, monotone indexed resume, and completed finite-trace relation checks without moving scheduler policy or runtime state ownership intocove.The public release lineage remains additive: v0.0.0 introduced the coalgebraic context layer, v0.1.0 stabilized contextual stepping for
kontsuspensions, v0.1.1 clarified source-level contracts, and v0.1.2 extends that surface with Kripke evidence rather than changing existing behavior.What's Changed
Features
Worldas the Kripke reading of an ambient context type.StepIndexas the finite approximation level used by indexed contextual observations.Preorder,Extends,DiscreteWorlds, andTotalWorldsfor world-extension evidence and local preorder checks.Transition,CheckTransition,CheckForcingTransition, andCheckInvariantTransitionfor concrete world-edge checks.ForcingandForcingExprwith monotonicity checks overReqandReqExpr.Relation,Indexed,Relate,Later,CheckRelation, and indexed weakening helpers for step-indexed Kripke relations.IndexedView,IndexedSuspensionView,StepWithIndex,StepExprWithIndex,ResumeTo, andCheckCompletedRelationfor finite contextual suspension observations.Compatibility
This discussion was created from the release cove v0.1.2 — Step-indexed Kripke evidence.
All reactions