Anchor (aka stable hash) support for grind. We use
anchors to reference terms in the grind state.
Returns the number of digits needed to distinguish the anchors in es
Equations
Instances For
Equations
- Lean.Meta.Grind.instHasAnchorExprWithAnchor = { getAnchor := fun (e : Lean.Meta.Grind.ExprWithAnchor) => e.anchor }
Equations
- Lean.Meta.Grind.mkAnchorSyntax numDigits anchor = Lean.Meta.Grind.mkAnchorSyntaxFromPrefix numDigits (anchor >>> (64 - 4 * numDigits.toUInt64))