Logic a result of math or math a result of logic?

No.14358711 ViewReplyOriginalReport
Or are they both initially independently existing but then largely entangled?
I suppose I define math as the irreducible ideas of "numbers, space, counting, order, etc."
But like what exactly is logic even?
I suppose logic is like reasoning with truth.