-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Description / 説明
Rewrite rules to convert sum / modsum to closed formulae are already implemented.
For example, an expr sum(sorted(map(lambda x: x + 1, xs))) of Python becomes sum(xs) + len(xs).
Implementation:
Rewrite rules for product / modproduct are not fully implemented. We want to complete them.
In concrete, please do followings:
- Rewrite existing rules which are written in a old format (hand-written pattern matches), using a new format (quasi-quotes, like
[r| "sum/range" forall n. sum (range n) = n * (n - 1) /! 2 |]) - Add lacking rewrite rules
Current implementation:
Motivation / 動機
because not implemented yet
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers