Mathematics is related to Theory. Theory is related to Thought. Thought is related to Activity. 
Painful is related to Burn. Fire can Burn. Fire is related to Cave. Cave can be used for Darkness. 
Mathematics <--RelatedTo--> Theory <--RelatedTo--> Thought <--RelatedTo--> Activity 
Painful <--RelatedTo--> Burn <--CapableOf-- Fire <--RelatedTo--> Cave --UsedFor--> Darkness 