aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/test_suite
AgeCommit message (Collapse)Author
2020-11-25Using `only printing` and fixing coercion in notationsCyril Cohen
2020-11-23fixing [dup] for Coq 8.12Cyril Cohen
2020-11-11Intro pattern extensions for dup, swap and applyCyril Cohen
2020-10-07Turn class_of records into primitive records and get rid of the xclass idiomKazuhiko Sakaguchi
2020-09-14don't use all.v in output.vEnrico Tassi
2020-09-11fix 8.9, 8.8 and 8.7Enrico Tassi
2020-09-10new attemptEnrico Tassi
2020-09-09default reference file for < 8.12Enrico Tassi
2020-09-07[test suite] infrastructure to test how some statements are printedEnrico Tassi
2020-06-13Add more test cases for higher-order recursive functions in seq.v w.r.t. the ↵Kazuhiko Sakaguchi
guard condition
2020-04-10adding guard conditions check to the test_suiteCyril Cohen
2020-04-06Rewriting with AC (not modulo AC), using a small scale command.Cyril Cohen
This replaces opA, opC, opAC, opCA, ... and any combinations of them - Right now the rewrite relies on an rather efficient computation of perm_eq using a "spaghetti sort" in O(n log n) - Wrongly formed AC statements send error messages showing the discrepancy between LHS and RHS patterns. Usage : rewrite [pattern](AC operator pattern-shape re-ordering) rewrite [pattern](ACl operator re-ordering) - pattern is optional, as usual, - operator must have a canonical Monoid.com_law structure (additions, multiplications, conjunction and disjunction do) - pattern-shape is expressed using the syntax p := n | p * p' where "*" is purely formal and n > 0 is number of left associated symbols examples of pattern shapes: + 4 represents (n * m * p * q) + (1*2) represents (n * (m * p)) - re-ordering is expressed using the syntax s := n | s * s' where "*" is purely formal and n is the position in the LHS If the ACl variant is used, the pattern-shape defaults to the pattern fully associated to the left i.e. n i.e (x * y * ...) Examples of re-orderings: - ACl op ((0*1)*2) is the identity (and should fail to rewrite) - opAC == ACl op ((0*2)*1) == AC op 3 ((0*2)*1) - opCA == AC op (2*1) (0*1*2) - rewrite opCA -opA == rewrite (ACl op (0*(2*1)) - opACA == AC (2*2) ((0*2)*(1*3))
2019-04-30Reimplement the hierarchy related tools in OCamlKazuhiko Sakaguchi
The functionalities of the structure hierarchy related tools `hierarchy-diagram` and `hierarchy_test.py` are provided by an OCaml script `hierarchy.ml`. `test_suite/hierarchy_test.v` is deleted. Now make can generate it.
2019-04-08New test cases generation: corrent implementation of least common childrenKazuhiko Sakaguchi
Add a new option `-raw-inheritances` to `hierarchy-diagram` to generate an intermediate file for `hierarchy_test.py`. So the typical usage is: $ python3.5 etc/utils/hierarchy_test.py \ <(etc/utils/hierarchy-diagram -raw-inheritances -R mathcomp mathcomp) \ > mathcomp/test_suite/hierarchy_test.v
2019-04-04no output on success in test_suite/hierarchy_test.v (#323)Cyril Cohen
2019-04-03rename test-suite -> test_suite to make coq happyEnrico Tassi