Skip to content
Rainbow docs menu

Reference · Non-negative rationals

rainbow.math.rational.nnrat.unit-fraction

Non-negative rationalssrc/rainbow/math/rational/nnrat/unit_fraction.clj0 definitions, 4 theorems

Explicit positive unit fractions and their proper complements. Kernel-checked and axiom-free on D63. All identities use rational equivalence, not structural equality of raw representatives.

Depends onmath.rational.nnrat.positive

nnrat/unit-fraction-at-most-positive

TheoremFor all inputsNo axiomsSource, line 32

nnrat/unit-fraction-at-most-positive :
  (value : ℚ≥0) (positive : nnrat/positive value)
  → nnrat/make 1 (nnrat/denominator-predecessor value) ≤ value

ℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most

nnrat/unit-fraction-positive

TheoremFor all inputsNo axiomsSource, line 40

nnrat/unit-fraction-positive :
  (dp : ℕ)
  → nnrat/positive (nnrat/make 1 dp)

ℕ = data/Nat

nnrat/unit-fraction-plus-complement

TheoremFor all inputsNo axiomsSource, line 55

nnrat/unit-fraction-plus-complement :
  (dp : ℕ)
  → nnrat/make dp dp + nnrat/make 1 dp = 1

+ = nnrat/add1 = nnrat/one= = nnrat/equivalent: equality of rational valuesℕ = data/Nat

nnrat/unit-fraction-complement-proper

TheoremFor all inputsNo axiomsSource, line 68

nnrat/unit-fraction-complement-proper :
  (dp : ℕ)
  → nnrat/numerator (nnrat/make dp dp) ≤ nnrat/denominator-predecessor (nnrat/make dp dp)

ℕ = data/Nat≤ = nat/at-most