Documentation

Cedar.SymCC.Tags

This file defines the ADT for representing symbolic tags.

We currently represent with two total unary functions:

With this representation, testing if an entity e has the tag s amounts to checking if s is a member of keys e. Safely getting the value of the tag s for the entity e amounts to returning none if s is not a member of es keys set, and otherwise returnng vals e s.

Instances For
    def Cedar.SymCC.SymTags.hasTag (τs : SymTags) (entity tag : Term) :
    Equations
    Instances For
      def Cedar.SymCC.SymTags.getTag! (τs : SymTags) (entity tag : Term) :
      Equations
      Instances For
        def Cedar.SymCC.SymTags.getTag (τs : SymTags) (entity tag : Term) :
        Equations
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Cedar.SymCC.instDecidableEqSymTags.decEq (x✝ x✝¹ : SymTags) :
            Decidable (x✝ = x✝¹)
            Equations
            Instances For