(motive : Lean.Meta.Origin → Sort u_1) →
  (thmId : Lean.Meta.Origin) →
    ((declName : Lean.Name) →
        (post : optParam Bool true) → (inv : optParam Bool false) → motive (Lean.Meta.Origin.decl declName post inv)) →
      ((x : Lean.Meta.Origin) → motive x) → motive thmId