Here are the thoughts of Abraham concerning his intentions in regard to Isaac:
"By faith Abraham, when he was tried, offered up Isaac: and he that had received the promises offered up his only begotten son, Of whom it was said, That in Isaac shall thy seed be called: Accounting that God was able to raise him up, even from the dead; from whence also he received him in a figure" (Heb.11:17-19).
The LORD certainly knew those thoughts of Abraham and therefore He knew that Abraham would not hestiate to kill Isaac. And knowing those things the LORD certainly knew this is "bold" about Abraham before he took the knife:
"And he said, Lay not thine hand upon the lad, neither do thou any thing unto him: for now I know that thou fearest God, seeing thou hast not withheld thy son, thine only son from me"
(Gen.22:12).
Here is what we know about those who fear the LORD:
"The fear of the LORD is the beginning of wisdom, And the knowledge of the Holy One is understanding" (Prov.9:10).
Of course Abraham feared the LORD because to him the LORD inspired reverence, godly fear, and awe. Therefore, he had a true knowledge of the Holy One and that is the result of fearing Him.
But according to you the LORD really did not even know if Abraham feared the Him until he took the knife in hand. Of course Abraham had reverance, godlyfear, and awe of the LORD before he took the knife in hand because he believed that the LORD would raise up Isaac from the dead if he killed him. Besides that, you would have us believe that the LORD imputed righteous to Abraham at a time before he feared the LORD (Gen.15:5-6).
You say that it is impossible that the LORD knew that Abraham feared Him until he took the knife in his hand! Imagine that! The Lord imputed righteousness to Abraham even before he feared Him:
"For what saith the scripture? Abraham believed God, and it was counted unto him for righteousness" (Ro.4:3).
Unfortunately you are unable to distinguish between things which should be taken literally and things that should not be understood in that sense.