Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-08-03 06:38 997fa572

View on Github →

refactor(set_theory/game/nim): remove nim namespace (#15366) A lot of theorems that already had nim in the name were also in the pgame.nim namespace. We remove the nim namespace entirely, and rename the few theorems that didn't have nim in the name:

  • non_zero_first_winsnim_fuzzy_zero_of_ne_zero
  • add_equiv_zero_iff_eqnim_add_equiv_zero_iff
  • add_fuzzy_zero_iff_nenim_add_fuzzy_zero_iff
  • equiv_iff_eqnim_equiv_iff_eq
  • grundy_valuenim_grundy_value Further, we move nim itself into the pgame namespace.

Estimated changes

added theorem pgame.left_moves_nim
added theorem pgame.move_left_nim'
added theorem pgame.move_left_nim
added theorem pgame.move_right_nim'
added theorem pgame.move_right_nim
added theorem pgame.neg_nim
deleted theorem pgame.nim.equiv_iff_eq
deleted theorem pgame.nim.grundy_value
deleted theorem pgame.nim.left_moves_nim
deleted theorem pgame.nim.move_left_nim'
deleted theorem pgame.nim.move_left_nim
deleted theorem pgame.nim.move_right_nim'
deleted theorem pgame.nim.move_right_nim
deleted theorem pgame.nim.neg_nim
deleted theorem pgame.nim.nim_birthday
deleted theorem pgame.nim.nim_def
deleted theorem pgame.nim.nim_one_equiv
deleted theorem pgame.nim.nim_zero_equiv
deleted theorem pgame.nim.right_moves_nim
added theorem pgame.nim_birthday
added theorem pgame.nim_def
added theorem pgame.nim_equiv_iff_eq
added theorem pgame.nim_grundy_value
added theorem pgame.nim_one_equiv
added theorem pgame.nim_zero_equiv
added theorem pgame.right_moves_nim