{P : Sort u} →
  {id method : String} →
    {registerOptions : Option Lean.Json} →
      {id' method' : String} →
        {registerOptions' : Option Lean.Json} →
          { id := id, method := method, registerOptions := registerOptions } =
              { id := id', method := method', registerOptions := registerOptions' } →
            (id = id' → method = method' → registerOptions = registerOptions' → P) → P