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.Linarith.Oracle.SimplexAlgorithm.Gauss

4 declarations. Mathlib docs · Source

abbrev Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.GaussM E1 #

ℕ → ℕ → (ℕ → ℕ → Type) → Type → Type

The monad for the Gaussian Elimination algorithm.

def Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.findNonzeroRow E1 #

{n m : ℕ} →
  {matType : ℕ → ℕ → Type} →
    [Mathlib.Tactic.Linarith.SimplexAlgorithm.UsableInSimplexAlgorithm matType] →
      ℕ → ℕ → Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.GaussM n m matType (Option ℕ)

Finds the first row starting from the rowStart with nonzero element in the column col.

def Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.getTableauImp E1 #

{n m : ℕ} →
  {matType : ℕ → ℕ → Type} →
    [inst : Mathlib.Tactic.Linarith.SimplexAlgorithm.UsableInSimplexAlgorithm matType] →
      Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.GaussM n m matType
        (Mathlib.Tactic.Linarith.SimplexAlgorithm.Tableau matType)

Implementation of getTableau in GaussM monad.

def Mathlib.Tactic.Linarith.SimplexAlgorithm.Gauss.getTableau E1 #

{n m : ℕ} →
  {matType : ℕ → ℕ → Type} →
    [inst : Mathlib.Tactic.Linarith.SimplexAlgorithm.UsableInSimplexAlgorithm matType] →
      matType n m → Lean.CoreM (Mathlib.Tactic.Linarith.SimplexAlgorithm.Tableau matType)

Given matrix A, solves the linear equation A x = 0 and returns the solution as a tableau where some variables are free and others (basic) variable are expressed as linear combinations of the free ones.