Documentation

Seymour.Basic.SignTypeCast

SignType and its images #

This file provides lemmas about SignType.cast.range (that is, {0, ±1} in various types) that are not present in Mathlib.

@[simp]
theorem SignType.cast_ne_one_add_one {R : Type} [Ring R] [CharZero R] (s : SignType) :
s 1 + 1
@[simp]
theorem SignType.cast_ne_neg_one_sub_one {R : Type} [Ring R] [CharZero R] (s : SignType) :
s -1 - 1
@[simp]
theorem SignType.cast_ne_neg_one_add_neg_one {R : Type} [Ring R] [CharZero R] (s : SignType) :
s -1 + -1
theorem neg_in_signTypeCastRange {R : Type} [NonAssocRing R] {a : R} (ha : a SignType.cast.range) :
theorem inv_eq_self_of_in_signTypeCastRange {R : Type} [DivisionRing R] {a : R} (ha : a SignType.cast.range) :
1 / a = a
theorem neg_one_pow_mul_in_signTypeCastRange {R : Type} [Ring R] {a : R} (ha : a SignType.cast.range) (k : ) :
(-1) ^ k * a SignType.cast.range