User command to register simp attributes #
In this file we define a command mk_simp_attribute that can be used to register simp sets. We
also define all simp attributes that are used in the library and tag lemmas from Lean core with
these attributes.
User command #
The command mk_simp_attribute simp_name "description" creates a simp set with name simp_name.
Lemmas tagged with @[simp_name] will be included when simp with simp_name is called.
mk_simp_attribute simp_name none will use a default description.
Appending the command with with attr1 attr2 ... will include all declarations tagged with
attr1, attr2, ... in the new simp set.
This command is preferred to using run_cmd mk_simp_attr `simp_name since it adds a doc string
to the attribute that is defined. If you need to create a simp set in a file where this command is
not available, you should use
run_cmd mk_simp_attr `simp_name
run_cmd add_doc_string `simp_attr.simp_name "Description of the simp set here"