You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LLBC backend: translate a crate's generic items without a proof harness #5050
-Zlean translates what a #[kani::proof] harness reaches. A library with no harness produces no LLBC at all:
pubfnid<T>(x:T) -> T{ x }
kani lib.rs -Zlean writes no .llbc file. To prove a property of generic code for every T, the natural input is the crate's public items, the way charon translates a crate. Today the workaround is a dummy harness that calls each function with some concrete type, which only adds noise (the backend translates the generic body anyway).
The compiler's LLBC interface has a ReachabilityType::PubFns branch, but I haven't found a driver option that selects it together with -Zlean.
Activity