Commit Graph

2 Commits

Author SHA1 Message Date
Japheth Lim da6ccf7a8e lib: update qualified imports for LibTest theories 2018-10-03 19:48:38 +10:00
Thomas Sewell 26df0c04dd lib: Replace subseq->match abbreviation.
The subseq_abbreviation mechanism was a useful way of quoting some of a
definition or term, specialised to the case of left-associated sequences.

Lambda abstractions are now handled better.

The previous subseq mechanism required some generalisations. It is now replaced
by match_abbreviation, which is a more general approach.

The match mechanism picks a term, can select a matching subterm, and can
rewrite the selected term based on pattern matching also. The new mechanism
can cover all the cases of the previous one, as shown in examples.
2018-05-10 15:00:22 +10:00