Have you tried dafny, which seems roughly comparable for your purposes? I heard some buzz about it a little while ago but I haven't been following this space closely.
Dafny and F*, which competes directly with Lean but is more guided towards SWE, are definitely worthy of consideration.
Dafny and F*, which competes directly with Lean but is more guided towards SWE, are definitely worthy of consideration.