Documentation

Lean.Meta.InferType

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.

isPropQuick e is an "approximate" predicate which returns LBool.true if e is a proposition.

isProp whnf e return true if e is a proposition.

 If `e` contains metavariables, it may not be possible
 to decide whether is a proposition or not. We return `false` in this
 case. We considered using `LBool` and retuning `LBool.undef`, but
 we have no applications for it. 
Equations
  • One or more equations did not get rendered due to their size.

isProofQuick e is an "approximate" predicate which returns LBool.true if e is a proof.

Equations
  • One or more equations did not get rendered due to their size.

isTypeQuick e is an "approximate" predicate which returns LBool.true if e is a type.

Equations
  • One or more equations did not get rendered due to their size.

Return true iff e : Sort _ or e : (forall As, Sort _). Remark: it subsumes isType

Equations