Skip to content

Commit

Permalink
feat(data/sym/basic): add nil coe lemma (#16181)
Browse files Browse the repository at this point in the history
add simple coe lemma for sym.nil
  • Loading branch information
pimotte committed Aug 22, 2022
1 parent bfd2857 commit 0705229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data/sym/basic.lean
Expand Up @@ -71,6 +71,8 @@ The unique element in `sym α 0`.
-/
@[pattern] def nil : sym α 0 := ⟨0, multiset.card_zero⟩

@[simp] lemma coe_nil : (coe (@sym.nil α)) = (0 : multiset α) := rfl

/--
Inserts an element into the term of `sym α n`, increasing the length by one.
-/
Expand Down

0 comments on commit 0705229

Please sign in to comment.