Sampling-based inference of the primordial CMB and gravitational lensing | Synapse