[Merged by Bors] - feat: Estimator typeclass and implementation for Levenshtein distance#6119
[Merged by Bors] - feat: Estimator typeclass and implementation for Levenshtein distance#6119
Conversation
…t_distance_estimator
…_distance_estimator_new
| rw [e.distances_eq] at eq | ||
| simp only [List.getElem_eq_get] at eq | ||
| rw [split] at eq |
There was a problem hiding this comment.
What's happening here? Can't you reduce this to a single simp only or at least a simp_rw?
There was a problem hiding this comment.
Unfortunately not: changing the first rw to a simp_rw causes the last rw to error with a "motive not type correct". simp doesn't make any progress when used in place of the last rw.
Ugly, hey? I'm inclined to say this is just unfixable DTT unpleasantness.
| rw [e.distances_eq] at eq | ||
| simp only [List.getElem_eq_get] at eq | ||
| rw [split] at eq |
There was a problem hiding this comment.
Same remark here. I really feels like the simp set isn't good enough.
Co-authored-by: Patrick Massot <patrickmassot@free.fr>
…y/mathlib4 into edit_distance_bounds
|
bors merge |
…#6119) Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Thomas Browning <tb65536@uw.edu> Co-authored-by: Chris Hughes <chrishughes24@gmail.com> Co-authored-by: Oliver Nash <github@olivernash.org> Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr> Co-authored-by: Alex J Best <alex.j.best@gmail.com> Co-authored-by: Xavier Roblot <46200072+xroblot@users.noreply.github.com> Co-authored-by: michaellee94 <michael_lee1@brown.edu>
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Uh oh!
There was an error while loading. Please reload this page.