MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / verify

Function verify

examples/06_effectful_verifier/python/main.py:31–39  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

29
30
31def verify(fn):
32 all_ok = True
33 for msg, ok in verify_function(fn, lib, kernel):
34 if not ok:
35 print(f" REJECTED: {msg}")
36 all_ok = False
37 else:
38 print(f" VERIFIED: {msg}")
39 return all_ok
40
41
42# ---------------------------------------------------------------------------

Callers 1

main.pyFile · 0.85

Calls 1

verify_functionFunction · 0.90

Tested by

no test coverage detected