unfortunately , hegel then went on to argue that this dialectical logic should be applied to the advancement of all knowledge , including science and history , where his views were to provide a foundation for the political and social philosophy later developed by karl marx .