input-output-hk / input-output-hk/Lean-blaster

Test cases for Hypothesis simplification rules for Implication

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
area: optimizer area: tests
Dominant language
Lean
Stars
57
Forks
11
Avg merge
1d 5h
Merged PRs (30d)
10

Description

We need to consider the following rules when writing the test cases (references sc-fvt#288):
- transitive for first rule
- case when forall is mixed with ite/dite
- case when h is in e2 to ensure that rule is not wrongly applied
- case when we have same expression in different context
- (a -> b) /\ (a -> c /\ (a -> b)) ===> reduce to (a -> b) /\ (a -> c /\ b)
- case when have same implication in both hyp and conclusion
(a -> b) -> c -> (a -> b) ===> True

---
**Transferred from:** input-output-hk/sc-fvt#349

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.