Documentation

Mathlib.Tactic.NormNum.RealSqrt

norm_num extension for Real.sqrt #

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

Implementation notes #

While the extension for Real.sqrt can handle both integers and rationals, the one for NNReal.sqrt can only deal with integers, due to a limitation of norm_num (i.e. the IsRat type requires a Ring instance).

theorem Tactic.NormNum.isRat_realSqrt_of_isRat_ofNat {x : } {n sn d sd : } (hn : sn * sn = n) (hd : sd * sd = d) (h : Mathlib.Meta.NormNum.IsRat x (Int.ofNat n) d) :

norm_num extension that evaluates the function Real.sqrt.

Instances For

    norm_num extension that evaluates the function NNReal.sqrt.

    Instances For