Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial theory instantiation #66

Open
disteph opened this issue Nov 18, 2019 · 0 comments
Open

Partial theory instantiation #66

disteph opened this issue Nov 18, 2019 · 0 comments

Comments

@disteph
Copy link
Contributor

disteph commented Nov 18, 2019

Just to record it on github:

a: theory
begin

  t : type
  t2 : type
  
  interface : [ t -> setof[t2]]

end a

b: theory
begin

  t2 : type = { v1, v2 }

  importing a{{ t2     := t2,
                interface   := lambda (R : t) : lambda (i : t2) : true }}
  
end b

is supposed to type-check, unless I'm mistaken, even though t is not instantiated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant