CakeML / CakeML/cakeml

Better simplification of preconditions for eq_lemmas

Open
#1,275 2 comments 0 reactions 0 assignees View on GitHub
translator
Dominant language
Standard ML
Stars
1.2k
Forks
104
Avg merge
2d 21h
Merged PRs (30d)
16

Description

Looking at the result of eq_lemmas after calling
``val _ = translation_extends "decProg";`` in the front of to_flatProgTheory
it seems some theorems stored have unnecessary T in the implication
```
T ⇒ EqualityType LISP_VALUES_LISP_V_TYPE
```
Another example of preconditions not being simplified.
```
⊢ T ⇒ EqualityType STRING_TYPE ⇒ EqualityType TERM_TYPE,
```
```
T ⇒
EqualityType NUM ⇒
EqualityType STRING_TYPE ⇒
EqualityType TERM_TYPE ⇒
EqualityType (LIST_TYPE (PAIR_TYPE STRING_TYPE TERM_TYPE)) ⇒
EqualityType UPDATE_TYPE
```

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.