Self-consistent theory of mobility edges in quasiperiodic chains | Synapse