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

Method test_tuple_constructor_call

tests/test_z3_ported.py:3367–3372  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

3365 assert snd.arity() == 1
3366
3367 def test_tuple_constructor_call(self, kernel):
3368 Pair, mk_pair, [fst, snd] = TupleSort("Pair_t4", [IntSort(), RealSort()])
3369 x = Int("x")
3370 y = Real("y")
3371 p = mk_pair(x, y)
3372 assert isinstance(p, ExprRef)
3373
3374 def test_triple_sort(self, kernel):
3375 Triple, mk, accs = TupleSort("Triple_t5", [IntSort(), RealSort(), BoolSort()])

Callers

nothing calls this directly

Calls 5

TupleSortFunction · 0.90
IntSortFunction · 0.90
RealSortFunction · 0.90
IntFunction · 0.90
RealFunction · 0.90

Tested by

no test coverage detected