Documentation

Mathlib.Tactic.Linarith.NNRealPreprocessor

NNReal linarith preprocessing #

This file contains a linarith preprocessor for converting (in)equalities in ℝ≥0 to .

By overriding the behaviour of the placeholder preprocessor nnrealToReal (which does nothing unless this file is imported) linarith can still be used without importing NNReal.

isNNRealProp tp is true iff tp is an inequality or equality between nonnegative real numbers or the negation thereof.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    If e is of the form ((x : ℝ≥0) : ℝ), NNReal.toReal e returns x.

    Equations
    Instances For

      getNNRealComparisons e returns a list of all subexpressions of e of the form (x : ℝ).

      If e : ℝ≥0, returns a proof of 0 ≤ (e : ℝ).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For