Commit 2021-01-04 23:56 12921e9e
View on Github →feat(tactic/simps): some improvements (#5541)
@[simps]would previously fail if the definition is not a constructor application (with the suggestion to add option{rhs_md := semireducible}and maybesimp_rhs := tt). Now it automatically adds{rhs_md := semireducible, simp_rhs := tt}whenever it reaches this situation.- Remove all (now) unnecessary occurrences of
{rhs_md := semireducible}from the library. There are still a couple left where thesimp_rhs := ttis undesirable. @[simps {simp_rhs := tt}]now also appliesdsimp, simpto the right-hand side of the lemmas it generates.- Add some
@[simps]incategory_theory/limits/cones.lean @[simps]would not recursively apply projections ofprodorpprod. This is now customizable with thenot_recursiveoption.- Add an option
trace.simps.debugwith some debugging information.