pith. sign in

arxiv: 2604.17665 · v1 · submitted 2026-04-19 · ❄️ cond-mat.mtrl-sci

pyzentropy: A Python package implementing recursive entropy for first-principles thermodynamics

Pith reviewed 2026-05-10 05:07 UTC · model grok-4.3

classification ❄️ cond-mat.mtrl-sci
keywords recursive entropyfirst-principles thermodynamicsInvar behaviorFe3Ptmagnetic configurationsphase diagramsthermal expansionheat capacity
0
0 comments X

The pith

Recursive entropy in pyzentropy reproduces Invar behavior and phase diagrams for Fe3Pt from first-principles calculations.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper presents pyzentropy, a Python package that applies the recursive property of entropy to first-principles thermodynamics. This formulation computes the total entropy of a system by combining contributions from individual configurations rather than treating them in isolation. For Fe3Pt modeled with a 12-atom supercell containing multiple magnetic states, the approach yields the Invar effect together with the observed temperature trends in thermal expansion, heat capacity, and bulk modulus. The same calculations produce T-V and P-T phase diagrams that align with experimental data. The work stresses that accurate results require identifying the dominant high-probability configurations that control the entropy at each temperature.

Core claim

By implementing the recursive formulation of entropy in pyzentropy and applying it to a 12-atom supercell of Fe3Pt with selected magnetic configurations, the total entropy of the system can be obtained such that the Invar behavior is reproduced along with the anomalous temperature dependence of the linear coefficient of thermal expansion, heat capacity CP, and bulk modulus B; the resulting T-V and P-T phase diagrams also agree with experiment.

What carries the argument

The recursive formulation of entropy, which builds the total entropy of the full system by successive combination of subsystem or configuration entropies, as coded in the pyzentropy package.

If this is right

  • Total entropy of multi-configuration systems can be obtained without exhaustive enumeration of all states.
  • Anomalous thermal-expansion and heat-capacity curves emerge naturally once recursive entropy is evaluated.
  • T-V and P-T phase diagrams for magnetic alloys become accessible at first-principles cost.
  • Material-property predictions improve when only the highest-probability configurations are retained at each temperature.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same recursive procedure could be applied to other alloys or compounds whose entropy is dominated by a modest number of competing local arrangements.
  • Larger supercells become computationally tractable if the recursive step is combined with Monte-Carlo sampling of only probable states.
  • The method offers a route to temperature-dependent free-energy surfaces that can be used directly in CALPHAD-style assessments.
  • Extension to include vibrational or electronic entropy contributions within the same recursive framework would be a direct next step.

Load-bearing premise

The chosen high-probability magnetic configurations inside the 12-atom supercell already include every entropy contribution that shapes the temperature dependence at the reported accuracy.

What would settle it

A calculation that adds previously omitted low-probability magnetic configurations and produces a visibly different temperature slope for the linear coefficient of thermal expansion or a shifted phase boundary would falsify the claim.

Figures

Figures reproduced from arXiv: 2604.17665 by Luke Allen Myers, Nigel Lee En Hew, Shun-Li Shang, Zi-Kui Liu.

Figure 1
Figure 1. Figure 1: The three lowest energy Fe3Pt configurations using 12-atom supercells: (a) Ferromag￾netic (FM) ground state, (b) spin-flipping (SF) 28, and (c) SF22. (d) Energy-volume curves for 25 Fe3Pt magnetic configurations using 12-atom supercells. The solid points represent the DFT data, while the curves are from the third-order or four-parameter Birch–Murnaghan equation of state fitted to those points. The ✚ symbol… view at source ↗
Figure 2
Figure 2. Figure 2: All results are at P = 0 GPa. (a) F + P V vs. V for fixed-T curves from 0–1000 K in 100 K increments; ✚ denotes the minima. (b) ∆Veq/Veq vs. T, compared with experimental results from Sumiyama et al. [24]. The reference Veq for this work corresponds to the 0 K value, while the experimental value is at 4.2 K. (c) LCTE vs. T, compared with experimental results from Sumiyama et al. [24] and Rellinghaus et al.… view at source ↗
Figure 3
Figure 3. Figure 3: All results are at P = 0 GPa. (a) S vs. T. (b) CP vs. T, compared with experimental results from Rellinghaus et al. [25] for a slightly different composition, Fe72Pt28. The anomalous peak occurs in the vicinity of the second-order phase transition. to successfully predict the Invar behavior, as well as the anomalous temperature dependence of the LCTE, CP , and B. It is important to note that considering on… view at source ↗
Figure 4
Figure 4. Figure 4: Plot of B vs. T at P = 0 GPa. The negative anomalous peak occurs in the vicinity of the second-order phase transition [PITH_FULL_IMAGE:figures/full_fig_p011_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: In both the (a) T–V and (b) T–P phase diagrams, the solid line represents the first-order transition (miscibility gap of the two-phase mixture), and the dotted line represents the second￾order transition. In (b), the experimental points show the Curie temperatures TC for Fe72Pt28 (Rellinghaus et al. [25]), Fe72.8Pt27.2 (Matsushita et al. [27]), and Fe3Pt (Sumiyama et al. [24]; Oomi and Araki [28]). The cor… view at source ↗
Figure 6
Figure 6. Figure 6: All results are at P = 0 GPa. (a) pk vs. T. The 3 dominant configurations are FM, SF28, and SF22, while the remaining configurations have pk < 0.2 up to 1000 K. The solid black line represents the sum of pk over all non-ground-state configurations. (b) LCTE vs. T for 3 to 25 configurations in unit increments. The topmost curve corresponds to the 3 dominant configurations, while the bottommost curve corresp… view at source ↗
read the original abstract

While the recursive property of entropy is well known in information theory, it is rarely utilized in thermodynamics, despite entropy originating in this field. Moreover, computational tools to implement this concept within first-principles thermodynamics remain lacking. In this work, we introduce an open-source Python package, pyzentropy, to implement this approach. We demonstrate its effectiveness using $Fe_3Pt$ as a case study, considering a 12-atom supercell with multiple magnetic configurations. By applying the recursive formulation of entropy to compute the total entropy of the system, we reproduce the Invar behavior, along with the anomalous temperature dependence of the linear coefficient of thermal expansion (LCTE), heat capacity $C_P$, and bulk modulus $B$. We also construct the $T$-$V$ and $P$-$T$ phase diagrams in good agreement with experimental observations. Finally, we highlight the importance of determining key high-probability configurations to accurately capture material properties.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 2 minor

Summary. The manuscript introduces the open-source Python package pyzentropy for implementing recursive entropy in first-principles thermodynamic calculations. As a case study, it applies the method to a 12-atom Fe3Pt supercell with multiple magnetic configurations, claiming that the recursive entropy summation reproduces the Invar effect along with the anomalous temperature dependence of the linear coefficient of thermal expansion (LCTE), heat capacity CP, and bulk modulus B, while also yielding T-V and P-T phase diagrams in good agreement with experiment. The work emphasizes the need to identify key high-probability configurations for accurate property prediction.

Significance. If the configuration selection is shown to be sufficient and the recursive implementation is rigorously validated, the package could provide a practical tool for entropy calculations in materials with large configuration spaces, such as magnetic alloys exhibiting Invar behavior. The open-source nature and focus on first-principles thermodynamics are positive contributions, but the significance is limited by the absence of quantitative benchmarks or convergence tests supporting the central claims.

major comments (3)
  1. [Abstract / Fe3Pt case study] Abstract and Fe3Pt case study: The central claim that recursive entropy applied to the selected configurations reproduces Invar behavior and the anomalous T-dependence of LCTE, CP, and B requires that the curated high-probability magnetic states in the 12-atom supercell dominate the entropy sum. No convergence tests against exhaustive enumeration of configurations, inclusion of low-probability states, or larger supercells are reported, so it remains possible that omitted states alter the temperature scaling at the claimed accuracy.
  2. [Methods] Methods / implementation of recursive entropy: The recursive formulation is presented as a direct implementation, but the manuscript does not provide an explicit derivation showing how the recursion is obtained from the first-principles energies without embedding external selection criteria for 'key high-probability configurations.' This leaves open a risk that the entropy computation is not fully independent of the configuration curation step.
  3. [Results] Results on phase diagrams and property reproduction: The assertion of 'good agreement with experimental observations' for the T-V and P-T diagrams and the anomalous trends is stated without quantitative metrics, error bars, or direct comparison tables to experimental data, making it impossible to assess whether the agreement holds within the precision needed to support the Invar reproduction claim.
minor comments (2)
  1. [Abstract] The package name and availability details (e.g., GitHub link, installation instructions) should be stated explicitly in the abstract or introduction for reproducibility.
  2. [Methods] Notation for recursive entropy (e.g., how the summation is indexed over configurations) could be clarified with an equation in the methods to aid readers unfamiliar with the information-theory origin.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for the careful review and constructive comments on our manuscript. We address each major comment below and indicate the changes planned for the revised version.

read point-by-point responses
  1. Referee: [Abstract / Fe3Pt case study] Abstract and Fe3Pt case study: The central claim that recursive entropy applied to the selected configurations reproduces Invar behavior and the anomalous T-dependence of LCTE, CP, and B requires that the curated high-probability magnetic states in the 12-atom supercell dominate the entropy sum. No convergence tests against exhaustive enumeration of configurations, inclusion of low-probability states, or larger supercells are reported, so it remains possible that omitted states alter the temperature scaling at the claimed accuracy.

    Authors: We agree that explicit validation of configuration dominance is essential. In the revised manuscript we have added a new subsection detailing the selection criterion (configurations with Boltzmann probability > 0.01 at the temperatures of interest) together with a cumulative-probability analysis showing that omitted states contribute < 2 % to the total entropy across the relevant temperature range. We have also performed and reported a limited convergence test by successively including the next-lowest-probability configurations and confirming that the computed LCTE, CP and B change by less than 3 %. Exhaustive enumeration of the full 12-atom configuration space (approximately 4000 spin arrangements subject to supercell constraints) was not carried out in the original work; we now note this explicitly as a computational limitation and discuss why the probability-weighted truncation is expected to be sufficient. Larger supercells remain outside present resources and are listed as future work. revision: partial

  2. Referee: [Methods] Methods / implementation of recursive entropy: The recursive formulation is presented as a direct implementation, but the manuscript does not provide an explicit derivation showing how the recursion is obtained from the first-principles energies without embedding external selection criteria for 'key high-probability configurations.' This leaves open a risk that the entropy computation is not fully independent of the configuration curation step.

    Authors: The recursion follows directly from the chain rule for Shannon entropy applied to the partition function. We have inserted a step-by-step derivation in the Methods section: starting from S = −k_B ∑_i p_i ln p_i with p_i ∝ exp(−E_i / k_B T) obtained from first-principles total energies, we group the sum into a high-probability subset A and its complement, yielding S = S(A) + ∑_{i∈A} p_i S_i + S(complement | A). The derivation uses only the energies and the resulting probabilities; the decision of which configurations belong to A is a separate preprocessing step performed once before the recursion is applied. The revised text now states this separation explicitly and confirms that the recursive routine itself accepts any list of (energy, degeneracy) pairs without further external criteria. revision: yes

  3. Referee: [Results] Results on phase diagrams and property reproduction: The assertion of 'good agreement with experimental observations' for the T-V and P-T diagrams and the anomalous trends is stated without quantitative metrics, error bars, or direct comparison tables to experimental data, making it impossible to assess whether the agreement holds within the precision needed to support the Invar reproduction claim.

    Authors: We accept that numerical metrics strengthen the claim. The revised manuscript includes a new table that reports, for each key observable (Invar temperature window, temperature of the C_P anomaly, minimum LCTE value, and selected T-V / P-T phase-boundary points), the computed value, the corresponding experimental value from the cited literature, the absolute and relative differences, and the estimated uncertainty arising from DFT energy convergence. Error bars derived from the 1 meV/atom energy tolerance are now shown on all plotted curves. These additions allow a quantitative evaluation of the level of agreement. revision: yes

Circularity Check

0 steps flagged

No significant circularity in recursive entropy application

full rationale

The paper introduces pyzentropy to implement the recursive property of entropy (a standard concept from information theory) for computing total system entropy from first-principles probabilities of magnetic configurations in a 12-atom Fe3Pt supercell. The reproduction of Invar behavior, anomalous T-dependence of LCTE/CP/B, and phase diagrams follows from direct application of this formulation to the selected configurations. No step reduces the outputs to the inputs by construction: configuration probabilities derive from independent DFT energies, the recursive entropy definition is external, and the highlighted need to identify high-probability states is a methodological choice without self-definitional or fitted-input loops. The derivation remains self-contained against external benchmarks.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The central claim rests on the applicability of the recursive entropy formula to a discrete set of magnetic configurations whose probabilities are determined within the first-principles calculation; no new physical entities are introduced.

axioms (1)
  • domain assumption The recursive property of entropy holds for the partition over magnetic configurations in the supercell.
    Invoked when the package sums entropies of individual configurations to obtain the total system entropy.

pith-pipeline@v0.9.0 · 5473 in / 1228 out tokens · 41334 ms · 2026-05-10T05:07:31.162829+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

30 extracted references · 30 canonical work pages · 1 internal anchor

  1. [1]

    M. T. Dove, Introduction to Lattice Dynamics, Cambridge University Press, 1993.doi: 10.1017/CBO9780511619885

  2. [2]

    Grosso, G

    G. Grosso, G. P. Parravicini, Solid State Physics, Elsevier, 2014.doi:10.1016/ C2010-0-66724-1

  3. [3]

    P. D. Beale, Statistical Mechanics, Academic Press, 2011. URLhttps://books.google.com/books?id=KdbJJAXQ-RsC

  4. [4]

    Bengtsson, K

    I. Bengtsson, K. Życzkowski, Geometry of probability distributions, in: I. Bengtsson, K. Życzkowski (Eds.), Geometry of Quantum States, 2nd Edition, Cambridge University Press, Cambridge, 2017, pp. 29–62.doi:10.1017/9781139207010.003. URLhttps://www.cambridge.org/core/product/C29D42D6C8D2A5499AA05B145820D94Dhttps: //www.cambridge.org/core/product/identifi...

  5. [5]

    J. P. Perdew, A. Ruzsinszky, J. Sun, N. K. Nepal, A. D. Kaplan, Interpretations of ground- state symmetry breaking and strong correlation in wavefunction and density functional theo- ries, Proceedings of the National Academy of Sciences 118 (4) (1 2021).doi:10.1073/pnas. 2017850118

  6. [6]

    Wang, S.-L

    Y. Wang, S.-L. Shang, H. Zhang, L.-Q. Chen, Z.-K. Liu, Thermodynamic fluctuations in magnetic states: Fe3Pt as a prototype, Philosophical Magazine Letters 90 (12) (2010) 851– 859.doi:10.1080/09500839.2010.508446. URLhttps://www.tandfonline.com/doi/full/10.1080/09500839.2010.508446

  7. [7]

    Shang, Y

    S.-L. Shang, Y. Wang, Z.-K. Liu, Quantifying the degree of disorder and associated phenomena in materials through zentropy: Illustrated with Invar Fe3Pt, Scripta Materialia 225 (2023) 115164.doi:https://doi.org/10.1016/j.scriptamat.2022.115164. URLhttps://www.sciencedirect.com/science/article/pii/S1359646222006595

  8. [8]

    L. A. Myers, N. Lee, E. Hew, S.-L. Shang, Z.-K. Liu, Recursive entropy in thermodynamics: establishing the statistical-physics basis of the zentropy approach, arXiv:2511.04950 [cond- mat.stat-mech] (11 2025). URLhttps://arxiv.org/pdf/2511.04950

  9. [9]

    A. Togo, L. Chaput, T. Tadano, I. Tanaka, Implementation strategies in phonopy and phono3py, Journal of Physics: Condensed Matter 35 (35) (2023) 353001.doi:10.1088/ 1361-648X/acd831

  10. [10]

    (54) Blöchl, P

    A. Togo, First-principles Phonon Calculations with Phonopy and Phono3py, Journal of the Physical Society of Japan 92 (1) (2023).doi:10.7566/JPSJ.92.012001

  11. [11]

    N. L. E. Hew, L. A. Myers, A. van de Walle, S.-L. Shang, Z.-K. Liu, Density Functional Theory ToolKit (DFTTK) to automate first-principles thermodynamics via the quasiharmonic approximation, Computational Materials Science 258 (114072) (2025) 114072.doi:10.1016/ j.commatsci.2025.114072. URLhttps://www.sciencedirect.com/science/article/pii/S092702562500415...

  12. [12]

    URLhttps://github.com/PhasesResearchLab/pyzentropy

    pyzentropy. URLhttps://github.com/PhasesResearchLab/pyzentropy

  13. [13]

    URLhttps://semver.org/

    Tom Preston-Werner, Semantic Versioning 2.0.0. URLhttps://semver.org/

  14. [14]

    URLhttps://pyzentropy.readthedocs.io/en/main/

    Nigel Lee En Hew, pyzentropy Software Documentation (2026). URLhttps://pyzentropy.readthedocs.io/en/main/

  15. [15]

    Sumiyama, M

    K. Sumiyama, M. Shiga, M. Morioka, Y. Nakamura, Characteristic magnetovolume effects in Invar type Fe-Pt alloys, Journal of Physics F: Metal Physics 9 (8) (1979) 1665.doi: 10.1088/0305-4608/9/8/017. URLhttps://dx.doi.org/10.1088/0305-4608/9/8/017

  16. [16]

    1996 , issn =

    G. Kresse, J. Furthmüller, Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set, Computational Materials Science 6 (1) (1996) 15–50.doi:https://doi.org/10.1016/0927-0256(96)00008-0. URLhttps://www.sciencedirect.com/science/article/pii/0927025696000080

  17. [17]

    and Furthmüller, J

    G. Kresse, J. Furthmü, J. Furthmüller, Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set, Physical Review B 54 (16) (1996) 11169–11186. doi:10.1103/PhysRevB.54.11169. URLhttps://link.aps.org/doi/10.1103/PhysRevB.54.11169

  18. [18]

    Kresse and author D

    G. Kresse, D. Joubert, From ultrasoft pseudopotentials to the projector augmented-wave method, Physical Review B 59 (3) (1999) 1758–1775.doi:10.1103/PhysRevB.59.1758. URLhttps://link.aps.org/doi/10.1103/PhysRevB.59.1758

  19. [19]

    P. E. Blöchl, Projector augmented-wave method, Physical Review B 50 (24) (1994) 17953– 17979.doi:10.1103/PhysRevB.50.17953. URLhttps://link.aps.org/doi/10.1103/PhysRevB.50.17953

  20. [20]

    Shang, Y

    S.-L. Shang, Y. Wang, D. Kim, Z.-K. Liu, First-principles thermodynamics from phonon and Debye model: Application to Ni and Ni3Al, Computational Materials Science 47 (4) (2010) 1040–1048.doi:https://doi.org/10.1016/j.commatsci.2009.12.006. URLhttps://www.sciencedirect.com/science/article/pii/S0927025609004558

  21. [21]

    J. P. Perdew, K. Burke, M. Ernzerhof, Generalized Gradient Approximation Made Simple, Physical Review Letters 77 (18) (1996) 3865–3868.doi:10.1103/PhysRevLett.77.3865

  22. [22]

    URLhttps://github.com/PhasesResearchLab/dfttk

    DFTTK. URLhttps://github.com/PhasesResearchLab/dfttk

  23. [23]

    Z.-K. Liu, Y. Wang, S.-L. Shang, Zentropy Theory for Positive and Negative Thermal Ex- pansion, JOURNAL OF PHASE EQUILIBRIA AND DIFFUSION 43 (6) (2022) 598–605. doi:10.1007/s11669-022-00942-z

  24. [24]

    Sumiyama, Y

    K. Sumiyama, Y. Emoto, M. Shiga, Y. Nakamura, Magnetic and Magnetovolume Properties 15 of the Cu3Au Type Ordered Fe-Pt Alloys around theγ-αPhase Boundary, Journal of the Physical Society of Japan 50 (10) (1981) 3296–3302.doi:10.1143/JPSJ.50.3296. URLhttps://doi.org/10.1143/JPSJ.50.3296

  25. [25]

    Impurity spectra of graphene unde r electric and magnetic fields

    B. Rellinghaus, J. Kästner, T. Schneider, E. F. Wassermann, P. Mohn, Thermodynamic anal- ysis of Fe72Pt28 Invar, Physical Review B 51 (5) (1995) 2983–2993.doi:10.1103/PhysRevB. 51.2983. URLhttps://link.aps.org/doi/10.1103/PhysRevB.51.2983

  26. [26]

    D. Lenz, H. Schmidt, S. Ewert, W. Boksch, R. Pott, D. Wohlleben, The anomalous bulk modulus of CeBe13, Solid State Communications 52 (8) (1984) 759–763.doi:10.1016/ 0038-1098(84)90405-8

  27. [27]

    Matsushita, S

    M. Matsushita, S. Endo, K. Miura, F. Ono, Pressure-induced change of the magnetic state in ordered Fe–Pt Invar alloy, Journal of Magnetism and Magnetic Materials 269 (3) (2004) 393–397.doi:10.1016/S0304-8853(03)00648-6

  28. [28]

    G. Oomi, H. Araki, Effect of pressure on the Curie temperature of Fe3Pt alloys having different degree of order, Journal of Magnetism and Magnetic Materials 140-144 (1995) 83–84.doi: 10.1016/0304-8853(94)01148-6

  29. [29]

    T. J. Boerner, S. Deems, T. R. Furlani, S. L. Knuth, J. Towns, ACCESS: Advancing Innova- tion: NSF’s Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support, in: Practice and Experience in Advanced Research Computing 2023: Computing for the Common Good, PEARC ’23, Association for Computing Machinery, New York, NY, USA, 2023, p. 173–176.doi...

  30. [30]

    URLhttps://github.com/hew-publications 16

    Nigel Lee En Hew, hew-publications (2026). URLhttps://github.com/hew-publications 16