Deducteam / Dedukti

Implementation of the λΠ-calculus modulo rewriting

Home Page:https://deducteam.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about #REQUIRE

fblanqui opened this issue · comments

#REQUIRE does not seem necessary and can be ignored. What is it for?

Same question for #NAME.

#NAME was deprecated, the time the libraries could be adapted.

#REQUIRE is not necessary but I know some situations where it is necessary.

Assume I have three modules (dk files):

The first one (X.dk)

def A : Type.

B : Type.

def a : A.

b : B.

The second one (Y.dk)

[] X.A --> X.B.

The third one (Z.dk)

[] X.a --> X.b.

The third one is not well-typed. However, if I add #REQUIRE Y. in Z.dk it becomes well-typed.

@fblanqui can this issue be closed? What do you expect to solve it otherwise?