NLA-lib Explorer

NLAlib.Ops.«tacticIdx[_]»

Library · def

idx: a goal of linear or nonlinear natural-number arithmetic over offsets: ≤, <, =, ≠ between sums of products of variables and numerals, with / and % by a size.

Method (phase B): omega; then, for every hypothesis i < k (or i ≤ k) in the context and every product i * n (or n * i) in the goal or the context, add i * n + n ≤ k * n (Idx.mul_add_le_mul), normalise products to sums of monomials (ring_nf, monomials are atoms for omega), rewrite idxNF (side conditions by omega), and run omega again. nlinarith only in idx!. It never leaves a goal: it closes it or fails with the goal. It is the discharger of store_side, fp_mem and disjoint, so every side condition with an offset goes through it.

NLAlib.Ops.«tacticIdx[_]» : ParserDescr

Full source on GitHub

Import NLAlib.Ops.Logic.Index.