\documentclass[a4paper,11pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage[perpage,para,symbol]{footmisc}
\usepackage{fancyhdr}
\usepackage{floatrow}
\setlength{\oddsidemargin}{-5mm}
\setlength{\textwidth}{168mm}
\setlength{\topmargin}{-10mm}
\setlength{\headsep}{10mm}
\setlength{\textheight}{240mm}

\renewcommand{\thefootnote}{\alph{footnote}}
\renewcommand\thesection{\sffamily\Alph{section}}
\newcommand\cpp{C\raisebox{1pt}{++}}
\newcommand{\va}{\mathrm{\bf{A}}}
\newcommand{\vb}{\mathrm{\bf{B}}}
\newcommand{\vc}{\mathrm{\bf{c}}}
\newcommand{\vp}{\mathrm{\bf{p}}}
\newcommand{\vr}{\mathrm{\bf{r}}}
\newcommand{\vx}{\mathrm{\bf{x}}}
\newcommand{\mi}{\mathrm{i}}
\newcommand{\Det}{\mathrm{Det}}
\newcommand{\diff}{\mathrm{d}}

\renewcommand\refname{}

\begin{document}

\sffamily

\section*{\sffamily A basis-set error correction based on density-functional theory for strongly correlated molecular systems}

We would like to thank the reviewers for their carefull reading of our manuscript, and we reply in the present document to their remarks and criticisms. 
\subsection*{Comments of reviewer 1 and reply}
\subsubsection*{Comments of reviewer 1}
Reviewer 1 Evaluations:\\
Recommendation: Optional revision\\
New Potential Energy Surface: No\\
Overall Rating (required): Top 5-25\% - significant, novel, and impactful contribution of broad interest \\

The manuscript presents an extension of the density-functional-based basis-set
correction scheme, by some of the current authors, to strongly correlated systems. This
basis-set correction scheme is a beautiful and powerful combination of density-functional
and wave-function theoretical concepts and practices.
All the basis-set corrections are applied to high-quality approximations of FCI
results that are computationally costly. A natural question arises, what would be the
effect of these basis-set corrections if the computational method were of lower quality.
The reader would benefit, if there were at least a discussion of this issue in the
manuscript.
A few very minor remarks:\\
- The reference numbering is not always consecutive\\
- “have be” $\to$ “have been” (in the 4 th sentence of the 3 rd paragraph of IIIC)\\
- In the caption of Fig. 4, the last two sentences are seemingly contradictory.

\subsection*{Reply to reviewer 1}
 


\subsection*{Comments of reviewer 2 and reply}
\subsubsection*{Comments of reviewer 2}

Reviewer 2 Evaluations:\\
Recommendation: Optional revision\\
New Potential Energy Surface: No\\
Overall Rating (required): Top 5 \% - highly significant, novel, and impactful contribution of broad interest\\

This is a very high-quality manuscript, in which a DFT-based correction for finite basis-set errors in wavefunction theory is extended to the case of strongly correlated molecular systems, by looking at molecular dissociation curves. The beauty of the theory behind this DFT basis-set correction is that it can be applied to any wave function method. The authors use their very smart idea (published in previous works) of a suitable mapping of the interaction projected in the finite basis to a long-range only interaction (erf(mu*r)/r), determining the value of the local range separated parameter mu by matching the interaction at r=0.
Here the authors further extend the DFT part of their theory by using explictilyt the on-top (OT) pair density dependence of the short-range functionals of multideterminant range separated DFT to correct the basis set error. They also show that the OT dependence can fully eliminate the spin-polarization dependence.
The idea is very neat and well explained, and the results are excellent. I recommend publication with the minor revisions below.

1) The authors should comment more the results of Table 1 for atomization energies. Although their theory is guaranteed to converge to the exact result for the complete basis set limit, the results of table 1 show that for atomization energies this does not always occur in a monotinic way. There are cases (H$_{10}$ and N$_2$ with the OT functionals, O$_2$ with all the functionals and F$_2$ with augmented basis with all the functionals) in which the results are worse for a quadruple-zeta basis than for triple zeta. Could this be due to the fact that when augmenting the basis the OT pair density from the CASSCF wavefunction does not necessarily improve but might oscillate around the Coulomb cusp creating artefacts in the extrapolated OT? After all the basis sets are optimized on the energy and do not really care about the cusp. Or is the effect due to a different accuracy of the correction for the molecule and the atoms? It would be nice if the authors could say something on that.

2) Appendix A 1: eqs. A3, as discussed by the authors may break down for the case of degenearcy of the isolated fragments. The authors comment that the spin degeneracy can be avoided by considering the functionals without spin polarization and that the spatial degeneracy can be also cured by considering for the fragment the same element of the ensemble as for the suprasystem.
However I still wonder if this is ok. For the spin I agree with the authors, but for the spatial degeneracy I still have some doubts. Could the authors comment at least qualitatively on what would happen for C$_2$ and B$_2$ for example? Is the DFT-based basis set correction going to give the same result for the spherically-averaged C or B atom than for the atoms with the occupied p orbital oritented alsong the bond axis? Or does the DFT-based correction show on this the same problems of standard DFT? 


\subsection*{Reply to reviewer 2}

\begin{itemize}
\item[1]


\item[2]

\end{itemize}

\end{document}
