[IL Semantics] Meta-theory in rocq#222
Conversation
|
@rossberg Had a question on the reduction rules. For a reduction rule as such: What is The same question extends to |
|
Oops, yeah, seems like I forgot to add the actual rules. Perhaps because they are boring: they should simply be the contextual rules for reducing inner expressions, such as indices in Step_path. (Anything beyond that that you think should happen in Step_iter and Step_exppull?) Maybe there would be a warning when a relation has no rules. :) |
Ah alright, yeah I don't really see anything other than contextual rules either at the moment. At least for translating to rocq, relations with no rules doesn't really pose a problem :) but it would be nice to at least warn the user as a sanity check. |
|
Pushed a fix. |
|
@rossberg Had a question about Take this reduction rule: What is the relation between And also what are we trying to achieve with this rule? Is it that, for each field in the |
|
@DCupello1, this is supposed to say that for every field at' in tf_2* (the super-type) there exists a field at' in tf_1* (the sub-type). We can then reduce a coercion over structure types to pointwise coercions over the (super-type's) fields. But it looks like I screwed up gathering the e's. I suppose it should rather be Does that make more sense? Thanks for catching! |
|
Yes it does make more sense, thank you! |
|
Fixed upstream. |
This pull request is for tracking what is done on the IL meta-theory, while also keeping track of discussions on the subject in matter.
TODO: