Equations
- Lean.instHashablePtr = { hash := fun (a : Lean.Ptr α) => hash64 (USize.toUInt64 (ptrAddrUnsafe a)) }
Equations
- Lean.instBEqPtr = { beq := fun (a b : Lean.Ptr α) => ptrAddrUnsafe a == ptrAddrUnsafe b }
Set of pointers. It is a low-level auxiliary datastructure used for traversing DAGs.
Equations
- Lean.PtrSet α = Lean.HashSet (Lean.Ptr α)
Instances For
Equations
- Lean.mkPtrSet capacity = Lean.mkHashSet capacity
Instances For
@[inline, reducible]
Equations
- Lean.PtrSet.insert s a = Lean.HashSet.insert s { value := a }
Instances For
@[inline, reducible]
Equations
- Lean.PtrSet.contains s a = Lean.HashSet.contains s { value := a }