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

Method test_sqrt

tests/test_z3_ported.py:2445–2448  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2443 assert isinstance(result, BoolRef)
2444
2445 def test_sqrt(self):
2446 x = Real("x")
2447 result = Sqrt(x)
2448 assert is_real(result)
2449
2450 def test_sqrt_is_power(self):
2451 x = Real("x")

Callers

nothing calls this directly

Calls 3

RealFunction · 0.90
SqrtFunction · 0.90
is_realFunction · 0.90

Tested by

no test coverage detected