Zulip Chat Archive

Stream: Program verification

Topic: hax into lean


Oliver Butterley (Sep 26 2025 at 08:39):

Sometimes the names of extracted functions in lean contain Impl_7 and similar although this wasn't present in the source code. Where does this come from? @Clément Blaudeau

Clément Blaudeau (Sep 26 2025 at 09:18):

Those are disambiguators for otherwise "anonymous" implementations, as one can have several implementations attached to the same type :

struct S {}

impl S {
    fn f1 () {}
}

impl S {
    fn f2 () {}
}

Oliver Butterley (Sep 26 2025 at 09:32):

Thanks for the clarification


Last updated: Dec 20 2025 at 21:32 UTC