(motive : Aesop.IndexMatchLocation → Sort u_1) →
  (x : Aesop.IndexMatchLocation) →
    ((ldecl : Lean.LocalDecl) → motive (Aesop.IndexMatchLocation.hyp ldecl)) →
      ((x : Aesop.IndexMatchLocation) → motive x) → motive x