Hey now, that is NOT cool! Ayla is Lucca-brand genius in Caveman terms! She understands alot more than people give her credit for.
Actually, I'd wager she's every bit as smart as, say, Marle or Crono or Glenn. The problem is twofold. Firstly, she does not have the capacity to correctly explain what she knows. Secondly, though she has the capacity to understand abstract things and the like, maybe even advanced mathematics, she doesn't have the background, having never been taught it. Few people are as smart as Aristotle was, yet I know more about science than he did. That does not mean I'm more intelligent, only that I've had more teaching and background. Likewise Ayla. Had she been raised in 1000AD, she would have been normal, at least, even as Lucca, in prehistoric times, would have barely surpassed Ayla.