← All status

Accounting

Accounting

Lean4 axiomatic kernel for the financial domain. TREND + MOMENTUM + OPTIONS-RISK + SECTOR + DRAWDOWN over portfolios. Defined-risk options only — six strategies enforced at the Strategy enum type level and re-checked by the OPTIONS-RISK predicates. Each verifier run produces a per-predicate report.json + proof-DAG graph.json + intro-rule loci.json — surfaced here as the recent-runs table + latest-run diagram + predicate roster.

version bf1f52572b17
source accounting/lake-manifest.json@bf1f52572b17
built 2026-05-24T20:33:02Z
OK

Frameworks — module readiness

Five frameworks. OPTIONS-RISK enforces the defined-risk allow-list at the type level (6 strategies). Focused = predicates + axioms compile under the current toolchain.

Frameworks — module readiness Five frameworks. OPTIONS-RISK enforces the defined-risk allow-list at the type level (6 strategies). Focused = predicates + axioms compile under the current toolchain. TREND MA cross · slope · R² MOMENTUM RSI · MACD · ROC OPTIONS-RISK defined-risk allow-list (6) SECTOR GICS concentration cap DRAWDOWN max-DD · time-under-water

Verifier-run statistics

Aggregate over all examples/<id>/report.json artefacts.

Verifier runs

3

Portfolios elaborated against the kernel.

Accepted

OK
3

Kernel verdict: ACCEPTED — every top-level judgment elaborates.

Rejected

OK
0

Kernel verdict: REJECTED — at least one element disproved.

Latest run

31.1h ago

Balance

Recent verifier runs One row per portfolio elaborated against the kernel. Verdict pill reflects whether every top-level judgment type-checks; the expand row enumerates each kernel rejection's locus (or, when accepted, the judgments proved).
IDPortfolioFrameworksJudgmentsPredicatesVerdictFailuresRun at
balance_sampleBalance (as of 2026-05-15)DRAWDOWN · MOMENTUM · OPTIONS-RISK · SECTOR · TRENDis_uptrend, has_momentum, defined_risk_only, is_clean, no_violations, drawdown_disciplined24 / 24 TrueACCEPTED02026-05-23T13:24:48Z
hawk_sampleHawk (as of 2026-04-26)OPTIONS-RISK · SECTOR · TRENDis_uptrend, has_violation, defined_risk_only, is_clean7 / 8 TrueACCEPTED02026-05-16T21:50:58Z
single_ticker_sampleSingle-Aapl (as of 2026-04-26)TRENDis_uptrend4 / 4 TrueACCEPTED02026-05-16T21:46:19Z
Sorted by runFinishedAt, descending.

Balance — intro-rule shape across 5 judgment(s)

One node per kernel-required element, coloured by per-element verdict. Round nodes are derived structures/theorems; rectangles are predicate slots. The portfolio root is focused.

Balance — intro-rule shape across 5 judgment(s) One node per kernel-required element, coloured by per-element verdict. Round nodes are derived structures/theorems; rectangles are predicate slots. The portfolio root is focused. TREND MOMENTUM OPTIONS-RISK delegate SECTOR DRAWDOWN Balance Trend.is_uptrend TREND smaCross ✓ True · Low slope ✓ True · Medium rSquared ✓ True · Low adx ✓ True · Low Momentum.has_momentum MOMENTUM rsi ✓ True · Low macd ✓ True · Low roc ✓ True · Low rank ✓ True · Stubbed OptionsRisk.is_clean OPTIONS-RISK OptionsRisk.defined_risk_only OPTIONS-RISK noNaked ✓ True · Stubbed debitOnly ✓ True · Stubbed Sector.no_violations SECTOR ∀ s, cap_respected ✓ 11 of 11 Drawdown.drawdown_disciplined DRAWDOWN maxDD ✓ True · Stubbed tuw ✓ True · Stubbed recovers ✓ True · Stubbed
Predicate roster — Balance Per-predicate atomic view of the most recent run. Each row is one Bool the kernel consumed via Facts.lean; expand the row for evidence and uncertainty rationale.
#PredicateArgsValueUncertaintyEvidenceFrameworkKernel locus
DRAWDOWN
22max_drawdown_leqBalance 0.15Truestubbedscripts/extract_facts.py — stubbedDRAWDOWN
23time_under_water_leqBalance 90Truestubbedscripts/extract_facts.py — stubbedDRAWDOWN
24recovery_withinBalance 60Truestubbedscripts/extract_facts.py — stubbedDRAWDOWN
MOMENTUM
5rsi_in_rangeBalance 50.0 70.0TruelowFetched RSI(14) via data/parquet/ta-reference/<symbol>.parquet for all balance_sample holdingsMOMENTUM
6macd_bullish_crossBalanceTruelowPortfolio: balance_sample (7 equity holdings, as_of: 2026-05-15, window: 1Y = 2025-05-15..2026-05-15)MOMENTUM
7roc_positiveBalanceTruelowComputed 1Y ROC for 7 holdingsMOMENTUM
8momentum_percentile_geqBalance GicsSectorsUniverse 60.0Truestubbedscripts/extract_facts.py — stubbedMOMENTUM
OPTIONS-RISK
9no_naked_short_optionsBalanceTruestubbedscripts/extract_facts.py — stubbedOPTIONS-RISK
10debit_onlyBalanceTruestubbedscripts/extract_facts.py — stubbedOPTIONS-RISK
SECTOR
11cap_respectedBalance Accounting.GicsSector.InformationTechnology 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
12cap_respectedBalance Accounting.GicsSector.ConsumerDiscretionary 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
13cap_respectedBalance Accounting.GicsSector.Financials 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
14cap_respectedBalance Accounting.GicsSector.HealthCare 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
15cap_respectedBalance Accounting.GicsSector.ConsumerStaples 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
16cap_respectedBalance Accounting.GicsSector.Industrials 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
17cap_respectedBalance Accounting.GicsSector.Energy 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
18cap_respectedBalance Accounting.GicsSector.Utilities 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
19cap_respectedBalance Accounting.GicsSector.Materials 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
20cap_respectedBalance Accounting.GicsSector.RealEstate 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
21cap_respectedBalance Accounting.GicsSector.CommunicationServices 0.30Truestubbedscripts/extract_facts.py — stubbedSECTOR
TREND
1sma_cross_upBalanceTruelowcomputed via data_view.py ta --symbol <SYM> --start 2025-07-19 --end 2026-05-15 — 5 of 7 holdings show SMA(50) > SMA(200) as of 2026-05-15TREND
2slope_positiveBalanceTruemediumwindow: 2025-05-15 to 2026-05-15 (exactly 1 year)TREND
3r_squared_geqBalance 0.5TruelowFetched 252 bars for AAPL (2025-05-15..2026-05-15): R²=0.6889, slope=+0.00130, 251 trading daysTREND
4adx_geqBalance 20.0TruelowADX(14) as of 2026-05-15 for balance_sample holdings: AAPL=29.584, MSFT=44.252, V=29.004, COST=23.065, AMZN=22.549, SPY=25.468, RSP=14.521TREND
DRAWDOWN · MOMENTUM · OPTIONS-RISK · SECTOR · TREND — 24 of 24 True.

Metrics

frameworkCount
5
frameworksPresent
5
runsTotal
3
runsAccepted
3
runsRejected
0
latestRunId
balance_sample
latestRunAt
2026-05-23T13:24:48Z
latestVerdict
ACCEPTED
latestProofGraphUrl
https://qresev.quantapix.com/proof-graph/run/balance_sample/