Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Comparison Report: Original PDF vs. MyST Markdown

Date: 2026-02-16
Subject: Fidelity assessment of paper/paper.md against original PDF, converted via marker-pdf
Paper: “Money as a Medium of Exchange in an Economy with Artificially Intelligent Agents,” Journal of Economic Dynamics and Control, 14, 329–373.


Executive Summary

The MyST conversion captures the core narrative, mathematical framework, and structure of the original paper. The prose text is highly faithful to the original across Sections 1–6 and Section 8. All 17 equations are present and correctly typeset. All 10 figures are referenced.

Following the fix/paper-conversion-quality PR, the conversion now includes all missing simulation tables, formal definitions, classifier notation, footnotes, and references.

AreaCoverageStatus
Abstract & Metadata100%✅ Complete
Sections 1–3 (Theory)~95%✅ Complete
Section 4 (Equilibria)~95%✅ Fixed (definitions + notation added)
Section 5 (Convergence)~95%✅ Complete
Section 6 (Genetic Algorithm)~95%✅ Complete
Section 7 (Simulations)~90%✅ Fixed (~50 tables added)
Section 8 (Conclusions)~98%✅ Fixed (cite reference corrected)
Equations~98%✅ Complete (17/17)
Footnotes100% (17/17)✅ Fixed (fn11–17 added)
Figures~90%✅ Complete (2 unused images remain)
References100% (21/21)✅ Fixed (machinelearning1988 added)

Overall Fidelity Score: ~93% (up from ~65–70% pre-PR)


1. Section Structure

#Original (extracted_text.txt)MyST (paper.md)Match?
11. Introductionsec-introduction — §1
22. The Kiyotaki-Wright environmentsec-kw-environment — §2
33. Classifier systems for the K-W environmentsec-classifier-systems — §3
3.1(no explicit subsection)§3.1 Counters and Strength Evolution⚠️ Added
3.2(no explicit subsection)§3.2 Bid Functions and Strength Updates⚠️ Added
44. Classifier systems for supporting K-W’s stationary equilibriasec-stationary-equilibria — §4
4.14.1. The fundamental equilibrium§4.1 The Fundamental Equilibrium
4.24.2. Speculative equilibrium§4.2 Speculative Equilibrium
55. Concepts of convergencesec-convergence — §5
66. Incomplete enumeration classifiers and the ‘genetic algorithm’sec-genetic-algorithm — §6
77. Simulation resultssec-simulations — §7
7.xEconomy A1 (unnumbered)§7.1 Economy A1⚠️ Added numbering
7.xEconomy A2 (unnumbered)§7.2 Economy A2⚠️ Added numbering
7.xEconomy B (unnumbered)§7.3 Economy B⚠️ Added numbering
7.xEconomy C (unnumbered)§7.4 Economy C (Fiat Money)⚠️ Added numbering
7.xEconomy D (unnumbered)§7.5 Economy D (Five Goods, Five Types)⚠️ Added numbering
88. Conclusionssec-conclusions — §8

All 8 major sections are present. The MyST version adds explicit subsection numbers (3.1, 3.2, 7.1–7.5) where the original had unnumbered subsections — this is an improvement for navigability.


2. Tables

The original paper contains 16 major tables (Tables 1–16), many with multiple sub-tables (a–k), totalling ~50+ sub-tables. The table below tracks the status of each.

Legend: ✅ = present and accurate, 🔧 = added/fixed in PR, ⚠️ = simplified, ❌ = still missing

Original TableDescriptionStatusMyST Label
Table 1Encoding of goodstbl-encoding
Table 2Type I fundamental eq. behavior⚠️ Simplifiedtbl-type-i-fundamental
Table 3Type I speculative eq. behavior⚠️ Simplifiedtbl-type-i-speculative
Table 4Description of economiestbl-economies
Table 5aπ^h(k) — unconditional holdings probability
Table 5bπ^h_i(j) — equilibrium holdings (A1)tbl-economy-a1-equilibrium
Table 5cπ^e_i(jk) — joint exchange probabilities (A1)🔧 Addedtbl-economy-a1-joint-exchange
Table 5dπ̃^e_i(jk|j) — exchange strategies (A1)🔧 Fixedtbl-economy-a1-exchange
Table 5eπ^c_i(j|j) — consumption probabilities (A1)tbl-economy-a1-consumption
Table 6aParameters (A1.1)tbl-economy-a11-params
Table 6bHoldings freq. (A1.1)tbl-economy-a11-holdings
Table 6cExchange freq. (A1.1)🔧 Addedtbl-economy-a11-exchange-freq
Table 6dWinning classifier actions (A1.1)🔧 Addedtbl-economy-a11-winning
Table 6fConsumption classifiers type I (A1.1)🔧 Addedtbl-economy-a11-cs-type1-cons
Table 6gExchange classifiers type I (A1.1)🔧 Addedtbl-economy-a11-cs-type1-exch
Table 6hConsumption classifiers type II (A1.1)🔧 Addedtbl-economy-a11-cs-type2-cons
Table 6iExchange classifiers type II (A1.1)🔧 Addedtbl-economy-a11-cs-type2-exch
Table 6jConsumption classifiers type III (A1.1)🔧 Addedtbl-economy-a11-cs-type3-cons
Table 6kExchange classifiers type III (A1.1)🔧 Addedtbl-economy-a11-cs-type3-exch
Table 7aParameters (A1.2)tbl-economy-a12-params
Table 7bHoldings freq. (A1.2)tbl-economy-a12-holdings
Table 7cExchange freq. (A1.2)🔧 Addedtbl-economy-a12-exchange-freq
Table 7dWinning classifier actions (A1.2)🔧 Addedtbl-economy-a12-winning
Table 7eConsumption freq. (A1.2)🔧 Addedtbl-economy-a12-consumption-freq
Table 7fConsumption classifiers type I (A1.2)🔧 Addedtbl-economy-a12-cs-type1-cons
Table 7gExchange classifiers type I (A1.2)🔧 Addedtbl-economy-a12-cs-type1-exch
Table 7hConsumption classifiers type II (A1.2)🔧 Addedtbl-economy-a12-cs-type2-cons
Table 7iExchange classifiers type II (A1.2)🔧 Addedtbl-economy-a12-cs-type2-exch
Table 7jConsumption classifiers type III (A1.2)🔧 Addedtbl-economy-a12-cs-type3-cons
Table 7kExchange classifiers type III (A1.2)🔧 Addedtbl-economy-a12-cs-type3-exch
Table 8bHoldings (speculative eq., A2)🔧 Addedtbl-economy-a2-spec-holdings
Table 8cExchange prob. (speculative eq., A2)🔧 Addedtbl-economy-a2-spec-exchange
Table 8dExchange strategies (speculative eq., A2)🔧 Addedtbl-economy-a2-spec-strategies
Table 9aParameters (A2.1)tbl-economy-a21-params
Table 9bHoldings freq. (A2.1)tbl-economy-a21-holdings
Table 9cExchange freq. (A2.1)🔧 Addedtbl-economy-a21-exchange-freq
Table 9dWinning classifier actions (A2.1)🔧 Addedtbl-economy-a21-winning
Table 10bHoldings (fundamental eq., B)🔧 Addedtbl-economy-b-fundamental-holdings
Table 10cExchange prob. (fundamental eq., B)🔧 Addedtbl-economy-b-fundamental-exchange
Table 10dExchange strategies (fundamental eq., B)🔧 Addedtbl-economy-b-fundamental-strategies
Table 11bHoldings (speculative eq., B)🔧 Addedtbl-economy-b-speculative-holdings
Table 11cExchange prob. (speculative eq., B)🔧 Addedtbl-economy-b-speculative-exchange
Table 11dExchange strategies (speculative eq., B)🔧 Addedtbl-economy-b-speculative-strategies
Table 12aParameters (B.1)tbl-economy-b1-params
Table 12bHoldings freq. (B.1)🔧 Addedtbl-economy-b1-holdings
Table 12cExchange freq. (B.1)🔧 Addedtbl-economy-b1-exchange-freq
Table 12dWinning classifier actions (B.1)🔧 Addedtbl-economy-b1-winning
Table 12eConsumption freq. (B.1)🔧 Addedtbl-economy-b1-consumption-freq
Table 13aParameters (B.2)🔧 Addedtbl-economy-b2-params
Table 13bHoldings freq. (B.2)🔧 Addedtbl-economy-b2-holdings
Table 13cExchange freq. (B.2)🔧 Addedtbl-economy-b2-exchange-freq
Table 13dWinning classifier actions (B.2)🔧 Addedtbl-economy-b2-winning
Table 14bHoldings (fundamental eq., C)🔧 Addedtbl-economy-c-eq-holdings
Table 14cExchange prob. (fundamental eq., C)🔧 Addedtbl-economy-c-eq-exchange
Table 14dExchange strategies (fundamental eq., C)🔧 Addedtbl-economy-c-eq-strategies
Table 15aParameters (C)tbl-economy-c-params
Table 15bHoldings freq. (C)🔧 Addedtbl-economy-c-holdings
Table 15cExchange freq. (C, t=750 and t=1250)🔧 Addedtbl-economy-c-exchange-freq-750, -1250
Table 15dWinning classifier actions (C)🔧 Addedtbl-economy-c-winning
Table 16aParameters (D)tbl-economy-d-params
Table 16bHoldings freq. (D, t=500 and t=1750)🔧 Addedtbl-economy-d-holdings-500, -1750
Table 16cExchange freq. (D, t=500 and t=1750)🔧 Addedtbl-economy-d-exchange-freq-500, -1750
Table 16dWinning classifier actions (D, t=500 and t=1750)🔧 Addedtbl-economy-d-winning-500, -1750

Summary: 66 tables now in paper.md. Of the ~50+ original sub-tables, ~48 are present. Only Table 5a (unconditional holdings probability) is still absent — this is a minor derived quantity.


3. Equations

All 17 equations from the original are present and correctly typeset:

Orig. Eq.MyST LabelDescriptionStatus
(1)eq-trade-decisionTrading decision λ_at
(2)eq-post-tradePost-trade holdings x⁺_at
(3)eq-consumption-decisionConsumption decision γ_at
(4)eq-holdings-evolutionHoldings evolution x_{a,t+1}
(5)eq-matched-classifiersMatched exchange classifiers M_e
(6)eq-auction-winnerAuction winner e_t(z_at)
(7)eq-matched-consumptionMatched consumption classifiers M_c
(8)eq-consumption-auctionConsumption auction c_t(z_at)
(9)eq-counter-exchangeExchange counter τ^a_e(t)
(10)eq-counter-consumptionConsumption counter τ^a_c(t)
(11a,b)eq-bid-functionsBid functions b₁(e), b₂(c)
(12)eq-strength-consumptionConsumption strength update
(13)eq-strength-exchangeExchange strength update
(14)eq-external-payoffExternal payoff U_a(γ^a_ct)
(15)eq-probabilitiesProbability definitions
(16)eq-fundamental-conditionFundamental equilibrium condition
(17)eq-limit-pointsLimit points of stochastic approximation

Note on Eq. (14): The sign convention in the external payoff correctly uses positive s(x_{at}^+) in the second term, because the entire external payoff enters with a negative sign in Eq. (12).


4. Footnotes

Orig. #MyST LabelStatusContent Summary
1[^fn1]Least-squares learning comparison
2[^fn2]Pure genetic algorithm drawbacks
3[^fn3]Pure GA for trading decision
4[^fn4]Goldberg (1989) reference
5[^fn5]Stochastic auction modification
6[^fn6]Common classifier specification
7[^fn7]Fundamental inequality condition
8[^fn8]Stochastic approx. motivation
9[^fn9]Ljung & Söderström reference
10[^fn10]Arthur & Simon two-armed bandit
11[^fn11]🔧 AddedTen-period moving averages; ‘−’ for rare events
12[^fn12]🔧 AddedMore standard Holland algorithms tried without success
13[^fn13]🔧 AddedClassifiers not reported; available in working paper
14[^fn14]🔧 AddedFundamental eq. exists for A2 only if discount factor low
15[^fn15]🔧 AddedMarimon & Miller: 25/30 runs → speculative eq. (A2)
16[^fn16]🔧 AddedMarimon & Miller: 30/30 runs → fundamental eq. (B)
17[^fn17]🔧 AddedEconomy C with Economy A storage costs didn’t converge

All 17 footnotes now present. Footnotes 11–17 were all from Section 7 and contain important methodological details and references to companion work by Marimon and Miller.


5. Figures

Orig. Fig.MyST NameFileStatus
Fig. 1fig-classifier-flowfig1_classifier_flow.png
Fig. 2fig-fundamentalfig2_fundamental_equilibrium.png
(unused)fig3_type_i_fundamental.png⚠️ Not referenced
(unused)fig3b_type_i_speculative.png⚠️ Not referenced
Fig. 3fig-speculativefig4_speculative_equilibrium.png
Fig. 4fig-matingfig5_mating_process.png
Fig. 5fig-economy-a11fig6_economy_a11.png
Fig. 6fig-economy-a12fig7_economy_a12.png
Fig. 7fig-economy-bfig8_economy_b.png
Fig. 8fig-economy-cfig9_economy_c.png
Fig. 9fig-economy-d-productionfig10_economy_d_production.png
Fig. 10fig-economy-d-exchangefig11_economy_d_exchange.png

All 10 original figures are referenced. Two additional files (fig3_type_i_fundamental.png, fig3b_type_i_speculative.png) exist in the figures directory but are not currently used — these may correspond to detailed versions of the original’s Tables 2/3 diagrams.


6. References

Present in references.bib (21 entries):

ReferenceStatusNotes
Arthur (1989)
Axelrod (1987)Original cites as “1986” in text body but “1987” in reference list
Bray (1982)
Bray and Savin (1986)
Fourgeaud et al. (1986)
Goldberg (1989)
Grefenstette (1988)
Holland (1975)
Holland (1986)
Holland et al. (1986)
Kiyotaki and Wright (1989)
Knez and Litterman (1989)
Ljung and Söderstrom (1983)
Machine Learning (1988)🔧 AddedSpecial issue on genetic algorithms, Vol. 3, No. 2/3
Marcet and Sargent (1989a)
Marcet and Sargent (1989b)
Marimon (1989)
Marimon and Miller (1989)
Marimon, McGrattan, Sargent (1989)
Simon (1989)
Wilson (1987)

All 21 references now present. The {cite} reference in Section 8 has been updated to use machinelearning1988.


7. Text Content Fidelity

Sections 1–6 and 8: Excellent (~95%)

Careful paragraph-by-paragraph comparison confirms prose is highly faithful. Sampled verifications:

LocationVerdict
Opening of Introduction✅ Exact match (with {cite} conversion)
Section 2, storage costs✅ Exact match
Section 3, classifier definition✅ Exact match (italics added for emphasis)
Section 5, stochastic approximation✅ Exact match (with {eq} conversions)
Section 8, both paragraphs✅ Exact match

Section 4.1: Fixed in PR

Section 7: Substantially expanded in PR

Numerical Accuracy

For tables present in both versions, all numerical values match the original:

TableValues CheckedAccuracy
Economy A1.1 Holdings (Table 6b)π₁ᴴ(2)=1, π₂ᴴ(1)=0.502/0.506, π₃ᴴ(1)=1
Economy A1.2 Holdings (Table 7b)π₁ᴴ(2)=0.992/0.98, π₂ᴴ(1)=0.226/0.318
Economy A2.1 Holdings (Table 9b)π₁ᴴ(2)=1, π₂ᴴ(1)=0.504/0.466
Economy A1 Equilibrium (Table 5b)π₁ᴴ(2)=1, π₂ᴴ(1)=0.5, π₃ᴴ(1)=1
Parameter tables (all economies)Storage costs, utility values, bid params

8. MyST-Specific Quality

Well-Done Aspects

Issues Fixed in PR

  1. 🔧 Table 5d formatting error — Row i=1, j=1: $(1,0,1),0,0)?$ corrected to $([0,1],0,0)?$

  2. 🔧 Machine Learning cite — Updated from plain text to {cite}\machinelearning1988``


9. Remaining Minor Items

ItemSeverityDescription
Table 5aLowUnconditional holdings probability π^h(k) not included (derivable from Table 5b)
Tables 2 & 3LowSimplified to State/Action/Next State format; original had detailed classifier notation with payoff formulas
Unused figuresLowfig3_type_i_fundamental.png and fig3b_type_i_speculative.png exist but are not referenced
Axelrod dateInformationalOriginal cites “1986” in text body but “1987” in reference list; MyST uses 1987 consistently

None of these materially affect the fidelity or usability of the conversion.


10. Changes Made in PR fix/paper-conversion-quality

Branch: fix/paper-conversion-quality Files changed: paper/paper.md (+1,568 lines, -39 lines), paper/references.bib (+8 lines)

Summary of additions:

Paper.md grew from 883 lines / ~16 tables / 10 footnotes to 2,403 lines / 66 tables / 17 footnotes.