Documentation

Mathlib.Data.Rat.Star

Star ordered ring structures on and ℚ≥0 #

This file shows that and ℚ≥0 are StarOrderedRings. In particular, this means that every nonnegative rational number is a sum of squares.

@[simp]
theorem NNRat.addSubmonoid_closure_range_pow {n : } (hn₀ : n 0) :
@[simp]
theorem Rat.addSubmonoid_closure_range_pow {n : } (hn₀ : n 0) (hn : Even n) :