LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Pathwise Portfolio Theory and Market Viability

Open repository
Jul 22, 2026
Mathematical Finance

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository reproduces the qualitative core claims of both Example 4.16 and Example 4.17 very well: all extracted growth–numéraire characteristics are numerically zero and viability fails via stress portfolios with exploding terminal wealth. However, because this is a mathematical/pathwise verification rather than an empirical asset-pricing study, there are no paper-style return/Sharpe/alpha/t-stat metrics to match, and one numerical issue appears in Experiment 1 through overflow/underflow in wealth representation.

Results Comparison

Since the selected experiments are deterministic/pathwise constructions, the relevant “metrics” are identity checks, convergence diagnostics, exact formula matches, and viability outcomes rather than conventional finance performance statistics.

Experiment 1 — Example 4.16

MetricPaper / ExpectedReproducedDiffStatus
Trend signal αh,D(t)\alpha^{h,D}(t)
αh,D(t)
0 identically
max abs 3.45×10−133.45\times10^{-13}3.45×10−13
negligible
Match
Accumulated trend Ah,D(t)A^{h,D}(t)Ah,D(t)0max abs 7.95×10−157.95\times10^{-15}7.95×10−15negligibleMatch
Quadratic covariation Ch,D(t)C^{h,D}(t)Ch,D(t)0 analyticallydiscrete QV decreases to 0none materiallyMatch
Operational clock Oh,D(t)O^{h,D}(t)Oh,D(t)000Match
Local characteristics ah,D,ch,Da^{h,D}, c^{h,D}ah,D,ch,D000Match
Maximal growth gh,Dg^{h,D}gh,D, cumulative growth Gh,D(T)G^{h,D}(T)Gh,D(T)000Match
Canonical portfolio νh,D(t)\nu^{h,D}(t)νh,D(t)000Match
Exact stress return slope $\int_0^T\dot R^2dt$1024π2≈10106.471024\pi^2 \approx 10106.471024π2≈10106.4710106.46 numeric for m=1m=1m=1
Linearity of log⁡XT\log X_TlogXT​ in mmmexact linearreported exact linearnegligibleMatch
Γπm(T)\Gamma_{\pi^m}(T)Γπm​(T)00 numerically0Match
Xπm(T)→∞X_{\pi^m}(T)\to\inftyXπm​(T)→∞yesyes, immediate overflow in float64implementation artifact onlyMatch
Viability failure via xm=1/XT→0x_m=1/X_T\to 0xm​=1/XT​→0yesyesnone materiallyMatch

Summary: Experiment 1 strongly reproduces the intended theorem/example logic. Every structural identity is confirmed to machine precision, and the stress-portfolio construction produces the expected divergence. The only caveat is numerical overflow/underflow in reporting XTX_TXT​ and xmx_mxm​, but the repository correctly switches attention to log-wealth where needed.


Experiment 2 — Example 4.17

MetricPaper / ExpectedReproducedDiffStatus
Trend signal αh,Dlag(t,θ)\alpha^{h,D_{\text{lag}}}(t,\theta)αh,Dlag​(t,θ)0 identically0 exactly0Match
Accumulated trend Ah,D(t,θ)A^{h,D}(t,\theta)Ah,D(t,θ)000Match
Quadratic covariation Ch,D(t,θ)C^{h,D}(t,\theta)Ch,D(t,θ)0 analyticallynumeric ≤10−5\le 10^{-5}≤10−5 at deep refinement
Operational clock Oh,D(t,θ)O^{h,D}(t,\theta)Oh,D(t,θ)000Match
Local characteristics a,ca,ca,c000Match
Maximal growth ggg, cumulative growth G(T)G(T)G(T)000Match
Canonical portfolio ν\nuν000Match
Stress return formula9mθ25(T−τ)5\frac{9m\theta^2}{5}(T-\tau)^559mθ2​(T−τ)
Terminal wealth formulaexp⁡(9mθ25(T−τ)5)\exp(\frac{9m\theta^2}{5}(T-\tau)^5)exp(59mθ2​(T−τ
Uniform lower bound over scenariosbased on θmin⁡\theta_{\min}θmin​verified0 materiallyMatch
xm→0x_m\to 0xm​→0 with financing of nonzero KKKyesyes; e.g. x1000≈7.81×10−7x_{1000}\approx 7.81\times10^{-7}x
Viability failure uniform over Θ∗\Theta_*Θ∗​yesyes0Match

Summary: Experiment 2 is reproduced very cleanly, both analytically and numerically. The repository verifies the multi-scenario, non-anticipative separation result with essentially no material discrepancy.


Statistical & Economic Significance

These experiments are not empirical trading backtests, so standard statistics such as:

  • Sharpe ratio,
  • alpha relative to a benchmark,
  • t-statistics,
  • p-values,
  • drawdown,

are not applicable in the usual sense.

Statistical significance

  • There is no sampling uncertainty here in the econometric sense.
  • The main validation is deterministic numerical agreement with exact analytic identities.
  • Numerical errors are tiny:
    • Exp 1: α\alphaα error around 10−1310^{-13}10−13, AAA around 10−1510^{-15}10−15
    • Exp 2: wealth relative error below 10−310^{-3}10−3, QV shrinking toward 0

So the equivalent of “statistical significance” is extremely strong: the implementation agrees with exact formulas to machine precision or close numerical tolerance.

Economic significance

  • Economically, the results are conceptually significant rather than practically backtest-significant.
  • The reproduced examples show a sharp separation:
    1. the growth–numéraire layer appears benign,
    2. yet viability still fails badly because admissible portfolios can generate arbitrarily large terminal wealth.
  • This is economically meaningful as a theoretical counterexample: local characteristics being zero does not imply a viable market structure.

In that sense, the economic content of the result is reproduced: the examples successfully illustrate that “good-looking local growth identities” do not guarantee boundedness or viable financing.


Discrepancies

1. No conventional paper metrics are available

  • The repository does not provide paper-vs-reproduced tables for Sharpe, alpha, returns, or significance statistics because the experiments are not built around such measures.
  • This is not a failure of reproduction; it reflects the mathematical nature of the source examples.

2. Experiment 1 has severe floating-point overflow/underflow in wealth levels

  • Reported:
    • Xπm(T)=exp⁡(m⋅1024π2)X_{\pi^m}(T)=\exp(m\cdot1024\pi^2)Xπm​(T)=exp(m⋅1024π2), which overflows float64 even for m=1m=1m=1
    • xm=1/XTx_m=1/X_Txm​=1/XT​ underflows to zero
  • This is not a conceptual discrepancy because the theory only requires divergence/inverse convergence.
  • Still, it is a numerical reporting limitation. The implementation handles this reasonably by reporting log-wealth, but the raw wealth table becomes degenerate.

3. Quadratic variation in Experiment 1 is large at coarse partitions before converging

  • The report states Cn(T)C_n(T)Cn​(T) goes from 1.28×1021.28\times10^21.28×102 at n=7n=7n=7 down to 6.17×10−16.17\times10^{-1}6.17×10−1 at n=15n=15n=15.
  • Analytically this is fine—smooth paths have zero quadratic variation in the limit—but the convergence is gradual because the sine path has very high frequency (δ=1/16\delta=1/16δ=1/16, ω≈100.53\omega\approx100.53ω≈100.53).
  • This is not a material mismatch, but it is worth noting: finite-resolution diagnostics can look numerically large before refinement is sufficiently deep.

Methodology Issues

Methodology appears to be followed correctly overall.

Strengths

  • The repository explicitly implements the intended pathwise objects:
    • window extractor logic,
    • dyadic partition QV checks,
    • stress portfolio families,
    • viability financing checks.
  • Experiment 2 correctly emphasizes the non-anticipative nature of the stress portfolio via the backward derivative rule.
  • Symbolic verification is used where appropriate.

Minor implementation issue

  • For Experiment 1, direct storage of XTX_TXT​ and xmx_mxm​ in float64 is not numerically stable due to exponential scale.
  • A more robust methodology would report only:
    • log⁡XT\log X_TlogXT​,
    • −log⁡xm-\log x_m−logxm​,
    • symbolic/exact expressions, instead of overflowed infinities and zeros.

This does not invalidate the experiment, but it slightly weakens the numerical presentation.


Reliability

Stability

  • High.
  • Both experiments report zero-valued identities consistently.
  • QV convergence behaves as expected for C1C^1C1 paths.
  • Exact-vs-numeric Föllmer returns are tightly aligned.
  • The repository reports 55/55 tests passing, which materially increases confidence.

Anomalies / red flags

  • The only real red flag is numerical overflow/underflow in Experiment 1 wealth levels.
  • This is presentation-related rather than theoretical.

Overall confidence

  • High for the qualitative and mathematical conclusions.
  • Slightly less than “full” reproduction only because the output is better interpreted as a theorem verification than a paper-style quantitative replication, and because Exp 1 raw wealth values are numerically saturated.

Embedded Figures

Experiment 1 sine path

Experiment 1 QV convergence

Experiment 1 wealth vs m

Experiment 2 cubic paths

Experiment 2 QV convergence

Experiment 2 uniform wealth / viability


Verdict

Final Decision: PARTIALLY REPRODUCED

Why:

  • The main findings are clearly reproduced for both selected experiments:
    • all extracted local/growth–numéraire quantities vanish,
    • canonical portfolio is zero,
    • viability fails via explicit stress portfolios,
    • the multi-scenario result is uniform and non-anticipative.
  • Numerical agreement with exact formulas is strong.
  • However, this is not a conventional empirical reproduction with standard quantitative finance performance metrics, and Experiment 1 suffers from overflow/underflow in raw wealth representation. Because of those presentation limitations, I would stop short of “fully reproduced,” though the substantive mathematical claims are reproduced convincingly.

Experiments

Computational verification of Example 4.16: singleton-scenario separation between growth–numéraire identities and viability

Reproduce the paper’s Example 4.16 in a fully pathwise, probability-free setting. The experiment verifies that the growth–numéraire layer holds exactly with vanishing extracted characteristics and zero canonical portfolio, while viability fails because a sequence of admissible wealth-generating portfolios produces unbounded terminal wealth on a single smooth scenario.

Computational verification of Example 4.17: multi-scenario non-anticipative separation between growth–numéraire identities and viability

Reproduce the paper’s Example 4.17 on a genuine multi-scenario path space with a non-anticipative trading rule. The experiment verifies that all local extracted characteristics vanish and the canonical portfolio is zero across the entire scenario family, yet a pathwise admissible portfolio sequence based only on backward derivatives generates terminal wealth that explodes uniformly over scenarios, implying failure of boundedness and viability.

Original paperRun QCA on your paper
tiny
Match
5
exact + numeric verified
negligible
Match
)
5
)
exact + numeric, rel. error < 10−310^{-3}10−3
tiny
Match
1000
​
≈
7.81×
10−7
none materially
Match