{motive : Lean.Elab.Term.Quotation.HeadInfo → Sort u} →
  (t : Lean.Elab.Term.Quotation.HeadInfo) →
    ((check : Lean.Elab.Term.Quotation.HeadCheck) →
        (onMatch : Lean.Elab.Term.Quotation.HeadCheck → Lean.Elab.Term.Quotation.MatchResult) →
          (doMatch :
              (List Lean.Term → Lean.Elab.TermElabM Lean.Term) →
                Lean.Elab.TermElabM Lean.Term → Lean.Elab.TermElabM Lean.Term) →
            motive { check := check, onMatch := onMatch, doMatch := doMatch }) →
      motive t