  Results are presented on a search for CP violation in the production and
decay of top quark-antiquark pairs in the lepton+jets channel. The search is
based on data from proton-proton collisions at 13 TeV, collected with the CMS
detector, corresponding to an integrated luminosity of 138 fb$^{-1}$. Possible
CP violation effects are evaluated by measuring uncorrected asymmetries in
observables constructed from linearly independent four-momentum vectors of the
final-state particles. The dimensionless chromoelectric dipole moment of the
top quark obtained from the observed asymmetries is measured to be 0.04 $\pm$
0.10 (stat) $\pm$ 0.07 (syst), and the asymmetries exhibit no evidence for
CP-violating effects, consistent with expectations from the standard model.
