Skip to content

Quantified logical-index aggregate-state relations are specified but unimplemented #131

Description

@dollspace-gay

Specified in .design/build/aggregate-array-relations.md under "Quantified logical-index relations". Nothing is implemented today.

  • thermite-syntax has no #[logical(bound = "...", observe = "...")] struct attribute; fn parse_attribute in parser.rs accepts only slag, boundary, sealed, opaque.
  • fn check_array_relation_call in thermite-spec/src/validator.rs requires both operands to be Type::Array, so the relation family cannot apply to a collection state.
  • fn lower_inv_expr in thermite-lower/src/lower.rs recognises array_eq, array_same_except, and array_same_except_two only.
  • No TV encoder derives a logical index space; thermite-tv/src/ref_encode.rs and thermite-tv/src/exec_encode.rs model the storage view.

Scope of this blocker is the index-transparent observer subset: every occurrence of the observer's index parameter is a direct index of a fixed-array field of the receiver, with no arithmetic applied to the index. That subset covers the slot views of FixedRing64, FixedVec64, FixedSlab64, FixedFreelist64, FixedIntrusiveList64, FixedDirectMap64, and FixedOpenMap64, and it is the form an opaque collection needs to export a public all-index contract without exposing field names.

Derived-index (packed) observers such as fixed_bitmap_contains_spec are tracked separately.

Activity

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

    blockerBlocks a downstream unit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions