Re: Martyrs
[72:26] "He (alone) knows the Unseen, nor does He make any one acquainted with His Mysteries,
[72:27] "Only to a messenger that He chooses, does He reveal from the past and the future, specific news."
Al-Qur'an
So, even if Ali (R.A) knew something, he was not capable of knowing any event of past or future according to his will. Unless or untill Allah the almighty wanted him to know specific news on purpose.
If Ali (R.A) knew the past and future then what is Allah for?