Replies: 2 comments 3 replies
-
Your function proves for me when I run How are you going about actually doing the proofs? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried splitting the VC and then auto level 0, but I get a timeout in one of the loop invariants preservations This is the mlcfg file https://pastebin.com/U23wJvv5 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to port this implementation of the K-means clustering algorithm to Creusot, but I'm stuck trying to prove the
init_centers
function. I'm trying to specify thatinit_centers
returnsk
vectors of sizen
, I'm only interested in bounds checking and I don't want to model thef32
inside the inner vectors. I have this so far, but I can't prove the invariantA
.It may be related to using
f32
because switching that toi32
makes it verify.Any ideas on how I can verify this function or maybe a different way in which I can write it? Or maybe the specification is all wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions