"are mathematics (of which algorythms are a small part) discovered or created ? No one has a clear answer to that question."
I thought it was pretty clear that stuff is discovered. To me this kind of question reads like "Well, does it stop being right at any time once it is discovered?" and the answer is generally no. (A, you sometimes get stuff that was discovered and not properly reported, at which point the original discovery is not at fault and it is just a reporting problem, or B, you get stuff that was *insufficiently* discovered and *over-reported*, causing someone else to re-do parts of the work and end up with something else. But then it's still discovered, at whatever level that year's understanding entails.)
In a way it's a bit silly, you can't just "make up" (create) knowledge, so it has to be there. It can just be ferociously difficult to "correctly" discover, and we might end up with three or thirty versions of the knowledge as we discover it. But once something is really nailed, hard, I can't think of any cases where people said stuff like "Oh, sorry, that law stopped existing in 1932". Every time, when a mistake shows up, it's "Oh, sorry, we didn't discover it right."