Regularity method and large deviation principles for the Erdős–Rényi hypergraph | Synapse