The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.NormRank

4 declarations. Mathlib docs · Source

def Mathlib.Tactic.Echelon.normalizeRank E1 #

{u : Lean.Level} →
  {m n : ℕ} →
    {α : Q(Type u)} →
      Q(CommRing «$α») →
        Lean.Expr → Q(Matrix (Fin «$m») (Fin «$n») «$α») → Array (Array Lean.Expr) → Lean.MetaM Lean.Meta.Simp.Result

Rewrite Matrix.rank A to the pivot count of the Bareiss decomposition of the matrix literal A.

def Mathlib.Tactic.Echelon.normRankCore E1 #

Lean.Meta.Simp.Simproc

Core of the norm_rank simproc.

def norm_rank E1 #

Lean.Meta.Simp.Simproc

The norm_rank simproc evaluates the rank of matrices with non-symbolic entries. Terms that it cannot evaluate are skipped, since the fallback model accepts every ring and only the evaluation can tell whether an entry is in its scope.

def evalRank E1 #

Lean.ParserDescr

eval_rank evaluates the rank of matrices with non-symbolic entries.

The element type must be a commutative domain. Terms skipped can be viewed by using set_option trace.Tactic.evalRank true.