Premise: On the left is the Byzantine church of Haghia Eirene (Divine Peace), rebuilt together with Haghia Sophia after being burnt down in 532 (closed to the public).

Hypothesis: The Haghia Eirene was built before the Haghia Sophia.  
Relation: neutral