Sorted Rewriting, Conditional Rewriting, and Logically Constrained Rewriting in the Archive of Formal Proofs