aeneas icon indicating copy to clipboard operation
aeneas copied to clipboard

`progress ... with` require a context hypothesis to proceed in some cases

Open RaitoBezarius opened this issue 1 year ago • 0 comments
trafficstars

In https://github.com/RaitoBezarius/avl-verification/blob/avl/Verification/Rotate.lean#L43-L44, we can see this proof code:

have := AVLNode.update_height_spec a h left_right right
progress keep Hupdate₁ with AVLNode.update_height_spec as ⟨ t_new₁, H₁ ⟩

This is a weird situation because the this hypothesis is necessary (if you remove it, the proof code breaks) even though there's an explicit use of with which should give the specification to use.

RaitoBezarius avatar May 14 '24 12:05 RaitoBezarius