"""Build the basic Scalar profile and give a session symbol its default finiteness assumption."""
from judgment import Budget, ProfileLevel, build_scalar, default_context, session


def main():
    budget = Budget(10_000_000)
    profile = build_scalar(budget, ProfileLevel.FOUNDATION)
    assert not profile.has_literal_kind()
    s = session(profile, ["x"], work=1_000_000)
    _ = default_context(s)
    assert len(profile.definitions()) == 8
    assert len(profile.theorems()) == 8
    print("Foundation: 8 definitions, 8 proofs, 1 finite session symbol")


main()
