[Merged by Bors] - feat: custom elaborators for TangentSpace and tangentMap(Within)#36155
[Merged by Bors] - feat: custom elaborators for TangentSpace and tangentMap(Within)#36155grunweg wants to merge 16 commits into
Conversation
PR summary 2c951fc10bImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
This pull request has conflicts, please merge |
7e6190d to
ca1ba65
Compare
ocfnash
left a comment
There was a problem hiding this comment.
Modulo ~15 lines of meta code and a question about tests this is all fine.
We'll need to find another reviewer for the meta code though.
ca1ba65 to
3741e4f
Compare
| trying to determine `I` and `J` from the local context. -/ | ||
| scoped elab:max "tangentMap[" s:term "]" ppSpace f:term:arg : term => do | ||
| let es ← Term.elabTerm s none | ||
| let ef ← ensureIsFunction <|← Term.elabTerm f none |
There was a problem hiding this comment.
I think that a better approach than ensureIsFunction <|← Term.elabTerm _ none would be to propagate the expected type in the elaboration, and use elabTermEnsuringType (which should fill in the function coercion).
But that extra complication need not be part of this PR.
There was a problem hiding this comment.
Let's leave that to a follow-up PR: if so, all other elaborators should be changed similarly.
|
Is your plan to add corresponding delaborators in the future? |
Yes - doing this for all elaborators where this is missing is part of @scholzhannah's master's thesis :-) |
|
Ok, thanks! maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by JovanGerb. |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
ocfnash
left a comment
There was a problem hiding this comment.
Thanks, sorry we were so slow here!
bors merge
|
Pull request successfully merged into master. Build succeeded:
|
…nprover-community#36155) And use these to golf the differential geometry files a bit further.
…nprover-community#36155) And use these to golf the differential geometry files a bit further.
…nprover-community#36155) And use these to golf the differential geometry files a bit further.
…nprover-community#36155) And use these to golf the differential geometry files a bit further.
…nprover-community#36155) And use these to golf the differential geometry files a bit further.
And use these to golf the differential geometry files a bit further.