jacopy.prove

jacopy.prove(lhs, rhs, *, prefer=None, registry=None, engine=None, **search_options)

Prove lhs == rhs, optionally choosing among found proofs.

prefer=None (default) uses the deterministic ExpandAndSimplify — fast, single path. Passing prefer="shortest" | "readable" | "elementary" switches to SearchStrategy, which explores alternative rule orders and returns the best proof under the chosen scorer. Extra keyword options are forwarded to SearchStrategy.

Parameters:
Return type:

ProofChain