(motive : Option (Lean.Elab.ExpandDeclIdResult × Subarray Lean.Elab.ExpandDeclIdResult) → Sort u_1) →
  (x : Option (Lean.Elab.ExpandDeclIdResult × Subarray Lean.Elab.ExpandDeclIdResult)) →
    (Unit → motive none) →
      ((shortDeclName declName : Lean.Name) →
          (levelNames : List Lean.Name) →
            (docString? : Option (Lean.TSyntax `Lean.Parser.Command.docComment × Bool)) →
              (s' : Subarray Lean.Elab.ExpandDeclIdResult) →
                motive
                  (some
                    ({ shortName := shortDeclName, declName := declName, levelNames := levelNames,
                        docString? := docString? },
                      s'))) →
        motive x