There were history textbooks left lying around, like scattered treasure.
The history books were scattered around like treasure. 
mnli hypothesis: The history books were scattered around like treasure.  premise: There were history textbooks left lying around, like scattered treasure.