Theorems · Theorem · commutative algebra
CharTwo.natCast_eq_ite
∀ {R : Type u_1} [inst : AddMonoidWithOne R] [CharP R 2] (n : ℕ), ↑n = if Even n then 0 else 1- Defined in
- Mathlib.Algebra.CharP.Two
- Cited by
- 3 results in Mathlib
- Foundations
- Depth 70 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- AddMonoidWithOneCharP
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.cast_oneproof · cited by 2,501
- zero_addproof · cited by 2,366
- Nat.cast_zeroproof · cited by 1,870
- Nat.cast_addproof · cited by 586
- CharPstatement and proof · cited by 478
- Evenstatement and proof · cited by 444
- AddMonoidWithOnestatement and proof · cited by 313
- one_add_one_eq_twoproof · cited by 65
- CharTwo.two_eq_zeroproof · cited by 2
Cited by3
Results whose statement or proof uses this declaration.
- CharTwo.intCast_eq_iteproof · cited by 2
- CharTwo.natCast_eq_modproof · cited by 1
- CharTwo.range_natCastproof · cited by 1