Calc
FreshVar()
FreshVars()
Inductive()
Lemma()
NewType()
PTheorem()
Proof
QExists()
QForAll()
QImplies()
Struct()
Theorem()
axiom()
cond()
define()
prove()
search()
simp()
Env
binder()
binders()
expr()
inductive()
lean()
parse()
pattern()
quant()
sort()
start()
theorem()
Parse a theorem.
>>> tree = lark.Lark(grammar, start="theorem", parser="lalr", cache=True).parse("theorem add1_nonneg : forall x : Int, x >= x - 1 := grind") >>> theorem(tree, Env(locals={}, globals={})) |= ForAll(x, x >= x - 1)
tree (Tree)
env (Env)