(motive : Option Lean.DeclarationLocation → Sort u_1) →
  (x : Option Lean.DeclarationLocation) →
    ((loc : Lean.DeclarationLocation) → motive (some loc)) →
      ((x : Option Lean.DeclarationLocation) → motive x) → motive x