LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Optimal investment under capital gains taxes

Open repository
Sep 24, 2026
Mathematical Finance

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository reproduces the paper’s main qualitative structural findings across all seven selected experiments: the core tax-accounting engine works, finite-state utility maximizers exist, Example 3.12 non-uniqueness appears, Example 3.4/4.8 pathologies appear, and the closure results of Section 4 are illustrated. The main limitation is that several theorem-level claims are supported computationally/illustratively rather than matched to exact paper numerics, and Example 3.4 shows noticeable quantitative mismatch versus the theoretical equality target.

Results Comparison

MetricPaperReproducedDiffStatus
Exp 1: η recursion = closed formExact identityPASS0OK
Exp 1: V⁰ recursion = closed formExact identityPASS0OK
Exp 1: Π non-decreasingMust holdPASS
0
OK
Exp 1: Positive homogeneityExactPASS for λ={0.5,1,2,3}0OK
Exp 1: ConcavityMust hold for rt≥0r_t\ge 0rt​≥0PASS0OK
Exp 1: Vα≤V0V^\alpha \le V^0Vα≤V0Statewise inequalityPASS0OK
Exp 1: terminal wealth (sample model)Not a fixed paper target, structural onlyVα(ω1)=2.14486,  Vα(ω2)=0.65946V^\alpha(\omega_1)=2.14486,\;V^\alpha(\omega_2)=0.65946Vα(ω1​)=2.14486,Vα(ω2​)=0.65946N/AOK
Exp 2: optimizer existenceOptimizer attained in closed finite-state modelPASS0OK
Exp 2: bank-only vs optimal utilityRisky optimum should weakly dominate bank-only0.29246 vs 0.27226+0.02020OK
Exp 2: taxed vs frictionless utilityTaxed utility ≤ frictionless0.29246 vs 0.30634-0.01388OK
Exp 3: wealth identity Vα=(1−α)V0+αV^\alpha=(1-\alpha)V^0+\alphaVα=(1−α)V0+α on {Y≤n}\{Y\le n\}{Y≤n}Exact statewise on prescribed setConfirmed with tiny residuals; all rows marked ok=TrueNear 0OK
Exp 3: E[log⁡Vα(1,Nn)]→u~(1)E[\log V^\alpha(1,N^n)] \to \tilde u(1)E[logVα(1,Nn)]→u~(1)Converges to equality/supremum benchmark0.238647 vs 0.182063 at n=50gap ≈ 0.0566Material mismatch
Exp 3: non-attainment / non-closednessYesConfirmed qualitativelyN/AOK
Exp 4: Vα(1,N2)=Vα(1,N~2)V^\alpha(1,N^2)=V^\alpha(1,\tilde N^2)Vα(1,N2)=Vα(1,N~2)Exact equality3.970151=3.970151, 0.38125=0.381250OK
Exp 4: strategies distinctYesConfirmed from lot tableN/AOK
Exp 4: both optimal under strict concavityYesPASSN/AOK
Exp 5: Prop 4.1 finite-state closednessClosedTrue0OK
Exp 5: Prop 4.2 no-redundancy closednessClosedTrue0OK
Exp 5: Prop 4.3 weaker condition with redundancyClosedTrue0OK
Exp 6: product representation of Vt0V_t^0Vt0​ExactPASS0OK
Exp 6: majorant dominates familyShould dominate tested familyTrue0OK
Exp 6: NeffN^{eff}Neff preserves holdings / reduces gainsYesTrue / True0OK
Exp 7: odd-state divergenceV0(0,Nn)(k)=nV^0(0,N^n)(k)=\sqrt nV0(0,Nn)(k)=n​ on odd kConfirmed0OK
Exp 7: even-state negative part tends to 0Yesavg negative part 0.0500 → 0.000025Strongly decreasingOK
Exp 7: closure representation fails without NAYesH in closure, not representable by extended class0OK

Summary:

The repository reproduces the paper’s central qualitative conclusions very well. The strongest evidence is in Experiments 1, 2, 4, 5, 6, and 7, where the required structural identities or counterexample properties are explicitly verified and match the paper’s expected outcomes. The main caveat is Experiment 3, where the implementation supports the intended pathology qualitatively but does not numerically match the benchmark equality u(1)=u~(1)u(1)=\tilde u(1)u(1)=u~(1) in the reported truncation-based values; that discrepancy is too large to treat as noise.


Statistical & Economic Significance

This repository is mostly reproducing a theoretical mathematical finance paper, not an empirical asset-pricing/backtest study. So standard empirical metrics like Sharpe ratio, alpha, drawdown, p-values, or t-stats are not applicable to most experiments. The meaningful “performance indicators” here are:

  • exact identity checks,
  • statewise inequalities,
  • optimizer attainment/non-attainment,
  • equality of terminal wealth under different strategies,
  • closedness / non-closedness diagnostics,
  • convergence patterns.

Statistical significance

  • There are no classical inferential statistics reported (no t-stats, no p-values).
  • For this kind of reproduction, that is acceptable because the paper’s claims are primarily pathwise and theorem-based.
  • The strongest evidence comes from:
    • exact equalities passing,
    • exhaustive or grid-based finite-state verification,
    • monotone or convergent sequences behaving as predicted.

Economic significance

  • Exp 2 gives the clearest utility-based economic interpretation:
    • Bank-only expected log utility: 0.27226
    • Optimal taxed strategy: 0.29246
    • Improvement: +0.02020
    • Tax-free benchmark: 0.30634
    • Tax drag: -0.01388 relative to tax-free

This is economically meaningful within the synthetic model:

  • risky investment is worthwhile,

  • taxation reduces utility but does not eliminate gains from optimal trading.

  • Exp 4 is economically important because it shows strict concavity of utility does not restore uniqueness of optimal strategies under capital-gains taxes. That is a meaningful structural distortion caused by taxation.

  • Exp 3 and Exp 7 are economically/theoretically important because they identify pathologies in attainable sets and the limits of closure results.


Experiment-by-Experiment Analysis

Exp 1 — Core Computational Reproduction of the Tax Model

Results are very strong.

Observed:

  • all required accounting identities pass,
  • positive homogeneity passes,
  • concavity passes,
  • Vα≤V0V^\alpha \le V^0Vα≤V0 holds statewise.

Reported values:

  • Vα(ω1)=2.14486119V^\alpha(\omega_1)=2.14486119Vα(ω1​)=2.14486119, Vα(ω2)=0.65946375V^\alpha(\omega_2)=0.65946375Vα(ω2​)=0.65946375
  • V0(ω1)=2.17960000V^0(\omega_1)=2.17960000V0(ω1​)=2.17960000, V0(ω2)=0.66550000V^0(\omega_2)=0.66550000V

Interpretation:

  • The taxed wealth is below frictionless wealth in both states, exactly as theory predicts.
  • The gap is small but positive:
    • ω1\omega_1ω1​: about 0.03474
    • ω2\omega_2ω2​: about 0.00604

Methodological note:

  • exp1_summary.txt also states “No-arbitrage check: arbitrage present (by design)”.
  • This is not a failure of Exp 1, because Exp 1 is an engine-verification task, not necessarily a no-arbitrage calibrated market. Still, it means one should not over-interpret this model as a theorem-wide no-arbitrage validation instance.

Assessment:

  • Fully successful as an implementation/identity verification experiment.

Images:

  • Experiment 1 bank account
  • Experiment 1 gains and taxes
  • Experiment 1 wealth comparison

Exp 2 — Existence of Utility Maximizers in Closed Finite-State Markets

Results are consistent with Theorem 3.3’s intended illustration.

Key outputs:

  • Bank-only:
    • terminal wealths: 1.31293, 1.31293
    • E[log⁡Vα]=0.27226309E[\log V^\alpha]=0.27226309E[logVα]=0.27226309
  • Optimal strategy:
    • terminal wealths: 1.63708, 1.09637
    • E[log⁡Vα]=0.29245823E[\log V^\alpha]=0.29245823E[logVα]=0.29245823
  • Tax-free benchmark:
    • terminal wealths: 1.66375, 1.10917
    • E[log⁡V0]=0.30634154E[\log V^0]=0.30634154E[logV0]=0.30634154

Comparison with expected outcomes:

  • optimizer exists: yes
  • all terminal wealths positive: yes
  • risky strategy dominates bank-only: yes
  • tax friction lowers performance vs frictionless: yes

Economic interpretation:

  • Utility gain over bank-only: +7.4% relative to bank-only utility level (0.0202 / 0.2723 roughly).
  • Tax drag vs frictionless: about -4.5% relative to tax-free utility level (0.0139 / 0.3063 roughly).

Assessment:

  • This experiment appears well reproduced.
  • It is an illustration rather than a replication of exact paper numbers, but it captures the theorem’s substance.

Images:

  • Experiment 2 utility surface
  • Experiment 2 wealth comparison

Exp 3 — Example 3.4: Non-Closedness and Non-Attainment

This is the weakest quantitative reproduction, though the qualitative conclusion is still reproduced.

What matches:

  • The crucial identity Vα(1,Nn)=(1−α)V0(1,Nn)+αV^\alpha(1,N^n)=(1-\alpha)V^0(1,N^n)+\alphaVα(1,Nn)=(1−α)V0(1,Nn)+α on {Y≤n}\{Y\le n\}{Y≤n} is reported as confirmed statewise.
  • The experiment concludes:
    • no-arbitrage holds,
    • attainable set is not closed,
    • the log-utility supremum is not attained.

These are the paper’s main qualitative conclusions.

What does not match cleanly:

  • Reported convergence table:
nReproduced E[log⁡Vα]E[\log V^\alpha]E[logVα]u~(1)\tilde u(1)u~(1)Gap
30.3349470.1820630.152884
120.2388530.1820630.056790
500.2386470.1820630.056584

The sequence decreases toward about 0.238647, while the benchmark is 0.182063.
That remaining difference of 0.0566 is far beyond any plausible numerical tolerance for a theorem-level equality.

Material discrepancy:

  • If the paper’s claim is u(1)=u~(1)u(1)=\tilde u(1)u(1)=u~(1), the reproduced numeric table does not establish that equality.
  • The repository itself notes this is a truncated numerical setup and says the sequence approaches a finite limit “from above” while still being “consistent with the theoretical construction.” That is a reasonable qualitative defense, but quantitatively it is not a close match.

Additional red flag:

  • exp3_conditional_params.csv includes negative entries for some probability-like columns (q2, q3, p2, p3 at small k), despite the methodology text saying all state probabilities should remain strictly positive. These may be intermediate signed weights rather than actual physical probabilities, but as labeled they are potentially confusing and should have been explained more carefully.
  • Also, some reported p1,kp_{1,k}p1,k​, p2,kp_{2,k}p2,k​ in the CSV differ from the concise values shown in RESULTS.md, suggesting summary rounding or a different definition; not fatal, but it weakens reproducibility transparency.

Assessment:

  • Qualitative theorem pathology reproduced
  • Quantitative benchmark match not reproduced

Images:

  • Experiment 3 utility convergence

Exp 4 — Example 3.12: Non-Uniqueness of Optimal Strategies

This is one of the strongest reproductions in the repository.

Direct evidence:

  • Vα(1,N2)=Vα(1,N~2)V^\alpha(1,N^2)=V^\alpha(1,\tilde N^2)Vα(1,N2)=Vα(1,N~2) exactly in both states:
    • 3.9701513.9701513.970151 vs 3.9701513.9701513.970151 in w1w1w1
    • 0.381250.381250.38125 vs 0.381250.381250.38125 in w2w2w2
  • Strategies are distinct in lot composition:
    • e.g. at w1w1w1, lot (i=0,t=0)(i=0,t=0)(i=0,t=0): N2=2.0N^2=2.0N2= vs

Additional conditions:

  • y1>0>y2y_1>0>y_2y1​>0>y2​: PASS
  • y1>−y2y_1>-y_2y1​>−y2​: PASS
  • Vα(ω1)>Vα(ω2)>0V^\alpha(\omega_1)>V^\alpha(\omega_2)>0Vα(ω1​)>Vα(ω: PASS
  • both strategies optimal under constructed UUU: PASS

Interpretation:

  • This supports the paper’s point that taxation breaks the usual implication from strict concavity of utility to uniqueness of the strategy, even if terminal wealth is the same.

Assessment:

  • Very strong reproduction, both structurally and numerically.

Images:

  • Experiment 4 non-uniqueness

Exp 5 — Closedness Under Positive Structural Conditions

Results align well with Propositions 4.1–4.3.

Summary:

  • Prop 4.1 finite-state: Closed = True
  • Prop 4.2 no redundancy: Closed = True
  • Prop 4.3 weaker condition / Example 4.4: Closed = True

Supporting evidence:

  • 40 strategies enumerated for the finite-state case.
  • Reversible cone decomposition in Prop 4.2 appears trivial in the sample:
    • all entries show p (reversible) = 0, q = beta, is_reversible = False
  • This is exactly what one expects in a no-redundancy one-asset setup.

Interpretation:

  • The repository successfully contrasts the positive Section 4 results with the negative Example 3.4 pathology.

Assessment:

  • Good theorem illustration
  • Because these are finite computational illustrations rather than proofs, I would treat them as supportive but not exhaustive reproductions.

Images:

  • Experiment 5 Example 4.4

Exp 6 — Closure Characterization via Extended Strategies

Results are internally consistent and supportive of Theorem 4.5’s machinery.

Reported:

  • majorant initial capital x^=27\hat x = 27x^=27
  • majorant dominates tested family: True
  • NeffN^{eff}Neff preserves total holdings: True
  • NeffN^{eff}Neff reduces realized gains: True
  • limit wealth in closure: True

Consistency check:

  • The text correctly notes that with d=1,T=3d=1, T=3d=1,T=3, (2d+1−1)T=(22−1)3=33=27,(2^{d+1}-1)^T = (2^2-1)^3 = 3^3 = 27,(2d+1−1)T=(22−1)3=33=27, even though it first mentions “343”; the final used value 27 is the correct one. So this looks like a writing slip, not a computational issue.

Majorant evidence:

  • Example rows show Vmajorant0V^0_{\text{majorant}}Vmajorant0​ far above tested V0V^0V0:
    • at strategy 3, Vtest0=1.728V^0_{test}=1.728Vtest0​=1.728 vs majorant 55.666465 (w1) and 27.519619 (w2)

Interpretation:

  • The experiment reproduces the constructive logic behind the theorem, especially:
    • normalized strategy representation,
    • dominance/majorant construction,
    • tax-efficient lot mapping,
    • extended-class attainment of limit wealth.

Assessment:

  • Good constructive illustration
  • Less of a paper-number replication, more of a faithful computational realization of the proof ingredients.

Images:

  • Experiment 6 closure characterization

Exp 7 — Example 4.8: Failure Without No-Arbitrage

This is also a strong reproduction.

Pathwise formulas:

  • odd kkk: V0(0,Nn)(k)=nV^0(0,N^n)(k)=\sqrt nV0(0,Nn)(k)=n​, confirmed
  • even kkk: payoff structure matches the paper’s parity design

Numerical convergence diagnostics:

  • average negative part decays quickly:
    • 0.0500 at n=5n=5n=5
    • 0.00769 at n=25n=25n=25
    • 0.000403 at n=100n=100n=100
    • 0.0000249 at n=200n=200n=200

This strongly supports the claim that the harmful even-state part vanishes while odd states explode upward.

The reported representation result:

  • H∈V0(0)‾H \in \overline{V^0(0)}H∈V0(0)​: True
  • HHH representable by extended class N~(0)\widetilde N(0)N(0): False

Interpretation:

  • This is exactly the intended counterexample showing no-arbitrage is essential for the closure characterization theorem.

One small caution:

  • The column P(∣Vn∣>ε)P(|V^n|>\varepsilon)P(∣Vn∣>ε) staying near 1 is not, by itself, the most informative convergence diagnostic; the more meaningful quantity here is the decay of the negative part and the pathwise odd/even asymmetry. Still, the main conclusion is clear.

Assessment:

  • Strong qualitative reproduction.

Images:

  • Experiment 7 Example 4.8

Statistical & Economic Significance

There are no paper-style Sharpe ratios / alphas / drawdowns to compare because this is not a return-backtest paper.

What matters instead:

  1. Exact structural validity

    • Exp 1 and Exp 4 are especially strong because they verify exact equalities or exact statewise matches.
  2. Economic meaning in utility terms

    • Exp 2 shows economically meaningful improvement from optimal risky investment despite taxes.
    • Taxes reduce utility relative to the frictionless benchmark, as expected.
  3. Mathematical significance of pathologies

    • Exp 3 and Exp 7 reproduce the non-closedness / non-attainment / failure-without-NA phenomena that are central to the paper’s contribution.

Overall, the reproduced results are economically and mathematically meaningful, even though they are not evaluated with empirical finance performance metrics.


Discrepancies

  • Experiment 3 quantitative gap is material.

    • The paper’s theoretical target is that the maximizing sequence converges to the auxiliary benchmark value.
    • The reported numbers settle around 0.23865 versus u~(1)=0.18206\tilde u(1)=0.18206u~(1)=0.18206, a gap of 0.0566.
    • This is not within any reasonable tolerance for a theorem-equality claim.
  • Conditional probability calibration in Exp 3 is not fully clean.

    • Some entries in exp3_conditional_params.csv are negative in columns that appear probability-related.
    • This could reflect intermediate state-price objects rather than true probabilities, but if so the labeling is ambiguous.
    • That ambiguity lowers confidence in the exactness of the Example 3.4 calibration.
  • Exp 1 no-arbitrage note differs from one objective framing.

    • The user’s experiment description included a no-arbitrage equivalence verification goal.
    • The reported Exp 1 model is “arbitrage present (by design),” so that specific model cannot validate the equivalence theorem.
    • This is not necessarily a failure if other models handled no-arbitrage, but it means the Exp 1 instance alone does not fully cover that objective.

Methodology Issues

Only a few relevant concerns:

  1. Illustration vs exact reproduction

    • Several experiments, especially Exp 5 and Exp 6, are computational illustrations of the theorem mechanisms rather than exact paper-calibrated replications.
    • That is acceptable, but it should be distinguished from exact numerical reproduction.
  2. Truncation dependence in Exp 3

    • The repository explicitly uses truncation-based numerics for the infinite-state example.
    • This is reasonable, but the reported benchmark mismatch suggests either:
      • truncation bias,
      • a calibration mismatch,
      • or a difference in how the auxiliary objective was computed.
  3. Limited formal test coverage

    • The results mention 37 pytest tests across tests/test_exp1.py and tests/test_exp2.py.
    • That is good for the engine and finite-state utility example, but leaves less automated validation for the more delicate infinite-state/counterexample experiments.

Reliability

  • Strengths

    • Results are internally coherent across experiments.
    • The finite-state experiments are especially reliable.
    • Structural identities are checked explicitly rather than inferred indirectly.
    • PNGs/CSVs suggest the authors produced auditable artifacts, not just prose summaries.
  • Red flags

    • Exp 3 quantitative mismatch is the main red flag.
    • Some summary text appears slightly loose or inconsistent in labeling/calibration.
    • The majorant paragraph in Exp 6 has a minor textual arithmetic slip before giving the correct final value.
  • Overall confidence

    • High confidence in the qualitative reproduction of the paper’s main claims.
    • Medium confidence in the quantitative exactness of all theorem-specific calibrations, especially Example 3.4.

Verdict

Final Decision: PARTIALLY REPRODUCED

Why:

  • The repository successfully reproduces the core qualitative findings of all selected experiments:
    • the tax engine identities,
    • utility-maximizer existence in closed finite-state settings,
    • non-uniqueness under taxation,
    • positive closedness results,
    • closure characterization machinery,
    • and the failure modes in Examples 3.4 and 4.8.
  • However, the reproduction is not fully complete quantitatively, chiefly because Experiment 3 does not numerically match the paper’s benchmark equality closely enough and some calibration details are ambiguous. So the best overall assessment is PARTIALLY REPRODUCED, not fully reproduced.

Experiments

Core Computational Reproduction of the Discrete-Time Capital-Gains-Tax Model

Implement and validate the paper’s foundational discrete-time market model with capital gains taxes under the limited-use-of-losses rule. This experiment is a model-engine verification task on synthetic, exactly specified state trees, focused on reproducing the pathwise accounting identities and structural properties stated in Section 2 and Lemma 2.3 of the paper.

Existence of Utility Maximizers in Closed Finite-State Taxed Markets

Reproduce the paper’s existence logic for expected-utility maximization in settings where the attainable terminal-wealth set is closed. This is a finite-state optimization experiment illustrating Theorem 3.3 computationally, using a synthetic model in which admissible strategies can be parameterized exactly and the utility problem can be solved directly or over a sufficiently rich finite-dimensional representation.

Reproduction of Example 3.4: No-Arbitrage Without Closedness and Non-Attainment of the Utility Maximum

Reproduce the paper’s main counterexample showing that no-arbitrage does not imply closedness of the attainable set under limited-use-of-losses capital gains taxes, and that a log-utility maximizer may fail to exist. This is the key infinite-state theorem-counterexample experiment and should be implemented as a computational proof-support pipeline using exact symbolic/statewise formulas plus controlled truncation only for numerical illustration.

Reproduction of Example 3.12: Non-Uniqueness of Optimal Strategies Under Taxes

Reproduce the finite-state example showing that even with strictly concave utility and no redundant stocks in the corresponding frictionless market, the maximizing taxed strategy need not be unique. This experiment centers on calibrating the finite-state parameters, constructing two distinct strategies with identical taxed terminal wealth, and verifying that both are optimal.

Closedness of the Attainable Set Under Finite-State, No-Redundancy, and Weaker Structural Conditions

Reproduce the paper’s positive closedness results by implementing representative computational instances for Proposition 4.1, Proposition 4.2, and Proposition 4.3. This experiment is a structural theorem-illustration stage focused on identifying when the taxed attainable set regains closedness despite the negative Example 3.4.

Closure Characterization via Extended Anticipative Strategies and Dominating Majorants

Implement the constructive ingredients behind the paper’s closure characterization theorem, including the normalized one-period strategy representation, the dominating majorant construction in the frictionless market, the tax-efficient strategy map N^eff, and the enlarged anticipative class \widetilde N(x). The goal is to computationally illustrate Theorem 4.5 and the associated supporting lemmas rather than to reproduce the full abstract measurable-selection proof in maximal generality.

Failure of the Closure Characterization Without No-Arbitrage: Reproduction of Example 4.8

Reproduce the paper’s counterexample showing that the closure characterization using the extended strategy class can fail when no-arbitrage is not imposed. This is a one-period, countably infinite-state frictionless example at α=0 that demonstrates the necessity of the no-arbitrage assumption in the closure theorem.

Original paperRun QCA on your paper
0
(
ω2​
)
=
0.66550000
2.0
N~2=0.56683683\tilde N^2=0.56683683N~2=0.56683683
  • and time-1 lots differ materially as well.
  • 2
    ​
    )
    >
    0