Documentation

Lean.Meta.Tactic.Grind.Arith.CommRing.PP

Prints the ring solver state of goal. rings are the Sym.Arith records of the run (see Result.rings).

Both arrays are indexed by the ring id assigned by Sym.Arith.classify?: the goal's state is written at that id (RingM.modifyCommRingState), and the Sym.Arith array only grows during a run, so rings is at least as long as s.rings and rings[i] is the record of s.rings[i].

Instances For