Documentation

CatCryptCore.Core.Location

Memory Locations #

This file defines memory locations for stateful computations.

Location identifier with type information. Note: We fix ty at Type (universe 0) to avoid universe polymorphism issues that would otherwise require complex universe unification in invariant proofs. This is sufficient for cryptographic applications where location types are typically finite types like Bool, Fin n, BitVec n, etc.

Instances For
    @[reducible, inline]

    A set of locations

    Equations
    Instances For
      @[implicit_reducible]

      We consider two locations equal if they have the same id. Note: This is a weaker notion that ignores type equality, which is appropriate for our heap model where location ids are unique.

      Equations