Skip to content

Commit

Permalink
fix(algebra/group): fix bit0_zero to use (0 : alpha) not (0 : nat)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHughes24 authored and johoelzl committed Sep 15, 2018
1 parent 39bab47 commit 04c4abf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions algebra/group.lean
Expand Up @@ -499,8 +499,9 @@ instance [add_comm_group α] : comm_group (multiplicative α) :=
section add_monoid
variables [add_monoid α] {a b c : α}

@[simp] lemma bit0_zero : bit0 0 = 0 := add_zero _
@[simp] lemma bit1_zero : bit1 0 = 1 := add_zero _
@[simp] lemma bit0_zero : bit0 (0 : α) = 0 := add_zero _
@[simp] lemma bit1_zero [has_one α] : bit1 (0 : α) = 1 := by simp [bit1]

end add_monoid

section add_group
Expand Down

0 comments on commit 04c4abf

Please sign in to comment.