the answer is to say how do you deny those who say that the prophet knows the unseen through gods definition in the beginning? likewise the one who sees in a dream only knows it through a definition or through the definition of an angel so he does not need anything that you mentioned. there is no evidence for this nor is there any evidence for you regarding the arrival of the sharia through the tablet and the pen for the people of the sharia did not understand this meaning from the tablet and the pen at all. so there is no adherence in the sharia that remains adherence to the paths of reason. and what you mentioned even if its possibility is acknowledged no matter how much it does not stipulate the denial of the end of this information its existence is not known and its existence is not realized. rather the way to do so is to know it from the sharia not from reason.
والجواب أن نقول بم تنكرون على من يقول إن النبي يعرف الغيب بتعريف الله على سبيل الابتداء؟ وكذى من يرى في المنام فإنما يعرفه بتعريف أو بتعريف ملك من الملائكة فلا يحتاج إلى شيء مما ذكرتموه، فلا دليل في هذا ولا دليل لكم في ورود الشرع باللوح والقلم فإن أهل الشرع لم يفهموا من اللوح والقلم هذا المعنى قطعا، فلا متمسك في الشرعيات يبقي التمسك بمسالك العقول. وما ذكرتموه وإن اعترف بإمكانه مهما لم يشترط نفي النهاية عن هذه المعلومات فلا يعرف وجوده ولا يتحقق كونه، وإنما السبيل فيه أن يتعرف من الشرع لا من العقل.