Expand description
Auto-generated module
๐ค Generated with SplitRS
Functionsยง
- abadi_
lamport_ ty - AbadiLamport: Abadi-Lamport theorem: forward simulation โง backward simulation โน refinement. Type: Prop
- abstract_
spec_ ty - AbstractSpec: an abstract specification (set of allowed behaviors). Type: Type
- angelic_
pt_ ty - AngelicPT: angelic predicate transformer (may-semantics, liberal). Type: Program โ Prop โ Prop
- app
- app2
- app3
- arrow
- assertion_
ty - Assertion: a predicate over program states. Type: State โ Prop (State is a type parameter)
- assign_
rule_ ty - AssignRule: {P[e/x]} x := e {P}. Type: Prop
- atomic_
triple_ ty - AtomicTriple: a logically atomic triple โจPโฉ C โจQโฉ. Type: Prop โ Program โ Prop โ Prop
- backward_
simulation_ ty - BackwardSimulation: a relation witnessing backward simulation. Type: {A C : Type} โ (C โ A โ Prop) โ Prop
- bi_
abduction_ ty - BiAbduction: given P and Q, find A and B such that P โ A โข Q โ B. Type: HeapPred โ HeapPred โ Option (HeapPred ร HeapPred)
- bool_ty
- build_
env - Build a kernel environment with all program-logics axioms.
(Alias for
build_program_logics_envreturning aResult.) - build_
program_ logics_ env - Register all program logics axioms in the kernel environment.
- bvar
- cmra_
core_ ty - CMRACore: the core map ฮณ : A โ Option A (idempotent part). Type: {A : Type} โ A โ Option A
- cmra_
op_ ty - CMRAOp: the partial composition operation of a CMRA. Type: {A : Type} โ A โ A โ Option A
- cmra_ty
- CMRA: a Camera (generalized RA used in Iris). Type: Type โ Prop
- cmra_
valid_ ty - CMRAValid: validity predicate of a CMRA. Type: {A : Type} โ A โ Prop
- concrete_
impl_ ty - ConcreteImpl: a concrete implementation. Type: Type
- concurrent_
triple_ ty - ConcurrentTriple: {P} C {Q} for a concurrent program C. Type: HeapPred โ ConcProgram โ HeapPred โ Prop
- consequence_
rule_ ty - ConsequenceRule: P โข Pโ, {Pโ} C {Qโ}, Qโ โข Q โข {P} C {Q}. Type: Prop
- counting_
permission_ ty - CountingPermission: a counting-based permission (multiset of capabilities). Type: Type
- critical_
section_ rule_ ty - CriticalSectionRule: resource invariant + lock/unlock rule. Type: Prop โ Prop โ Prop
- cst
- data_
refinement_ ty - DataRefinement: a concrete implementation refines an abstract spec. Type: AbstractSpec โ ConcreteImpl โ Prop
- demonic_
pt_ ty - DemonicPT: demonic predicate transformer (must-semantics, conservative). Type: Program โ Prop โ Prop
- emp_
predicate_ ty - EmpPredicate: the empty heap predicate emp. Type: HeapPred
- fancy_
update_ ty - FancyUpdate: fancy update modality |={E1,E2}=> P. Type: NamespaceMask โ NamespaceMask โ IrisProp โ IrisProp
- fractional_
permission_ ty - FractionalPermission: a fractional permission q โ (0, 1]. Type: Type
- fractional_
points_ to_ ty - FractionalPointsTo: l โฆ{q} v โ fractional ownership of location l. Type: Nat โ Nat โ FractionalPermission โ HeapPred
- frame_
preserving_ update_ ty - FramePreservingUpdate: a โ b is frame-preserving if for all frames f valid (aโf) there exists bโ with b โ fโ valid and b โผ bโ. Type: {A : Type} โ A โ A โ Prop
- frame_
rule_ ty - FrameRule: {P} C {Q} โข {P โ R} C {Q โ R} when mod(C) โฉ fv(R) = โ . Type: Prop โ Prop โ Prop โ Prop
- ghost_
state_ ty - GhostState: logical (ghost) state tracked in the Iris ghost heap. Type: {A : Type} โ ResourceAlgebra A โ IrisProp
- ghost_
update_ ty - GhostUpdate: a ghost update modality |==> P (frame-preserving update). Type: IrisProp โ IrisProp
- guarantee_
condition_ ty - GuaranteeCondition: an action this thread promises not to violate. Type: State โ State โ Prop
- heap_
predicate_ ty - HeapPredicate: a predicate over heaps (including โ and -โ connectives). Type: Heap โ Prop
- hoare_
logic_ rules - Return a list of named Hoare logic proof rules.
- hoare_
triple_ ty - HoareTriple: {P} C {Q} โ partial Hoare triple. Type: Prop โ Program โ Prop โ Prop
- invariant_
alloc_ ty - InvariantAlloc: allocate a new invariant. Type: {P : IrisProp} โ P โข |==> โ N, inv(N, P)
- invariant_
open_ ty - InvariantOpen: open an invariant for one step. Type: {N : Namespace} โ {P Q E : IrisProp} โ inv(N,P) โ (P -โ โทP โ Q) โข Q
- invariant_
ty - Invariant: a persistent heap predicate protected by an Iris invariant. Type: Namespace โ IrisProp โ IrisProp
- iris_
agree_ ty - IrisAgree: agreement resource: both owners agree on a value. Type: {V : Type} โ V โ IrisProp
- iris_
always_ ty - IrisAlways: the always modality โกP (persistent propositions). Type: IrisProp โ IrisProp
- iris_
auth_ ty - IrisAuth: authoritative element in the auth camera. Type: {A : Type} โ A โ IrisProp
- iris_
entails_ ty - IrisEntails: Iris entailment P โข Q. Type: IrisProp โ IrisProp โ Prop
- iris_
excl_ ty - IrisExcl: exclusive ownership token Excl(v). Type: {V : Type} โ V โ IrisProp
- iris_
fragment_ ty - IrisFragment: fragment element in the auth camera. Type: {A : Type} โ A โ IrisProp
- iris_
invariant_ rules - Return the Iris proof rules for invariant access.
- iris_
later_ ty - IrisLater: the later modality โทP. Type: IrisProp โ IrisProp
- iris_
prop_ ty - IrisProp: a proposition in the Iris base logic (step-indexed). Type: Type
- iris_
sep_ star_ ty - IrisSepStar: separating conjunction in Iris. Type: IrisProp โ IrisProp โ IrisProp
- iris_
wand_ ty - IrisWand: magic wand in Iris. Type: IrisProp โ IrisProp โ IrisProp
- is_
stable - Check stability: a predicate
P(given as a set of states) is stable under relyRif for every transition (s โ sโ) in R, s โ P โ sโ โ P. - list_ty
- loop_
invariant_ ty - LoopInvariant: the invariant for a while loop. Type: (State โ Prop)
- loop_
variant_ ty - LoopVariant: the variant expression for a while loop (must decrease). Type: Type
- mask_
subset_ ty - MaskSubset: mask inclusion E1 โ E2. Type: NamespaceMask โ NamespaceMask โ Prop
- namespace_
mask_ ty - NamespaceMask: the set of open invariants (mask E โ Namespace). Type: Type
- nat_ty
- option_
ty - ownership_
transfer_ ty - OwnershipTransfer: transferring ownership of a resource between threads. Type: HeapPred โ HeapPred โ Prop
- parallel_
composition_ rule_ ty - ParallelCompositionRule: {P1} C1 {Q1}, {P2} C2 {Q2} โข {P1โP2} C1||C2 {Q1โQ2}. Type: Prop
- permission_
combine_ ty - PermissionCombine: lโฆ{p1}v โ lโฆ{p2}v โข lโฆ{p1+p2}v. Type: Prop
- permission_
split_ ty - PermissionSplit: p = p1 + p2 justifies lโฆ{p}v โข lโฆ{p1}v โ lโฆ{p2}v. Type: Prop
- pi
- points_
to_ ty - PointsTo: l โฆ v โ the heap contains exactly location l with value v. Type: Nat โ Nat โ HeapPred
- predicate_
transformer_ ty - PredicateTransformer: a monotone endofunction on predicates. Type: (Prop โ Prop)
- prop
- ranking_
function_ ty - RankingFunction: a function from states to a well-founded set, decreasing on each loop iteration. Type: {S : Type} โ (S โ Nat) โ Program โ Prop
- read_
permission_ ty - ReadPermission: a fraction q < 1, read-only. Type: FractionalPermission
- refinement_
mapping_ ty - RefinementMapping: a coupling function between abstract and concrete states. Type: {A C : Type} โ (C โ A) โ Prop
- rely_
condition_ ty - RelyCondition: an action the environment may perform. Type: State โ State โ Prop
- rely_
guarantee_ consequence_ ty - RelyGuaranteeConsequence: consequence rule for R-G. Type: Prop
- rely_
guarantee_ parallel_ ty - RelyGuaranteeParallel: composition rule for rely-guarantee. Type: Prop
- rely_
guarantee_ triple_ ty - RelyGuaranteeTriple: (R, G) โข {P} C {Q}. Type: (State โ State โ Prop) โ (State โ State โ Prop) โ Prop โ Program โ Prop โ Prop
- resource_
algebra_ ty - ResourceAlgebra: a CMRA (Canonical Metric Resource Algebra) โ unital, partial monoid with a validity predicate and core map. Type: Type โ Prop
- sep_
logic_ triple_ ty - SepLogicTriple: a Hoare triple in separation logic. Type: HeapPred โ Program โ HeapPred โ Prop
- sep_
star_ ty - SepStar: separating conjunction P โ Q. Type: HeapPred โ HeapPred โ HeapPred
- sep_
wand_ ty - SepWand: separating implication (magic wand) P -โ Q. Type: HeapPred โ HeapPred โ HeapPred
- seq_
rule_ ty - SeqRule: {P} C1 {R}, {R} C2 {Q} โข {P} C1;C2 {Q}. Type: Prop โ Prop โ Prop โ Prop
- shared_
invariant_ ty - SharedInvariant: a predicate protected by a lock or other synchronization mechanism. Type: (State โ Prop) โ Prop
- simulation_
relation_ ty - SimulationRelation: a relation witnessing a simulation (forward simulation). Type: {A C : Type} โ (A โ C โ Prop) โ Prop
- skip_
rule_ ty - SkipRule: {P} skip {P}. Type: {P : Prop} โ HoareTriple P skip P
- sp_ty
- SP: strongest postcondition โ sp(C, P) is the strongest Q such that {P} C {Q}. Type: Prop โ Program โ Prop
- spatially_
disjoint_ ty - SpatiallyDisjoint: two heap predicates have disjoint footprints. Type: HeapPred โ HeapPred โ Prop
- stability_
condition_ ty - StabilityCondition: P is stable under R if R-steps preserve P. Type: (State โ Prop) โ (State โ State โ Prop) โ Prop
- string_
ty - termination_
proof_ ty - TerminationProof: a proof that program C terminates from every state satisfying P. Type: Prop โ Program โ Prop
- thread_
local_ ty - ThreadLocal: a predicate about the local state of a single thread. Type: (State โ Prop)
- total_
correctness_ rule_ ty - TotalCorrectnessRule: total correctness proof rule using a ranking function. Type: Prop
- total_
hoare_ triple_ ty - TotalHoareTriple: [P] C [Q] โ total Hoare triple (guarantees termination). Type: Prop โ Program โ Prop โ Prop
- trace_
inclusion_ holds - Check (simple) trace inclusion: every trace of
concreteis a trace ofabstract_lts. We check by seeing if the concrete LTSโs reachable state-transitions are covered. - type0
- verification_
condition_ ty - VerificationCondition: a formula that must be checked to validate a Hoare proof. Type: Prop
- well_
founded_ order_ ty - WellFoundedOrder: a well-founded order โ every non-empty set has a minimal element. Type: {A : Type} โ (A โ A โ Prop) โ Prop
- while_
rule_ ty - WhileRule: {I โง b} C {I} โข {I} while b do C {I โง ยฌb}. Type: Prop โ Prop โ Prop
- wlp_ty
- WLP: weakest liberal precondition (partial correctness, may diverge). Type: Program โ Prop โ Prop
- wp_
completeness_ ty - WPCompleteness: if {P} C {Q} then P โข wp(C, Q). Type: {P Q : Prop} โ {C : Program} โ HoareTriple P C Q โ Prop
- wp_
rules - Return the weakest precondition calculus rules as strings.
- wp_
soundness_ ty - WPSoundness: {wp(C,Q)} C {Q}. Type: {C : Program} โ {Q : Prop} โ HoareTriple (wp C Q) C Q
- wp_ty
- WP: weakest precondition transformer โ wp(C, Q) is the weakest P such that {P} C {Q}. Type: Program โ Prop โ Prop
- write_
permission_ ty - WritePermission: full (1) fractional permission, allows mutation. Type: FractionalPermission
Type Aliasesยง
- Guarantee
Condition - A guarantee condition: transitions this thread promises to only perform.