abella icon indicating copy to clipboard operation
abella copied to clipboard

Feature request: allow repetitions of definitions and theorems

Open chaudhuri opened this issue 2 years ago • 1 comments

Currently we do not allow repetitions of Definitions and Theorems. This is causing various issues with the IPFS branch that are not worth getting into here.

Personally, I see no issue with allowing repetitions of definitions and theorems as long as they are identical.

(Issue arose in discussion with @innofarah.)


If we go this way, then one issue to consider is whether we use "identical" to mean "up to lambda-equivalence". For example, are the following two defintions identical?

Definition is_abs : tm -> prop by
  is_abs (abs R).

Definition is_abs : tm -> prop by
  is_abs (abs (x\ R x)).

chaudhuri avatar Jun 23 '22 11:06 chaudhuri

This feature could also obviate #133, perhaps.

chaudhuri avatar Jun 23 '22 11:06 chaudhuri