(motive : Option (Lean.Lsp.LeanQueriedModule × Subarray Lean.Lsp.LeanQueriedModule) → Sort u_1) →
  (x : Option (Lean.Lsp.LeanQueriedModule × Subarray Lean.Lsp.LeanQueriedModule)) →
    (Unit → motive none) →
      ((result : Lean.Lsp.LeanQueriedModule) →
          (s' : Subarray Lean.Lsp.LeanQueriedModule) → motive (some (result, s'))) →
        motive x