The%\textit{%#<i>#setoid#</i>#%}%facilitymakesitpossibletoregisternewequivalencerelationstobeunderstoodbytacticslike[rewrite].Forinstance,[Prop]isregisteredasasetoidwiththeequivalencerelation%``%#"#if and only if.#"#%''%Theabilitytoregisternewsetoidscanbeveryusefulinproofsofakindcommoninmath,whereallreasoningisdoneafter%``%#"#modding out by a relation.#"#%''%*)
(**Thereareafewwaysinwhich[autorewrite]canleadtotroublewheninsufficientcareistakeninchoosinghints.First,thesetofhintsmaydefineanonterminatingrewritesystem,inwhichcaseinvocationsto[autorewrite]maynotterminate.Second,wemayaddhintsthat%``%#"#lead [autorewrite] down the wrong path.#"#%''%Forinstance:*)