import proveit
from proveit import a, b, c, i
from proveit.core_expr_types.tuples import tuple_len_incr
from proveit.numbers.numerals.decimals import tuple_len_2, add_2_1
theory = proveit.Theory() # the theorem's theory
%proving tuple_len_3
two_spec = tuple_len_2.instantiate({a:a}, auto_simplify=False)
tuple_spec = tuple_len_incr.instantiate(
{i: two_spec.rhs, a: two_spec.lhs.operands, b: c})
%qed