QuantumInfo.ForMathlib.Tactic.Commutes
2 declarations
definition
The `commutes` tactic for proving
#commutesTacThe tactic `commutes` is designed to automatically discharge goals involving the `Commute` proposition, , for elements in a ring or algebra. It utilizes `aesop` to perform structural recursion on the expressions and applies basic normalization of ring operations to establish if two elements commute.
definition
The `commutes?` tactic for generating proof scripts of commutativity goals
#commutesTac?The tactic `commutes?` is a variant of the `commutes` tactic used to discharge goals involving the `Commute` relation (). Unlike the standard version, this variant generates and suggests a proof script that the user can use to replace the tactic call.
