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

Method test_nat_succ_pos

tests/test_z3_semantic.py:421–423  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

419 assert _try_prove(n >= NatVal(0))
420
421 def test_nat_succ_pos(self, kernel):
422 n = Nat("n")
423 assert _try_prove(n + NatVal(1) > NatVal(0))
424
425
426# ===================================================================

Callers

nothing calls this directly

Calls 3

NatFunction · 0.90
_try_proveFunction · 0.90
NatValFunction · 0.90

Tested by

no test coverage detected