Malonaldehyde-like Systems: BeF 2 Clusters—A Subtle Balance between Hydrogen Bonds, Beryllium Bonds, and Resonance

: The stability of malonaldehyde is governed by intramolecular hydrogen bonds (IMHBs) as well as in malonaldehyde-like systems where oxygen is replaced by N or S at any of the basic sites. As beryllium bonds have been shown to strongly cooperate with hydrogen bonds, this work explores at the high level ab initio G4 level of theory the effect of including this non-covalent interaction in the system through its association with BeF 2 . Although malonaldehyde follows the expected trends, where the formation of a pseudocyclic form is favored also when IMHB and Be bonds are present, the subtle balance between both non-covalent interactions leads to some surprising results when other heteroatoms are involved, to the point that interaction energies can be much larger than expected or even cyclization is not favored. A complete analysis using different computational tools gives an answer to those cases escaping the predictable trends.


Introduction
Non-covalent interactions play a fundamental role in practically all realms of chemistry. Johannes Diderik van der Waals was the first scientist that at the end of the 19th century, concluded that the peculiar behavior of real gases, which did not follow strictly the ideal gases laws, was actually due to the existence of attracting forces between the molecules that made up the gas, that later on would be named van der Waals forces in his honor [1]. Since then, the interest in this new type of forces has been growing and growing. A second milestone in this field was the characterization of hydrogen bonds, a new and specific non-covalent interaction responsible, for instance, for the liquid state of water at room temperature. In the words of Linus Pauling in 1935 [2], "It has been recognized since the discovering of the hydrogen bond [3] that the natural properties of water and ice ( . . . ) owe their existence to hydrogen bonds between water molecules". It would be Linus Pauling himself who would show, for the first time, that hydrogen bonds were also responsible for the helical structure of proteins [4]. One century after the van der Waals PhD thesis, the fundamental role of different non-covalent interactions was evident in an impressive number of phenomena in the realm of chemistry [5][6][7][8], physics [9], catalysis [10][11][12][13][14], biochemistry [15][16][17][18][19], and material sciences [20][21][22][23].
One of the most interesting signs of identity of non-covalent interactions is cooperativity [51,52]. For instance, this phenomenon is responsible for the cyclic structure of the water ativity [51,52]. For instance, this phenomenon is responsible for the cyclic structure of the water trimer [53], where all three hydrogen bonds are stronger than in the water dimer. Similar cooperative effects are also characteristic of methanol, water, and formaldehyde clusters [54] and are again observed between halogen bonds stabilizing long linear chains [55].
However, cooperativity can enhance other weak interactions [56] by favoring the interplay between non-covalent interactions of different nature, such as hydrogen and halogen bonds [57][58][59], hydrogen, halogen, and beryllium bonds [46], hydrogen and tetrel bonds [60], hydrogen and tetrel bonds modulated by magnesium bonds [61], tetrel and beryllium bonds [62], halogen, chalcogen, and pnicogen bonds [63], pnicogen and beryllium bonds [64], halogen and beryllium bonds [45], or chalcogen and alkaline-earth bonds [41]. Although the cooperativity between beryllium bonds and intermolecular hydrogen bonds has been investigated [65], the interplay between beryllium bonds and intramolecular hydrogen bonds is still an open question, where unavoidably, the electron density redistribution associated with both non-covalent interactions occur in just the molecule exhibiting the intramolecular hydrogen bond (IMHB). A paradigmatic case of IMHB is malonaldehyde, in which the formation of the hydrogen bond has been identified with a resonance assisted phenomenon [66]. For this reason, we selected malonaldehyde and malonaldehyde-like systems (Scheme 1a) interacting with BeF2 (Scheme 1b-d) to investigate the electron density redistribution and cooperativity between IMHB and Be bonds. The IMHB might be formed as in the isolated malonaldehyde-like system (six-membered ring, Scheme 1b,c) or mediated by one F atom of the BeF2 molecule (eight-membered ring, Scheme 1d). In structures Scheme 1b,c, the beryllium bond is formed between the lone pairs of one of the heteroatoms, acting as a Lewis base, and the beryllium atom, acting as a Lewis acid, resulting in two possible binding sites per molecule. Therefore, our survey allows covering IMHBs and beryllium bonds of different strength.

Computational Details
A correct description of non-covalent interactions usually requires employing high-level ab initio methods because the corresponding binding energies are much smaller than those of conventional chemical bonds, and therefore, the errors in obtaining them should be reduced as much as possible. Although Be bonds are usually stronger than other non-covalent interactions [43,44], they are still weaker than most of the conventional chemical bonds, and therefore, the use of high-level ab initio calculations is still advisable. On top of that, the adequate description of the bonding in Be bonds requires a correct treatment of the electron correlation effects [43,44]. Hence, for all these reasons, Scheme 1. Malonaldehyde and malonaldehyde-like derivatives are compared to the same systems upon interaction with BeF 2 in different X or Y binding sites.

Computational Details
A correct description of non-covalent interactions usually requires employing highlevel ab initio methods because the corresponding binding energies are much smaller than those of conventional chemical bonds, and therefore, the errors in obtaining them should be reduced as much as possible. Although Be bonds are usually stronger than other non-covalent interactions [43,44], they are still weaker than most of the conventional chemical bonds, and therefore, the use of high-level ab initio calculations is still advisable. On top of that, the adequate description of the bonding in Be bonds requires a correct treatment of the electron correlation effects [43,44]. Hence, for all these reasons, we have decided to use in our survey the high-level ab initio Gaussian-4 (G4) theory [67]. The G4 theory is a composite method based on the combination of energy components obtained at MP2, MP4 [68,69], and CCSD(T) [70] levels of theory, and a final correction to the Sci 2022, 4, 7 3 of 16 Hartree-Fock limit. The final energies will be very close to the ones obtained if a formal CCSD(T,full)/G3LargeXP calculation is employed. In this composite method, the equilibrium structures are optimized at the B3LYP/6-31G(2df,p) level. The same level is used to calculate the harmonic frequencies and the different terms to obtain from the G4 final energies the enthalpies and free energies. In general, the G4 thermochemistry magnitudes have an average absolute deviation from the experiment of 3.47 KJ·mol −1 [67]. For some specific cases, we carried out IRC (intrinsic reaction coordinate) additional calculations to better characterize the typical proton transfer in malonaldehyde-like systems connecting two minima. The potential energy curves obtained by this method were obtained at the B3LYP/6-31G(2df,p) level of theory.
To understand the factors behind the stability of the aggregates investigated, a good analysis of the changes in the electron density distribution of the malonaldehyde-like system is required, because these density redistributions may be crucial to understand the stability of the complex. This analysis is rather complete if three different, but at the same time, complementary approaches are used, namely the Quantum Theory of Atoms in Molecules (QTAIM) [71], the natural bond orbital (NBO) analysis [72], and the electron density shifts (EDS) [73]. The QTAIM method is based on an analysis of the topology of the electron density of the system through the location of its critical points, in particular the bond critical points (BCPs) whose electron density, ρ, is a measure of the strength of the interaction between two connected atoms, independently of the nature of the interaction. This method also provides an estimation of the atomic charges, which are the ones used in some specific points of the analysis. The NBO method permits, through the calculation of second-order orbital interaction energies, to characterize electron donations and backdonations among localized hybrid orbitals of the interacting molecules and to obtain the natural atomic charges that result from these donations and back-donations. It also allows evaluating the Wiberg bond index, ref. [74], which provides a clear indication of the strength of a linkage. Finally, the EDS is obtained as the difference of the electron density of the complex and the isolated monomers in the geometry of the complex and permits identifying which areas of the electron donor are preferentially depopulated and which areas of the Lewis acid are preferentially populated [75].

Results and Discussion
As explained in the Introduction, we have analyzed in our theoretical survey the structure and stability of all the complexes in which the BeF 2 molecule interacts with the different basic sites of the malonaldehyde-like compounds investigated (Scheme 1). As the presence of the IMHB is key for the system, we took as a starting point the linear and pseudocyclic conformations of the isolated systems. These conformers can be compared to the linear and pseudocyclic conformations of the BeF 2 -containing complexes, thus allowing to see the influence of the Be bond in the IMHB. Figure 1 shows the different structures obtained for malonaldehyde, the reference system, and its dithio analogue. For all the other malonaldehyde-like derivatives, this information is provided in Figures S1-S3 of the Supporting Information. Note that the linear and pseudocyclic isolated systems are shown in the first row, where the IMHB distances are 1.646 Å (X = O) and 2.102 Å (X = S). The first conspicuous fact is that for both, malonaldehyde and its dithio analogue, the global minima, A1 and B1, respectively, correspond to the association of BeF2 to the C=O (C=S) group, which is the most basic site of these compounds. However, there is a difference when the attachment takes place at the OH group. As shown in Figure 1, for malonaldehyde, the corresponding cluster, A2, is found to be 15.8 kJ·mol −1 higher in energy than the global minimum. A comparison of the molecular graphs of these two minima (see Figure 2), and in particular the electron density at the O-H···O BCP, shows that the IMHB is stronger in A2, with an electron density of 0.087 a.u. vs. 0.043 a.u. This is due to the formation of the Be···OH bond, which implies a significant charge transfer of 0.37 e − from the malonaldehyde to the empty orbitals of Be. Such a charge transfer is reflected in the atomic charge of the O atom, which is much more negative (−0.36) in the isolated malonaldehyde than in its complex with BeF2 (−0.17). The obvious consequence is an increase in the positive charge of the H atom attached to the oxygen (from +0.33 in the isolated malonaldehyde to +0.36 in the cluster with BeF2). This implies an acidity increase in the OH group and, as a consequence, the reinforcement of the O-H···O IMHB.

X = Y = O, S
Consistently, the NBO analysis shows that second-order interaction energies associated to the O-H···O IMHB are three times larger in A2 (284 kJ·mol −1 ) than in A1 (79 kJ·mol −1 ). A similar decrease (from 0.194 to 0.074) is observed in the corresponding Wiberg bond indexes. Nevertheless, the reinforcement of the IMHB does not counterbalance the weakening of the O···Be bond, whose electron density at the BCP decreases from 0.063 to 0.057 a.u., which is due to the fact that the hydroxyl group is a much weaker Lewis base than the carbonyl one. Again, this weakening is also reflected in the corresponding Wiberg bond index, which decreases from 0.114 to 0.097. In addition, consistently, the NBO analysis shows that the second-order interaction energy associated with the formation of the beryllium bond in A2 (154 kJ·mol −1 ) is significantly lower than in A1 (218 kJ·mol −1 ).  The first conspicuous fact is that for both, malonaldehyde and its dithio analogue, the global minima, A1 and B1, respectively, correspond to the association of BeF 2 to the C=O (C=S) group, which is the most basic site of these compounds. However, there is a difference when the attachment takes place at the OH group. As shown in Figure 1, for malonaldehyde, the corresponding cluster, A2, is found to be 15.8 kJ·mol −1 higher in energy than the global minimum. A comparison of the molecular graphs of these two minima (see Figure 2), and in particular the electron density at the O-H···O BCP, shows that the IMHB is stronger in A2, with an electron density of 0.087 a.u. vs. 0.043 a.u. This is due to the formation of the Be···OH bond, which implies a significant charge transfer of 0.37 e − from the malonaldehyde to the empty orbitals of Be. Such a charge transfer is reflected in the atomic charge of the O atom, which is much more negative (−0.36) in the isolated malonaldehyde than in its complex with BeF 2 (−0.17). The obvious consequence is an increase in the positive charge of the H atom attached to the oxygen (from +0.33 in the isolated malonaldehyde to +0.36 in the cluster with BeF 2 ). This implies an acidity increase in the OH group and, as a consequence, the reinforcement of the O-H···O IMHB.
Consistently, the NBO analysis shows that second-order interaction energies associated to the O-H···O IMHB are three times larger in A2 (284 kJ·mol −1 ) than in A1 (79 kJ·mol −1 ). A similar decrease (from 0.194 to 0.074) is observed in the corresponding Wiberg bond indexes. Nevertheless, the reinforcement of the IMHB does not counterbalance the weakening of the O···Be bond, whose electron density at the BCP decreases from 0.063 to 0.057 a.u., which is due to the fact that the hydroxyl group is a much weaker Lewis base than the carbonyl one. Again, this weakening is also reflected in the corresponding Wiberg bond index, which decreases from 0.114 to 0.097. In addition, consistently, the NBO analysis shows that the second-order interaction energy associated with the formation of the beryllium bond in A2 This finding is consistent with the values of the Wiberg bond index that in the first case is 0.224, whereas in the latter, it is 0.284. Figure 2. Molecular graphs of the complexes in which the BeF2 molecule is attached to the carbonyl (A1, A3) and the hydroxyl oxygen atoms (A2) of malonaldehyde. Conformers (B1,B3) for dithiomalonaldehyde are also shown. Note that conformer (B2) does not exist for dithiomalonaldehyde because upon the attachment of BeF2 to the SH group, a spontaneous proton transfer occurs, yielding conformer (B1). The electron densities (in a.u.) at the different BCPs (green dots) are also given.
As we have already mentioned in the Introduction, we cannot forget that the cyclization of malonaldehyde has been shown to be a paradigmatic example of what is usually called a resonance-assisted hydrogen bond (RAHB) [66], although the nature of this phenomenon was a subject of debate [76][77][78][79][80][81][82]. In order to assess the possible role of electron delocalization phenomena, we have used the EDS formalism described in previous sections. In Figure 3, we show the results obtained for the malonaldehyde-BeF2 cluster. In its linear conformation, the formation of the beryllium bond is accompanied by an electron density redistribution mostly on the carbonyl group of the malonaldehyde moiety, with small changes on carbon and oxygen from the hydroxyl group. The BeF2 is now linked to the chain through a newly populated region (violet lobes). We observe almost the same pattern for the pseudocyclic form, where the formation of the beryllium bond again modifies the densities of the carbonyl group and BeF2, because the participation of the carbonyl group in the O-H···O IMHB necessarily modulates its interaction with the BeF2 molecule. Therefore, the important conclusion is that the carbon chain of malonaldehyde is similarly modified in both cases; i.e., resonance should be very similar in the linear and the pseudocyclic structures. As we have already mentioned in the Introduction, we cannot forget that the cyclization of malonaldehyde has been shown to be a paradigmatic example of what is usually called a resonance-assisted hydrogen bond (RAHB) [66], although the nature of this phenomenon was a subject of debate [76][77][78][79][80][81][82]. In order to assess the possible role of electron delocalization phenomena, we have used the EDS formalism described in previous sections. In Figure 3, we show the results obtained for the malonaldehyde-BeF 2 cluster. In its linear conformation, the formation of the beryllium bond is accompanied by an electron density redistribution mostly on the carbonyl group of the malonaldehyde moiety, with small changes on carbon and oxygen from the hydroxyl group. The BeF 2 is now linked to the chain through a newly populated region (violet lobes). We observe almost the same pattern for the pseudocyclic form, where the formation of the beryllium bond again modifies the densities of the carbonyl group and BeF 2 , because the participation of the carbonyl group in the O-H···O IMHB necessarily modulates its interaction with the BeF 2 molecule. Therefore, the important conclusion is that the carbon chain of malonaldehyde is similarly modified in both cases; i.e., resonance should be very similar in the linear and the pseudocyclic structures.  For the corresponding dithio derivative, the acidity enhancement of the SH group upon association with the BeF2 molecule is such that a local minimum B2 analogous to A2 does not exist because a spontaneous proton transfer takes place, so that the structure collapses to the global minimum B1.
A different orientation of the BeF2 with respect to the aldehyde molecule when attaching to the C=O (C=S) group can lead, alternatively, to a local minimum, in which the OH···O (SH···S) IMHB is replaced by a OH···F (SH···F) IMHB (clusters A3 and B3). These minima exhibit the strongest beryllium bond of all the local minima found, as it is clearly reflected looking at the corresponding electron densities at the BCP (see Figure 2). On top of that, the OH···F (SH···F) hydrogen bonds are also rather strong, with electron densities notably higher than those found for the OH···O (SH···S) IMHBs. However, both local minima are found to be 4.1 and 50.5 kJ·mol −1 higher (not lower) in energy than the corresponding global minima. This finding reflects that, besides the two non-covalent interactions, the IMHB and the beryllium bond, a third factor also contributes to the stability of the complex. This factor is the electron delocalization in the corresponding cycle, which is clearly larger in the global minima, A1 and B1, than in structures A3 and B3. The energy gap in the case of the thio derivative is much larger than on the oxygen-containing analogue, because there is an additional F···H-C IMHB in the global minimum B1 that is not present in the B3 conformer.
Finally, it is worth noting that the coordination of Be with the two oxygen (sulfur) atoms (structures A4 and B4 in Figure 1) also leads to a local minimum but higher in energy than the global minimum.
The effects of the formation of a beryllium bond on energy are nicely revealed if we use thermodynamic cycles such as those shown in Figure 4, where we can evaluate the impact of cyclization and the two NCIs involved at a glance.  Violet lobes correspond to areas in which the electron density is accumulated, whereas light blue ones correspond to areas where the electron density is depleted.
For the corresponding dithio derivative, the acidity enhancement of the SH group upon association with the BeF 2 molecule is such that a local minimum B2 analogous to A2 does not exist because a spontaneous proton transfer takes place, so that the structure collapses to the global minimum B1.
A different orientation of the BeF 2 with respect to the aldehyde molecule when attaching to the C=O (C=S) group can lead, alternatively, to a local minimum, in which the OH···O (SH···S) IMHB is replaced by a OH···F (SH···F) IMHB (clusters A3 and B3). These minima exhibit the strongest beryllium bond of all the local minima found, as it is clearly reflected looking at the corresponding electron densities at the BCP (see Figure 2). On top of that, the OH···F (SH···F) hydrogen bonds are also rather strong, with electron densities notably higher than those found for the OH···O (SH···S) IMHBs. However, both local minima are found to be 4.1 and 50.5 kJ·mol −1 higher (not lower) in energy than the corresponding global minima. This finding reflects that, besides the two non-covalent interactions, the IMHB and the beryllium bond, a third factor also contributes to the stability of the complex. This factor is the electron delocalization in the corresponding cycle, which is clearly larger in the global minima, A1 and B1, than in structures A3 and B3. The energy gap in the case of the thio derivative is much larger than on the oxygen-containing analogue, because there is an additional F···H-C IMHB in the global minimum B1 that is not present in the B3 conformer.
Finally, it is worth noting that the coordination of Be with the two oxygen (sulfur) atoms (structures A4 and B4 in Figure 1) also leads to a local minimum but higher in energy than the global minimum.
The effects of the formation of a beryllium bond on energy are nicely revealed if we use thermodynamic cycles such as those shown in Figure 4, where we can evaluate the impact of cyclization and the two NCIs involved at a glance. Finally, it is worth noting that the coordination of Be with the two oxygen (sulfur) atoms (structures A4 and B4 in Figure 1) also leads to a local minimum but higher in energy than the global minimum.
The effects of the formation of a beryllium bond on energy are nicely revealed if we use thermodynamic cycles such as those shown in Figure 4, where we can evaluate the impact of cyclization and the two NCIs involved at a glance. The first conspicuous fact is that BeF 2 attachment to the cyclic aldehyde is about 6 kJ·mol −1 less exothermic than the attachment to the linear one, and the O-Be bond formed is slightly weaker, the charge transferred to the BeF 2 molecule being also slightly smaller. Nevertheless, the cyclic cluster is more stable than the linear one as a consequence of the formation of the IMHB. This IMHB is also weaker than in the isolated malonaldehyde, because now, the carbonyl oxygen is participating simultaneously in the IMHB and in the beryllium bond. To well understand these apparent contradictory results, it must be taken into account that the formation of the beryllium bond involves a substantial structural distortion of both the aldehyde and the BeF 2 molecule. To quantify the energetic effects of these geometric distortions, we have included in the same figure (red numbers) the diabatic interaction energies, i.e., the energies obtained by subtracting from the energy of the complex the energy of the two interacting systems with the geometry they have in the complex. The first important feature is that these interaction energies are substantially larger than the adiabatic ones, indicating that the geometry deformation of the interacting systems is large. The second important finding is that in terms of the diabatic energies, the formation of the beryllium bond is now less exothermic in the cyclic than in the linear structure, because, as we have mentioned above, in the latter case, the oxygen atom is a poorer basic center than in the first case, as it is also involved in the IMHB. Consistently, the IMHB in the complex is necessarily weaker than the isolated malonaldehyde. The situation is qualitatively similar, but quantitatively different, when looking at the dithio derivative. In this case, the formation of the IMHB is only slightly exothermic and becomes slightly endothermic upon interaction with BeF 2 . This is the expected behavior considering the donor abilities of oxygen and sulfur.

X = O, Y = S
In this particular case, if we take into account that there are two stable isomers (see Scheme 2), there are in principle four possible binding sites for the attachment of BeF 2 : (a) the carbonyl group, (b) the SH group, (c) the OH group, and (d) the thiocarbonyl group. However, they reduce to three because the attachment to the SH group is followed by a spontaneous proton transfer to yield the enolic form. The first conspicuous fact is that BeF2 attachment to the cyclic aldehyde is about 6 kJ·mol −1 less exothermic than the attachment to the linear one, and the O-Be bond formed is slightly weaker, the charge transferred to the BeF2 molecule being also slightly smaller. Nevertheless, the cyclic cluster is more stable than the linear one as a consequence of the formation of the IMHB. This IMHB is also weaker than in the isolated malonaldehyde, because now, the carbonyl oxygen is participating simultaneously in the IMHB and in the beryllium bond. To well understand these apparent contradictory results, it must be taken into account that the formation of the beryllium bond involves a substantial structural distortion of both the aldehyde and the BeF2 molecule. To quantify the energetic effects of these geometric distortions, we have included in the same figure (red numbers) the diabatic interaction energies, i.e., the energies obtained by subtracting from the energy of the complex the energy of the two interacting systems with the geometry they have in the complex. The first important feature is that these interaction energies are substantially larger than the adiabatic ones, indicating that the geometry deformation of the interacting systems is large. The second important finding is that in terms of the diabatic energies, the formation of the beryllium bond is now less exothermic in the cyclic than in the linear structure, because, as we have mentioned above, in the latter case, the oxygen atom is a poorer basic center than in the first case, as it is also involved in the IMHB. Consistently, the IMHB in the complex is necessarily weaker than the isolated malonaldehyde. The situation is qualitatively similar, but quantitatively different, when looking at the dithio derivative. In this case, the formation of the IMHB is only slightly exothermic and becomes slightly endothermic upon interaction with BeF2. This is the expected behavior considering the donor abilities of oxygen and sulfur.

X = O, Y = S
In this particular case, if we take into account that there are two stable isomers (see Scheme 2), there are in principle four possible binding sites for the attachment of BeF2: (a) the carbonyl group, (b) the SH group, (c) the OH group, and (d) the thiocarbonyl group. However, they reduce to three because the attachment to the SH group is followed by a spontaneous proton transfer to yield the enolic form. For the sake of conciseness, we are not going to discuss here the geometrical features of these systems, although the optimized structures are provided in Figure S1 of the Supporting Information. In Figure 5, we present the corresponding thermodynamic cycles corresponding to the BeF2 association to the carbonyl, to the thiocarbonyl, and to the hydroxyl group, respectively. For the sake of conciseness, we are not going to discuss here the geometrical features of these systems, although the optimized structures are provided in Figure S1 of the Supporting Information. In Figure 5, we present the corresponding thermodynamic cycles corresponding to the BeF 2 association to the carbonyl, to the thiocarbonyl, and to the hydroxyl group, respectively. In the first two cases, the situation is similar to the one we have already discussed in Figure 4 for malonaldehyde and its dithio analogue, in the sense that the formation of the beryllium bond results in both cases in a weaking of the IMHB. The weakening is very small when Be is attached to the carbonyl group (global minimum), because the IMHB was already rather weak in the isolated thioaldehyde, as the SH is a poor proton donor. When Be is attached to the thiocarbonyl group, the weakening of the IMHB is remarkably larger, because an excellent Lewis acid such as BeF2 is able to withdraw a significant amount of electron density from sulfur, which is consequently a much worse donor toward the OH group. Indeed, whereas the Wiberg bond index for the O-H···S IMHB in the isolated thiomalonaldehyde is 0.192, in the complex with BeF2, it is only 0.110.
However, a surprising result is observed when Be attachment occurs at the hydroxyl group. In contrast with all previous cases, the formation of the OH···S IMHB is more exothermic than in the isolated molecule (33.6 vs. 27.0 kJ·mol −1 ). This is also ratified by an analysis of the electron density at the BCP, which shows indeed that the IMHB is notably stronger in the BeF2-containing cluster than in the isolated compound (0.056 vs. 0.045 a.u., see Figure 6). In the first two cases, the situation is similar to the one we have already discussed in Figure 4 for malonaldehyde and its dithio analogue, in the sense that the formation of the beryllium bond results in both cases in a weaking of the IMHB. The weakening is very small when Be is attached to the carbonyl group (global minimum), because the IMHB was already rather weak in the isolated thioaldehyde, as the SH is a poor proton donor. When Be is attached to the thiocarbonyl group, the weakening of the IMHB is remarkably larger, because an excellent Lewis acid such as BeF 2 is able to withdraw a significant amount of electron density from sulfur, which is consequently a much worse donor toward the OH group. Indeed, whereas the Wiberg bond index for the O-H···S IMHB in the isolated thiomalonaldehyde is 0.192, in the complex with BeF 2 , it is only 0.110.
However, a surprising result is observed when Be attachment occurs at the hydroxyl group. In contrast with all previous cases, the formation of the OH···S IMHB is more exothermic than in the isolated molecule (33.6 vs. 27.0 kJ·mol −1 ). This is also ratified by an analysis of the electron density at the BCP, which shows indeed that the IMHB is notably stronger in the BeF 2 -containing cluster than in the isolated compound (0.056 vs. 0.045 a.u., see Figure 6). In the first two cases, the situation is similar to the one we have already discussed in Figure 4 for malonaldehyde and its dithio analogue, in the sense that the formation of the beryllium bond results in both cases in a weaking of the IMHB. The weakening is very small when Be is attached to the carbonyl group (global minimum), because the IMHB was already rather weak in the isolated thioaldehyde, as the SH is a poor proton donor. When Be is attached to the thiocarbonyl group, the weakening of the IMHB is remarkably larger, because an excellent Lewis acid such as BeF2 is able to withdraw a significant amount of electron density from sulfur, which is consequently a much worse donor toward the OH group. Indeed, whereas the Wiberg bond index for the O-H···S IMHB in the isolated thiomalonaldehyde is 0.192, in the complex with BeF2, it is only 0.110.
However, a surprising result is observed when Be attachment occurs at the hydroxyl group. In contrast with all previous cases, the formation of the OH···S IMHB is more exothermic than in the isolated molecule (33.6 vs. 27.0 kJ·mol −1 ). This is also ratified by an analysis of the electron density at the BCP, which shows indeed that the IMHB is notably stronger in the BeF2-containing cluster than in the isolated compound (0.056 vs. 0.045 a.u., see Figure 6). The same conclusion is reached when looking at the NBO results, which show that the second-order interaction energy associated to the O-H···S IMHB is 1.5 times larger in the BeF 2 complex than in the isolated molecule, and that the O-H···S Wiberg bond index goes from 0.192 to 0.263 upon attachment of BeF 2 to the OH group. However, not only the IMHB becomes reinforced; the beryllium bond is stronger as well. Indeed, an analysis of the charge distribution also reveals that whereas in the linear complex, with no IMHB, the charge transfer from the thiomalonaldehyde toward the BeF 2 molecule is 0.33 e − , whereas in the cyclic conformer, this charge transfer is 0.35 e − . Consistently, in the latter case, the O···Be distance is 0.003 Å shorter. A plausible explanation is that in this particular case, the oxygen involved in the Be bond in the pseudocyclic form is a proton donor, whereas in the previous cases, it always had the role of proton acceptor.
It is also interesting to realize that the thiomalonaldehyde-BeF 2 minima involved in the thermodynamic cycles shown in Figure 5 are interconnected through a proton transfer along the O-H···S (or S-H···O) IMHB. To analyze these processes in detail, we have evaluated the corresponding potential energy curves, where the structure of the cluster is fully optimized for the different positions of the proton that is transferred between both basic sites. The potential energy curve when BeF 2 is attached to the OH group is shown in Figure 7a, whereas the similar process along the S-H···O IMHB, when BeF 2 is attached to the S-H group, is shown in Figure 7b. goes from 0.192 to 0.263 upon attachment of BeF2 to the OH group. However, not only the IMHB becomes reinforced; the beryllium bond is stronger as well. Indeed, an analysis of the charge distribution also reveals that whereas in the linear complex, with no IMHB, the charge transfer from the thiomalonaldehyde toward the BeF2 molecule is 0.33 e − , whereas in the cyclic conformer, this charge transfer is 0.35 e − . Consistently, in the latter case, the O···Be distance is 0.003 Å shorter. A plausible explanation is that in this particular case, the oxygen involved in the Be bond in the pseudocyclic form is a proton donor, whereas in the previous cases, it always had the role of proton acceptor. It is also interesting to realize that the thiomalonaldehyde-BeF2 minima involved in the thermodynamic cycles shown in Figure 5 are interconnected through a proton transfer along the O-H···S (or S-H···O) IMHB. To analyze these processes in detail, we have evaluated the corresponding potential energy curves, where the structure of the cluster is fully optimized for the different positions of the proton that is transferred between both basic sites. The potential energy curve when BeF2 is attached to the OH group is shown in Figure 7a, whereas the similar process along the S-H···O IMHB, when BeF2 is attached to the S-H group, is shown in Figure 7b. In the first case, the elongation of the O-H bond leads to a transition state (TS) which is about 5 kJ·mol −1 higher than the minimum stabilized by a O-H···S IMHB. From this point, the energy of the system drops more than 25 kJ·mol −1 to reach the minimum stabilized by the corresponding O···H-S IMHB. Note, however, that although the final IMHB is weaker than the initial one, the minimum reached is lower in energy than the initial one essentially due to the stronger beryllium bond. The situation is not very different in the second case. Again, the elongation of the S-H bond leads to a TS also about 5 kJ·mol −1 higher than the initial minimum. From the TS, the energy of the system decreases more than 40 kJ·mol −1 to reach the minimum stabilized by the corresponding S···H-O IMHB. However, in this case, both the strengthening of the IMHB and the beryllium bond are responsible for this stabilization. Indeed, the S···H-O IMHB is stronger than the S-H···O because the O-H group is a better proton donor than the S-H one, and at the same time, the new S···Be bond is also stronger than the initial HS···Be one, because the C=S group is a stronger Lewis base than the C-SH one.

X = O, Y = NH
If we consider now a malonaldehyde-like system combining a carbonyl and an amino group (optimized geometries in Figure S2), the shifting of one amino hydrogen to In the first case, the elongation of the O-H bond leads to a transition state (TS) which is about 5 kJ·mol −1 higher than the minimum stabilized by a O-H···S IMHB. From this point, the energy of the system drops more than 25 kJ·mol −1 to reach the minimum stabilized by the corresponding O···H-S IMHB. Note, however, that although the final IMHB is weaker than the initial one, the minimum reached is lower in energy than the initial one essentially due to the stronger beryllium bond. The situation is not very different in the second case. Again, the elongation of the S-H bond leads to a TS also about 5 kJ·mol −1 higher than the initial minimum. From the TS, the energy of the system decreases more than 40 kJ·mol −1 to reach the minimum stabilized by the corresponding S···H-O IMHB. However, in this case, both the strengthening of the IMHB and the beryllium bond are responsible for this stabilization. Indeed, the S···H-O IMHB is stronger than the S-H···O because the O-H group is a better proton donor than the S-H one, and at the same time, the new S···Be bond is also stronger than the initial HS···Be one, because the C=S group is a stronger Lewis base than the C-SH one.

X = O, Y = NH
If we consider now a malonaldehyde-like system combining a carbonyl and an amino group (optimized geometries in Figure S2), the shifting of one amino hydrogen to the carbonyl group leads to other two local minima as far as the pseudocyclic structures are concerned: the one in which the proton donor in the IMHB is the imino group, and the one in which the proton donor is the hydroxyl group (see the first row in Figure S2 for more details). These three possibilities are contemplated in the thermodynamic cycles shown in Figure 8. The upper part corresponds to the global minimum with a carbonyl and an amino group as functional groups. The lower part presents the results corresponding to the system stabilized by a N-H···O-H IMHB (left part) and the one stabilized by an O-H···NH IMHB (right part). the carbonyl group leads to other two local minima as far as the pseudocyclic structures are concerned: the one in which the proton donor in the IMHB is the imino group, and the one in which the proton donor is the hydroxyl group (see the first row in Figure S2 for more details). These three possibilities are contemplated in the thermodynamic cycles shown in Figure 8. The upper part corresponds to the global minimum with a carbonyl and an amino group as functional groups. The lower part presents the results corresponding to the system stabilized by a N-H···O-H IMHB (left part) and the one stabilized by an O-H···NH IMHB (right part). The isomer in which the IMHB proton donor is the amino group does not behave similarly to what was observed for the systems X = Y = O and X = O, Y = S discussed above, but similar to X = Y = S, showing that the cyclization of the BeF2-cluster is more stabilizing that the cyclization of the isolated malonaldehyde-like compound, although the energy difference (1.9 kJ·mol −1 ) is very small.
However, there are significant differences as far as the expected behavior of the enolic isomers is concerned. On the one hand, as it is illustrated in the lower part of Figure 8, when the hydrogen bond donor in the IMHB is the imino group, the formation of the pseudocyclic structure is energetically unfavorable by 8.8 kJ·mol −1 , and this situation does not change upon association with BeF2, being the cyclization still unfavorable by 7.1 kJ·mol −1 . Conversely, when the hydrogen bond donor is the hydroxyl group, the cyclization through the formation of an IMHB is energetically very favorable (by 40 kJ·mol −1 ). This is essentially due to the different strength of the O-H···N IMHB with respect to the N-H···O one, as shown by the electron density at the BCP, which is four times larger in the first case than in the second (see Figure S4), reflecting that the imino group is a very poor proton donor but a very good proton acceptor. The NBO analysis leads to the same conclusion, since the O-H···N IMHB second-order interaction energy between the N lone pair and the antibonding O-H orbital is about ten times greater than the interaction between the O lone pair and the N-H antibonding orbital in the N-H···O IMHB. Consistently, in the first case, the O···N distance is 0.4 Å shorter than in the second. This cyclization upon association with BeF2 is even more favorable in terms of diabatic interaction The isomer in which the IMHB proton donor is the amino group does not behave similarly to what was observed for the systems X = Y = O and X = O, Y = S discussed above, but similar to X = Y = S, showing that the cyclization of the BeF 2 -cluster is more stabilizing that the cyclization of the isolated malonaldehyde-like compound, although the energy difference (1.9 kJ·mol −1 ) is very small.
However, there are significant differences as far as the expected behavior of the enolic isomers is concerned. On the one hand, as it is illustrated in the lower part of Figure 8, when the hydrogen bond donor in the IMHB is the imino group, the formation of the pseudocyclic structure is energetically unfavorable by 8.8 kJ·mol −1 , and this situation does not change upon association with BeF 2 , being the cyclization still unfavorable by 7.1 kJ·mol −1 . Conversely, when the hydrogen bond donor is the hydroxyl group, the cyclization through the formation of an IMHB is energetically very favorable (by 40 kJ·mol −1 ). This is essentially due to the different strength of the O-H···N IMHB with respect to the N-H···O one, as shown by the electron density at the BCP, which is four times larger in the first case than in the second (see Figure S4), reflecting that the imino group is a very poor proton donor but a very good proton acceptor. The NBO analysis leads to the same conclusion, since the O-H···N IMHB second-order interaction energy between the N lone pair and the antibonding O-H orbital is about ten times greater than the interaction between the O lone pair and the N-H antibonding orbital in the N-H···O IMHB. Consistently, in the first case, the O···N distance is 0.4 Å shorter than in the second. This cyclization upon association with BeF 2 is even more favorable in terms of diabatic interaction energies (by 72.4 kJ·mol −1 ), because, upon attachment of BeF 2 to the imino group, the initial O-H···NH IMHB is replaced by a rather strong O-H···F IMHB. This change in the nature of the IMHB leads not only to an interaction enthalpy increase (from 102.9 to 115.4 kJ·mol −1 ) but also to a diabatic interaction energy increase (from 213.7 to 286.1 kJ·mol −1 ). These structural and stability changes are nicely reflected in the EDS plots (see Figure 9). Here, again, it is evident that the density redistribution induced by the beryllium bond is produced already in the linear arrangement of the system, and upon cyclization due to the formation of the O-H···F IMHB, the only significant changes are those around the F participating in the interaction, whose density is polarized toward the hydroxyl group and the density around this group itself.
Sci 2022, 4, x FOR PEER REVIEW 11 of 16 energies (by 72.4 kJ·mol −1 ), because, upon attachment of BeF2 to the imino group, the initial O-H···NH IMHB is replaced by a rather strong O-H···F IMHB. This change in the nature of the IMHB leads not only to an interaction enthalpy increase (from 102.9 to 115.4 kJ·mol −1 ) but also to a diabatic interaction energy increase (from 213.7 to 286.1 kJ·mol −1 ). These structural and stability changes are nicely reflected in the EDS plots (see Figure 9).
Here, again, it is evident that the density redistribution induced by the beryllium bond is produced already in the linear arrangement of the system, and upon cyclization due to the formation of the O-H···F IMHB, the only significant changes are those around the F participating in the interaction, whose density is polarized toward the hydroxyl group and the density around this group itself.

X = S, Y = NH
If oxygen is replaced by S in the previous system (optimized structures in Figure S3), the behavior observed when the hydrogen bond donor is the amino group (upper part of Figure 10) changes significantly, because now the association with BeF2 renders the cyclization of the system energetically less favorable (9.5 vs. 19.7 kJ·mol −1 ). This can be understood if one considers that the thiocarbonyl group is much softer than the carbonyl one, and as a consequence, sulfur is more strongly polarized toward the Be atom upon BeF2 attachment, and therefore, a much poorer proton acceptor in the N-H···S IMHB. Consistently, upon BeF2 attachment, the IMHB length increases 0.06 Å , and the cyclization process becomes 10.2 kJ·mol −1 less exothermic.

X = S, Y = NH
If oxygen is replaced by S in the previous system (optimized structures in Figure  S3), the behavior observed when the hydrogen bond donor is the amino group (upper part of Figure 10) changes significantly, because now the association with BeF 2 renders the cyclization of the system energetically less favorable (9.5 vs. 19.7 kJ·mol −1 ). This can be understood if one considers that the thiocarbonyl group is much softer than the carbonyl one, and as a consequence, sulfur is more strongly polarized toward the Be atom upon BeF 2 attachment, and therefore, a much poorer proton acceptor in the N-H···S IMHB. Consistently, upon BeF 2 attachment, the IMHB length increases 0.06 Å, and the cyclization process becomes 10.2 kJ·mol −1 less exothermic.
The results obtained when the proton donor in the IMHB is the imino group (see the left thermodynamic cycle in the lower part of Figure 10) are similar to the ones discussed above for the oxygen-containing analogue, in the sense that the cyclization of the isolated system is already an endothermic process (by 12.6 kJ·mol −1 ), and it becomes slightly more endothermic (by 15.0 kJ·mol −1 ) upon BeF 2 attachment. Conversely, when the attachment takes place at the imino group acting as the proton donor (see the right thermodynamic cycle in the lower part of Figure 10), the situation is much different from the one discussed above for the corresponding oxygen containing analogue. The cyclization of the isolated compound is still exothermic, but when comparing Figures 8 and 10, it is clear that the exothermicity is lower (9.1 vs. 40 kJ·mol −1 ) for the S-containing compound, because the N-H···S IMHB is weaker than the N-H···O IMHB. This is evident when looking at the molecular graphs in both cases (see Figure S4), which show that the electron density at the BCP in the first case is 0.003 a.u. smaller than in the second. Concomitantly, the NBO second-order interaction energies between the oxygen lone pair and the N-H antibonding orbital are greater than the interactions involving the sulfur lone pair. The results obtained when the proton donor in the IMHB is the imino group (see the left thermodynamic cycle in the lower part of Figure 10) are similar to the ones discussed above for the oxygen-containing analogue, in the sense that the cyclization of the isolated system is already an endothermic process (by 12.6 kJ·mol −1 ), and it becomes slightly more endothermic (by 15.0 kJ·mol −1 ) upon BeF2 attachment. Conversely, when the attachment takes place at the imino group acting as the proton donor (see the right thermodynamic cycle in the lower part of Figure 10), the situation is much different from the one discussed above for the corresponding oxygen containing analogue. The cyclization of the isolated compound is still exothermic, but when comparing Figures 8 and 10, it is clear that the exothermicity is lower (9.1 vs. 40 kJ·mol −1 ) for the S-containing compound, because the N-H···S IMHB is weaker than the N-H···O IMHB. This is evident when looking at the molecular graphs in both cases (see Figure S4), which show that the electron density at the BCP in the first case is 0.003 a.u. smaller than in the second. Concomitantly, the NBO second-order interaction energies between the oxygen lone pair and the N-H antibonding orbital are greater than the interactions involving the sulfur lone pair.
Upon BeF2 attachment at the imino group, acting as proton acceptor in the IMHB, the pseudocyclic cluster shows, as in the case of the oxygen-containing analogue, an IMHB with one of the F atoms of the BeF2 moiety. However, since in this case, the proton donor is an SH group, which is a much poorer proton donor than a hydroxyl group, the IMHB is weaker (see Figure S4) and not strong enough to render the cyclization exothermic.

Concluding Remarks
Perhaps the most important conclusion of this survey is the different behavior exhibited by closely related systems (all of them can be generated from malonaldehyde by changing the nature of the atoms involved in the IMHB) when they form beryllium bonds with BeF2.
Starting with malonaldehyde, the pseudocyclic complex between it and BeF2 is more stable than the linear one. In this pseudocyclic structure, BeF2 is attached to carbonyl, Upon BeF 2 attachment at the imino group, acting as proton acceptor in the IMHB, the pseudocyclic cluster shows, as in the case of the oxygen-containing analogue, an IMHB with one of the F atoms of the BeF 2 moiety. However, since in this case, the proton donor is an SH group, which is a much poorer proton donor than a hydroxyl group, the IMHB is weaker (see Figure S4) and not strong enough to render the cyclization exothermic.

Concluding Remarks
Perhaps the most important conclusion of this survey is the different behavior exhibited by closely related systems (all of them can be generated from malonaldehyde by changing the nature of the atoms involved in the IMHB) when they form beryllium bonds with BeF 2 .
Starting with malonaldehyde, the pseudocyclic complex between it and BeF 2 is more stable than the linear one. In this pseudocyclic structure, BeF 2 is attached to carbonyl, which is the most basic site. It is worth mentioning that beryllium attached to hydroxyl leads to a stronger IMHB, but this reinforcement does not counterbalance the weakening of the beryllium bond. This fact clearly shows the importance of cooperativity. The EDS formalism revealed that resonance is already present in the linear arrangement.
Notably, the dithio analogue compound does not exhibit a significant gap between the linear and the pseudocyclic forms, indicating that in this case, the resonance-assisted phenomenon is almost inexistent, and it disappears upon BeF 2 attachment, because the formation of the beryllium bond weakens the IMHB, which is not enough to allow cyclization. This is due to the poorer sulfur abilities as a donor with respect to oxygen.
The combination of oxygen and sulfur in the malonaldehyde-like system favors cyclization when the proton donor in the IMHB is the hydroxyl group, and, even more, when Be bonds are present. This apparently surprising result is due to significant enhancement of the proton donor ability of the hydroxyl group, which is due to the charge transfer toward the BeF 2 moiety. Furthermore, the different stabilities of the isomers that can be formed reflect the different strengths of the O-H···S IMHBs with respect to the O··H-S ones, and the different stability of the Be bonds when BeF 2 is attached to C=O (or C=S) groups with respect to its attachment to C-OH (or C-SH) groups.
The combination of oxygen and nitrogen in the malonaldehyde-like system also behaves differently than malonaldehyde (imine-hydroxyl isomer). We expected lower binding energies for BeF 2 in the pseudocyclic form, but not an increase on the diabatic interaction energies. The reason behind is mostly the formation of a new O-H···F IMHB. A similar situation is found for the imine-thiol isomer.
The systematic analysis of the interplay between Be bonds and IMHB combining different basic sites in malonaldehyde-like systems strongly indicates that the formation of a IMHB is not enough to predict a larger stability for the pseudocyclic forms.