Equivalent-crystal theory of metal and semiconductor surfaces and defects | Synapse