Breishis
- And God called the light day, and the darkness He called night, and it was evening and it was morning, one day.
ה. וַיִּקְרָא אֱלֹהִים | לָאוֹר יוֹם וְלַחשֶׁךְ קָרָא לָיְלָה וַיְהִי
עֶרֶב וַיְהִי בֹקֶר יוֹם אֶחָד:
- And God called the expanse Heaven, and it was evening, and it was morning, a second day.
ח. וַיִּקְרָא אֱלֹהִים לָרָקִיעַ שָׁמָיִם וַיְהִי עֶרֶב וַיְהִי בֹקֶר
יוֹם שֵׁנִי:
I discuss some of the logical reasoning in Breishis - Creationism and Evolutionism
Logically, we can consider Creation in a way like building a computer program from modules. Each "day" is a different module turned on and off for the unit testing. This is why the first time, when time is created, is יום אחד (one day) and the following days are of the form "a second day". It is only on "the sixth day" and the finish (ויכולו) that the actual execution begins. As a result, nothing before the beginning of man and civilization (Adam) needs to be mentioned.
The fact is that with the initial creation of space and time, a day was created. Once that was done and a second dark/light cycle created, it was a second day. Something that somewhat duplicated the existence of a cycle a second, third, fourth, and fifth time. It was only with the creation of "the sixth day" that the universe reached the point of being able to continue "according to the laws of nature" and had enough parts in existence to be able to continue to exist. However, it was only with the creation of "rest" that the "program" actually began running.
Note that the third day was the "plant module" and the fourth day was the "sun moon and stars module". This implies that the light of the stars was created reaching the Earth no matter how far away the stars were. These "modules" could not run independantly.
Note that this also answers how vegetation could be created "before" the sun. It also answers why dinosaurs do not have to be mentioned. Just as trees were created with rings (showing an "age"), the stars were created already visible from Earth, dead trees were created to allow mushrooms to grow, etc. Thus, fossils would logically be created as part of the Earth. The sixth day just says that Hashem created all the land animals as they were found when Adam was introduced to the world.