leanprover-community / mathport

Mathport is a tool for porting Lean3 projects to Lean4
Apache License 2.0
43 stars 15 forks source link

fix: keep track of pexpr data #226

Closed rwbarton closed 1 year ago

rwbarton commented 1 year ago

When a non-fully-qualified name occurred directly as one of:

mathport did not keep track of the pexpr containing the fully-qualified name, and as a result, would not in general translate it to the aligned Lean 4 version. Fix this by passing along the pexpr data.

digama0 commented 1 year ago

Does this fix #167?