{motive : Aesop.ElabRuleTerm → Sort u} →
  (t : Aesop.ElabRuleTerm) →
    ((decl : Lean.Name) → motive (Aesop.ElabRuleTerm.const decl)) →
      ((term : Lean.Term) → (expr : Lean.Expr) → motive (Aesop.ElabRuleTerm.term term expr)) → motive t