A Rocq Formalization of Monomial and Graded Orders
By: Sylvie Boldo , François Clément , Vincent Martin and more
Potential Business Impact:
Makes math software understand complex math rules.
Even if binary relations and orders are a common formalization topic, we need to formalize specific orders (namely monomial and graded) in the process of formalizing in Rocq the finite element method. This article is therefore definitions, operators, and proofs of properties about relations and orders, thus providing a comprehensive Rocq library. We especially focus on monomial orders, that are total orders compatible with the monoid operation. More than its definition and proved properties, we define several of them, among them the lexicographic and grevlex orders. For the sake of genericity, we formalize the grading of an order, a high-level operator that transforms a binary relation into another one, and we prove that grading an order preserves many of its properties, such as the monomial order property. This leads us to the definition and properties of four different graded orders, with very factorized proofs. We therefore provide a comprehensive and user-friendly library in Rocq about orders, including monomial and graded orders, that contains more than 700 lemmas.
Similar Papers
Graded Monads in the Semantics of Nominal Automata
Logic in Computer Science
Makes computer programs run faster and easier.
Monadic Second-Order Logic of Permutations
Combinatorics
Helps computers understand patterns in ordered lists.
A General (Uniform) Relational Semantics for Sentential Logics
Logic in Computer Science
Makes many different logic systems work the same.