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.Echelon.Rat

4 declarations. Mathlib docs · Source

def Mathlib.Tactic.Echelon.evalRatEntry E1 #

Bool → Lean.Expr → Lean.MetaM ℚ

Data-only evaluation of a matrix entry to its rational value via norm_num. Fraction values are accepted only in characteristic zero.

def Mathlib.Tactic.Echelon.checkDecideEq E1 #

{u : Lean.Level} → (α : Q(Type u)) → Q(CommRing «$α») → Lean.MetaM Bool

Check whether the kernel can reduce decide ((2 : α) ≠ 0) to a boolean result (would be false in characteristic 2). Synthesizing the Decidable instance alone does not settle this, since types such as ℝ have classical instances defined for them. This check tests 2 against 0 (instead of 1), because some rings might have decidable equality facts between 0 and 1, but not for general entries against 0.

def Mathlib.Tactic.Echelon.normNumCertifier E1 #

{u : Lean.Level} → (α : Q(Type u)) → Mathlib.Tactic.Echelon.EntryCertifier α

norm_num's core as an entry certifier.

def Mathlib.Tactic.Echelon.ratModel E1 #

{u : Lean.Level} → (α : Q(Type u)) → Q(CommRing «$α») → Lean.MetaM (Mathlib.Tactic.Echelon.Model α)

The rational model.