Documentation

Mathlib.Lean.Meta.RefinedDiscrTree.Basic

Basic Definitions for RefinedDiscrTree #

Definitions #

Discrimination tree key.

Instances For

    Constructor index used for ordering Key. Note that the index of the star pattern is 0, so that when looking up in a Trie, we can look at the start of the sorted array for all .star patterns.

    Equations
    Instances For

      Discrimination tree trie. See RefinedDiscrTree.

      Instances For

        Trie.path constructor that only inserts the path if it is non-empty.

        Equations
        Instances For

          Trie constructor for a single value, taking the keys starting at index i.

          Equations
          Instances For

            Return the values from a Trie α, assuming that it is a leaf

            Equations
            Instances For

              Return the children of a Trie α, assuming that it is not a leaf. The result is sorted by the Key's

              Equations
              Instances For

                Discrimination tree. It is an index from expressions to values of type α.

                Instances For