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.NormNum.RealSqrt

8 declarations. Mathlib docs · Source

norm_num extension for Real.sqrt

This module defines a norm_num extension for Real.sqrt and NNReal.sqrt.

theorem Mathlib.Meta.NormNum.isNat_realSqrt E1 #

∀ {x : ℝ} {nx ny : ℕ}, Mathlib.Meta.NormNum.IsNat x nx → ny * ny = nx → Mathlib.Meta.NormNum.IsNat (√x) ny

theorem Mathlib.Meta.NormNum.isNat_nnrealSqrt E1 #

∀ {x : NNReal} {nx ny : ℕ},
  Mathlib.Meta.NormNum.IsNat x nx → ny * ny = nx → Mathlib.Meta.NormNum.IsNat (NNReal.sqrt x) ny

theorem Mathlib.Meta.NormNum.isNNRat_nnrealSqrt_of_isNNRat E1 #

∀ {x : NNReal} {n sn d sd : ℕ},
  sn * sn = n → sd * sd = d → Mathlib.Meta.NormNum.IsNNRat x n d → Mathlib.Meta.NormNum.IsNNRat (NNReal.sqrt x) sn sd

theorem Mathlib.Meta.NormNum.isNat_realSqrt_neg E1 #

∀ {x : ℝ} {nx : ℕ}, Mathlib.Meta.NormNum.IsInt x (Int.negOfNat nx) → Mathlib.Meta.NormNum.IsNat (√x) 0

theorem Mathlib.Meta.NormNum.isNat_realSqrt_of_isRat_negOfNat E1 #

∀ {x : ℝ} {num denom : ℕ}, Mathlib.Meta.NormNum.IsRat x (Int.negOfNat num) denom → Mathlib.Meta.NormNum.IsNat (√x) 0

theorem Mathlib.Meta.NormNum.isNNRat_realSqrt_of_isNNRat E1 #

∀ {x : ℝ} {n sn d sd : ℕ},
  sn * sn = n → sd * sd = d → Mathlib.Meta.NormNum.IsNNRat x n d → Mathlib.Meta.NormNum.IsNNRat (√x) sn sd

def Mathlib.Meta.NormNum.evalRealSqrt E1 #

Mathlib.Meta.NormNum.NormNumExt

norm_num extension that evaluates the function Real.sqrt.

def Mathlib.Meta.NormNum.evalNNRealSqrt E1 #

Mathlib.Meta.NormNum.NormNumExt

norm_num extension that evaluates the function NNReal.sqrt.