leanprover-community / mathport

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

feat: support to_additive in binport, add double #align #209

Closed digama0 closed 1 year ago

digama0 commented 1 year ago

Now binport will apply the @[to_additive] attribute corresponding to lean 3 tagged definitions, which is helpful if you want to use the lean 4 @[to_additive] on top of binported oleans. Synport will use the information to display double #align statements for declarations with the @[to_additive] attribute.