Equations
- Lean.Meta.AbstractNestedProofs.isNonTrivialProof e = do let a ← Lean.Meta.isProof e if (!a) = true then pure false else Lean.Expr.withApp e fun f args => pure (!Lean.Expr.isAtomic f || Array.any args (fun arg => !Lean.Expr.isAtomic arg) 0 (Array.size args))
@[inline]
Equations
- Lean.Meta.abstractNestedProofs mainDeclName e = StateRefT'.run' (Lean.MonadCacheT.run (ReaderT.run (Lean.Meta.AbstractNestedProofs.visit e) { baseName := mainDeclName })) { nextIdx := 1 }