Documentation

Lean.Meta.Tactic.Grind.Anchor

Anchor (aka stable hash) support for grind. We use anchors to reference terms in the grind state.

def Lean.Meta.Grind.isAnchorPrefix (numHexDigits : Nat) (anchorPrefix anchor : UInt64) :

Example: isAnchorPrefix 4 0x0c88 0x0c88ab10ef20206a returns true

Equations
Instances For
    Instances

      Returns the number of digits needed to distinguish the anchors in es

      Equations
      Instances For
        Instances For
          def Lean.Meta.Grind.mkAnchorSyntaxFromPrefix (numDigits : Nat) (anchorPrefix : UInt64) :
          CoreM (TSyntax `Lean.Parser.Tactic.Grind.anchor)
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Lean.Meta.Grind.mkAnchorSyntax (numDigits : Nat) (anchor : UInt64) :
            CoreM (TSyntax `Lean.Parser.Tactic.Grind.anchor)
            Equations
            Instances For