Certified Financial Arithmetic
lattice_arith_evaluateDeterministic zero-error algebraic solver (cagr, ratio, multiply, divide, yoy_series, product_chain) over verified SEC EDGAR financial metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | cagr | ratio | multiply | divide | yoy_series | product_chain | |
| metric | No | EDGAR metric, e.g. free cash flow, revenue | |
| company | No | Ticker or name when fetching EDGAR cells | |
| factors | No | Optional comma-separated positive factors for product_chain, e.g. 0.79,0.30,1.07,4.5 | |
| periods | No | Optional comma-separated fiscal periods for yoy_series/product_chain, e.g. FY2020,FY2021,FY2022 | |
| end_period | No | End / denominator period, e.g. FY2023 | |
| low_tokens | No | Optional. When true, returns compact JSON schema. | |
| start_period | No | Start / numerator period, e.g. FY2020 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| st | No | Compact status indicator (OK | REFUSE) | |
| per | No | Compact period string | |
| val | No | Compact numeric value | |
| hash | No | Cryptographic filing audit hash | |
| cells | No | Valuation pack verified cells dictionary | |
| value | No | Verified financial metric numeric value or computed arithmetic result | |
| period | No | Fiscal reporting period | |
| reason | No | Explanation when SAFE_REFUSAL is returned | |
| status | No | Verification status: VERIFIED_SUCCESS | SAFE_REFUSAL | COMPLETE | OK | |
| company | No | Company name or ticker symbol | |
| concept | No | US-GAAP / XBRL financial concept | |
| operands | No | Underlying verified metric operands with accessions | |
| formatted | No | Formatted monetary or percentage string | |
| provenance | No | SEC EDGAR filing provenance details |