Members
constant
LurchOptions
Lurch Options
We just use a global for storing the current options. This avoids having to
pass it as an optional argument through the entire validation chain of
interpretations and validation tools. To set an option just do e.g.
LurchOptions.avoidLoneMetavars = false
. Current validation options are:
validateall
- if true, validate all inferences. If false, only validate the target.checkPreemies
- Check for preemies iff this is trueprocessBIHs
- process BIHs iff this is trueavoidLoneMetavars
- if true don't try to instantiate lone metavariables, otherwise try to instantiate them with every user proposition.avoidLoneEFAs
- the same thing for lone EFAsprocessEquations
- process equations iff this is trueprocessCases
- process the cases tool iff this is trueautoCases
- similar to avoidLoneMetavars=false. If true, then identify all Cases-like rules and try to instantiate their univar conclusion with every user's conclusion in the document.processCAS
- process CAS tool iff this is trueprocessAlgebra
- use the CAS tool to validate equations followed by 'by algebra' iff this is trueswapTheoremProofPairs
- move theorems after their next sibling if its a proofupdateProgress
- the function that gives progress updates while instantiatingupdateFreq
- how often to give a progress update during a passbadResultMsg
- what the feedback message should be internally to expressions which are not found to be propositionally valid