Premise: Horyuji was actually built decades after Prince Shotoku's death in 622.

Hypothesis: Horuyuji was built right before Prince Shotoku died. 
Relation: contradiction