{
  "capability_id": "math.linear_algebra",
  "tool_id": "linear-system",
  "engine": "linear-algebra",
  "calculation_version": "1.10.0",
  "generated_at": "2026-09-19T13:13:12.836Z",
  "engine_build": "2026-09-19",
  "test_count": 44,
  "passed": 44,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 23,
      "passed": 23
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 19,
      "passed": 19
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/math/linear-system",
  "api": "https://www.calculatorx.com/api/v1/calc/linear-system",
  "schema_input": "https://www.calculatorx.com/schemas/math.linear_algebra.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.linear_algebra.output.json",
  "assumptions": [
    "Real matrices",
    "Order ≤ 4",
    "Not a CAS"
  ],
  "limitations": [
    "Order ≤ 4 (local small-matrix seed)",
    "Singular inverse → SINGULAR_MATRIX",
    "Not rectangular / Statistics regression / large-matrix server compute",
    "Not 2-norm κ₂ as a product / CAS / Jordan form"
  ],
  "boundary_conditions": [
    "singular inverse → SINGULAR_MATRIX",
    "unknown mode (including jordan-form) → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:be9faeb0dd90fd44f168e0b886ef014f8f10a8beec55387af17b3c692592b29c",
  "tests": [
    {
      "id": "golden-2x2",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "solve",
        "order": 2,
        "a11": 2,
        "a12": 1,
        "a21": 1,
        "a22": 1,
        "b1": 5,
        "b2": 3
      },
      "expect": {
        "x": 2,
        "y": 1,
        "status": "unique"
      },
      "expectWarning": null,
      "actual": {
        "mode": "solve",
        "order": 2,
        "A": [
          [
            2,
            1
          ],
          [
            1,
            1
          ]
        ],
        "rhs": [
          5,
          3
        ],
        "x": 2,
        "y": 1,
        "vector": [
          2,
          1
        ],
        "status": "unique",
        "det": 1,
        "formula": "Ax = b",
        "algorithm": "inverse_multiply",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 9,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-det",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "det",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 3,
        "a22": 4
      },
      "expect": {
        "det": -2
      },
      "expectWarning": null,
      "actual": {
        "mode": "det",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            3,
            4
          ]
        ],
        "det": -2,
        "formula": "det(A)",
        "algorithm": "gaussian_elimination",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 21,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-rank-singular",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "rank",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "rank": 1,
        "det": 0
      },
      "expectWarning": null,
      "actual": {
        "mode": "rank",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "rank": 1,
        "det": 0,
        "formula": "rank via Gaussian elimination",
        "algorithm": "gaussian_elimination",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-identity-3",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "solve",
        "order": 3,
        "a11": 1,
        "a12": 0,
        "a13": 0,
        "a21": 0,
        "a22": 1,
        "a23": 0,
        "a31": 0,
        "a32": 0,
        "a33": 1,
        "b1": 4,
        "b2": 5,
        "b3": 6
      },
      "expect": {
        "x": 4,
        "y": 5,
        "z": 6
      },
      "expectWarning": null,
      "actual": {
        "mode": "solve",
        "order": 3,
        "A": [
          [
            1,
            0,
            0
          ],
          [
            0,
            1,
            0
          ],
          [
            0,
            0,
            1
          ]
        ],
        "rhs": [
          4,
          5,
          6
        ],
        "x": 4,
        "y": 5,
        "z": 6,
        "vector": [
          4,
          5,
          6
        ],
        "status": "unique",
        "det": 1,
        "formula": "Ax = b",
        "algorithm": "inverse_multiply",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-eigen-diag",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "eigen",
        "order": 2,
        "a11": 2,
        "a12": 0,
        "a21": 0,
        "a22": 3
      },
      "expect": {
        "eigenvalues": [
          {
            "re": 2,
            "im": 0
          },
          {
            "re": 3,
            "im": 0
          }
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "eigen",
        "order": 2,
        "A": [
          [
            2,
            0
          ],
          [
            0,
            3
          ]
        ],
        "eigenvalues": [
          {
            "re": 2,
            "im": 0,
            "kind": "real"
          },
          {
            "re": 3,
            "im": 0,
            "kind": "real"
          }
        ],
        "eigenvectors": [
          {
            "re": [
              1,
              0
            ],
            "im": [
              0,
              0
            ],
            "residual": 0
          },
          {
            "re": [
              0,
              1
            ],
            "im": [
              0,
              0
            ],
            "residual": 0
          }
        ],
        "eigenvectors_found": 2,
        "residual_max": 0,
        "char_poly": "x² − 5x + 6",
        "solver": "quadratic",
        "det": 6,
        "formula": "det(A − λI) = 0",
        "algorithm": "faddeev_leverrier + math.polynomial.roots + nullspace",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1.5,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-lu",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "lu",
        "order": 2,
        "a11": 2,
        "a12": 1,
        "a21": 1,
        "a22": 1
      },
      "expect": {
        "singular": false
      },
      "expectWarning": null,
      "actual": {
        "mode": "lu",
        "order": 2,
        "A": [
          [
            2,
            1
          ],
          [
            1,
            1
          ]
        ],
        "L": [
          [
            1,
            0
          ],
          [
            0.5,
            1
          ]
        ],
        "U": [
          [
            2,
            1
          ],
          [
            0,
            0.5
          ]
        ],
        "P": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "p": [
          0,
          1
        ],
        "singular": false,
        "reconstruction_residual": 0,
        "det": 1,
        "formula": "PA = LU",
        "algorithm": "lu_partial_pivoting",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 9,
        "warnings": []
      },
      "tol": 1e-12
    },
    {
      "id": "golden-qr",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "qr",
        "order": 2,
        "a11": 1,
        "a12": 1,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "reconstruction_residual": 0
      },
      "expectWarning": null,
      "actual": {
        "mode": "qr",
        "order": 2,
        "A": [
          [
            1,
            1
          ],
          [
            0,
            1
          ]
        ],
        "Q": [
          [
            -1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "R": [
          [
            -1,
            -1
          ],
          [
            0,
            1
          ]
        ],
        "reconstruction_residual": 0,
        "orthogonality_residual": 0,
        "formula": "A = QR (Householder)",
        "algorithm": "householder_qr",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 4,
        "warnings": []
      },
      "tol": 1e-12
    },
    {
      "id": "golden-svd-diag",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "svd",
        "order": 2,
        "a11": 2,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "singular_values": [
          2,
          1
        ],
        "rank_numeric": 2
      },
      "expectWarning": null,
      "actual": {
        "mode": "svd",
        "order": 2,
        "A": [
          [
            2,
            0
          ],
          [
            0,
            1
          ]
        ],
        "U": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "S": [
          [
            2,
            0
          ],
          [
            0,
            1
          ]
        ],
        "VT": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "singular_values": [
          2,
          1
        ],
        "rank_numeric": 2,
        "reconstruction_residual": 0,
        "u_orthogonality_residual": 0,
        "v_orthogonality_residual": 0,
        "formula": "A = U Σ Vᵀ",
        "algorithm": "ata_jacobi + Av/σ",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 2,
        "warnings": []
      },
      "tol": 1e-8
    },
    {
      "id": "golden-svd-sym",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "svd",
        "order": 2,
        "a11": 2,
        "a12": 1,
        "a21": 1,
        "a22": 1
      },
      "expect": {
        "reconstruction_residual": 0
      },
      "expectWarning": null,
      "actual": {
        "mode": "svd",
        "order": 2,
        "A": [
          [
            2,
            1
          ],
          [
            1,
            1
          ]
        ],
        "U": [
          [
            0.850650808352,
            0.525731112119
          ],
          [
            0.525731112119,
            -0.850650808352
          ]
        ],
        "S": [
          [
            2.61803398875,
            0
          ],
          [
            0,
            0.38196601125
          ]
        ],
        "VT": [
          [
            0.850650808352,
            0.525731112119
          ],
          [
            0.525731112119,
            -0.850650808352
          ]
        ],
        "singular_values": [
          2.61803398875,
          0.38196601125
        ],
        "rank_numeric": 2,
        "reconstruction_residual": 0,
        "u_orthogonality_residual": 0,
        "v_orthogonality_residual": 0,
        "formula": "A = U Σ Vᵀ",
        "algorithm": "ata_jacobi + Av/σ",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 9,
        "warnings": []
      },
      "tol": 1e-10
    },
    {
      "id": "golden-lstsq-unique",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "lstsq",
        "order": 2,
        "a11": 2,
        "a12": 1,
        "a21": 1,
        "a22": 1,
        "b1": 5,
        "b2": 3
      },
      "expect": {
        "x": 2,
        "y": 1,
        "residual_2": 0
      },
      "expectWarning": null,
      "actual": {
        "mode": "lstsq",
        "order": 2,
        "A": [
          [
            2,
            1
          ],
          [
            1,
            1
          ]
        ],
        "rhs": [
          5,
          3
        ],
        "x": 2,
        "y": 1,
        "vector": [
          2,
          1
        ],
        "residual_2": 0,
        "rank_numeric": 2,
        "method": "qr",
        "status": "unique",
        "singular_values": null,
        "formula": "min ‖Ax − b‖₂",
        "algorithm": "householder_qr + backsolve",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 9,
        "warnings": []
      },
      "tol": 1e-10
    },
    {
      "id": "golden-lstsq-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "lstsq",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4,
        "b1": 1,
        "b2": 0
      },
      "expect": {
        "x": 0.04,
        "y": 0.08,
        "rank_numeric": 1
      },
      "expectWarning": null,
      "actual": {
        "mode": "lstsq",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "rhs": [
          1,
          0
        ],
        "x": 0.04,
        "y": 0.08,
        "vector": [
          0.04,
          0.08
        ],
        "residual_2": 0.894427191,
        "rank_numeric": 1,
        "method": "svd_pinv",
        "status": "min_norm",
        "singular_values": [
          5,
          0
        ],
        "formula": "min ‖Ax − b‖₂",
        "algorithm": "svd_pinv",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": 1e-10
    },
    {
      "id": "golden-rref-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "rref",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "rank": 1,
        "rref": [
          [
            1,
            2
          ],
          [
            0,
            0
          ]
        ],
        "pivot_columns": [
          1
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "rref",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "rref": [
          [
            1,
            2
          ],
          [
            0,
            0
          ]
        ],
        "rank": 1,
        "pivot_columns": [
          1
        ],
        "det": 0,
        "formula": "Gauss–Jordan → RREF",
        "algorithm": "gauss_jordan_rref",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": 1e-12
    },
    {
      "id": "golden-rref-full",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "rref",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 3,
        "a22": 4
      },
      "expect": {
        "rank": 2,
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "rref",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            3,
            4
          ]
        ],
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "rank": 2,
        "pivot_columns": [
          1,
          2
        ],
        "det": -2,
        "formula": "Gauss–Jordan → RREF",
        "algorithm": "gauss_jordan_rref",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 21,
        "warnings": []
      },
      "tol": 1e-12
    },
    {
      "id": "golden-condition-diag",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "condition",
        "order": 2,
        "a11": 2,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "condition_number": 2,
        "infinite": false,
        "status": "finite"
      },
      "expectWarning": null,
      "actual": {
        "mode": "condition",
        "order": 2,
        "A": [
          [
            2,
            0
          ],
          [
            0,
            1
          ]
        ],
        "condition_number": 2,
        "infinite": false,
        "status": "finite",
        "norm": "1",
        "det": 2,
        "formula": "κ₁(A) = ‖A‖₁ ‖A⁻¹‖₁",
        "algorithm": "one_norm_inverse",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "warnings": []
      },
      "tol": 1e-12
    },
    {
      "id": "golden-condition-singular",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "condition",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "condition_number": null,
        "infinite": true,
        "status": "singular"
      },
      "expectWarning": null,
      "actual": {
        "mode": "condition",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "condition_number": null,
        "infinite": true,
        "status": "singular",
        "norm": "1",
        "det": 0,
        "formula": "κ₁(A) = ‖A‖₁ ‖A⁻¹‖₁",
        "algorithm": "one_norm_inverse",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-nullspace-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "nullspace",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "basis": [
          [
            -2,
            1
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "nullspace",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "basis": [
          [
            -2,
            1
          ]
        ],
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "residual_max": 0,
        "free_columns": [
          2
        ],
        "pivot_columns": [
          1
        ],
        "rref": [
          [
            1,
            2
          ],
          [
            0,
            0
          ]
        ],
        "det": 0,
        "formula": "dim ker A = n − rank A",
        "algorithm": "gauss_jordan_rref + free_variables",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-nullspace-full",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "nullspace",
        "order": 2,
        "a11": 1,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "dimension": 0,
        "trivial": true,
        "basis": []
      },
      "expectWarning": null,
      "actual": {
        "mode": "nullspace",
        "order": 2,
        "A": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "basis": [],
        "dimension": 0,
        "rank": 2,
        "trivial": true,
        "residual_max": 0,
        "free_columns": [],
        "pivot_columns": [
          1,
          2
        ],
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "det": 1,
        "formula": "dim ker A = n − rank A",
        "algorithm": "gauss_jordan_rref + free_variables",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-colspace-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "columnspace",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "basis": [
          [
            1,
            2
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "columnspace",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "basis": [
          [
            1,
            2
          ]
        ],
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "residual_max": 0,
        "pivot_columns": [
          1
        ],
        "rref": [
          [
            1,
            2
          ],
          [
            0,
            0
          ]
        ],
        "det": 0,
        "formula": "dim im A = rank A",
        "algorithm": "gauss_jordan_rref + pivot_columns",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-colspace-full",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "columnspace",
        "order": 2,
        "a11": 1,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "dimension": 2,
        "trivial": false,
        "basis": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "columnspace",
        "order": 2,
        "A": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "basis": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "dimension": 2,
        "rank": 2,
        "trivial": false,
        "residual_max": 0,
        "pivot_columns": [
          1,
          2
        ],
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "det": 1,
        "formula": "dim im A = rank A",
        "algorithm": "gauss_jordan_rref + pivot_columns",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-rowspace-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "rowspace",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expect": {
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "basis": [
          [
            1,
            2
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "rowspace",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            2,
            4
          ]
        ],
        "basis": [
          [
            1,
            2
          ]
        ],
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "residual_max": 0,
        "pivot_columns": [
          1
        ],
        "rref": [
          [
            1,
            2
          ],
          [
            0,
            0
          ]
        ],
        "det": 0,
        "formula": "dim row A = rank A",
        "algorithm": "gauss_jordan_rref + nonzero_rows",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-rowspace-full",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "rowspace",
        "order": 2,
        "a11": 1,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "dimension": 2,
        "trivial": false,
        "basis": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "rowspace",
        "order": 2,
        "A": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "basis": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "dimension": 2,
        "rank": 2,
        "trivial": false,
        "residual_max": 0,
        "pivot_columns": [
          1,
          2
        ],
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "det": 1,
        "formula": "dim row A = rank A",
        "algorithm": "gauss_jordan_rref + nonzero_rows",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-leftnullspace-rank1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "leftnullspace",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 3,
        "a22": 6
      },
      "expect": {
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "basis": [
          [
            -3,
            1
          ]
        ]
      },
      "expectWarning": null,
      "actual": {
        "mode": "leftnullspace",
        "order": 2,
        "A": [
          [
            1,
            2
          ],
          [
            3,
            6
          ]
        ],
        "basis": [
          [
            -3,
            1
          ]
        ],
        "dimension": 1,
        "rank": 1,
        "trivial": false,
        "residual_max": 0,
        "free_columns": [
          2
        ],
        "pivot_columns": [
          1
        ],
        "rref": [
          [
            1,
            3
          ],
          [
            0,
            0
          ]
        ],
        "det": 0,
        "formula": "dim ker Aᵀ = n − rank A",
        "algorithm": "gauss_jordan_rref + transpose + free_variables",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": null,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "golden-leftnullspace-full",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "leftnullspace",
        "order": 2,
        "a11": 1,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expect": {
        "dimension": 0,
        "trivial": true,
        "basis": []
      },
      "expectWarning": null,
      "actual": {
        "mode": "leftnullspace",
        "order": 2,
        "A": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "basis": [],
        "dimension": 0,
        "rank": 2,
        "trivial": true,
        "residual_max": 0,
        "free_columns": [],
        "pivot_columns": [
          1,
          2
        ],
        "rref": [
          [
            1,
            0
          ],
          [
            0,
            1
          ]
        ],
        "det": 1,
        "formula": "dim ker Aᵀ = n − rank A",
        "algorithm": "gauss_jordan_rref + transpose + free_variables",
        "numeric_backend": "float64",
        "singularity_threshold": 1e-15,
        "condition_number": 1,
        "warnings": []
      },
      "tol": null
    },
    {
      "id": "boundary-singular",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "inverse",
        "order": 2,
        "a11": 1,
        "a12": 2,
        "a21": 2,
        "a22": 4
      },
      "expectError": "SINGULAR_MATRIX",
      "code": "SINGULAR_MATRIX",
      "error": "Matrix is singular; inverse does not exist."
    },
    {
      "id": "boundary-jordan-form",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "jordan-form",
        "a11": 1,
        "a12": 0,
        "a21": 0,
        "a22": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be solve, det, inverse, rank, multiply, transpose, eigen, lu, qr, svd, lstsq, rref, condition, nullspace, columnspace, rowspace, or leftnullspace."
    },
    {
      "id": "property-la-solve",
      "ok": true,
      "kind": "property",
      "detail": "2x+y=5",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-la-det",
      "ok": true,
      "kind": "property",
      "detail": "det",
      "expect": -2,
      "actual": -2
    },
    {
      "id": "property-la-inv",
      "ok": true,
      "kind": "property",
      "detail": "diag inverse",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-la-rank",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 singular",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-t",
      "ok": true,
      "kind": "property",
      "detail": "transpose",
      "expect": 3,
      "actual": 3
    },
    {
      "id": "property-la-qr",
      "ok": true,
      "kind": "property",
      "detail": "QR residual",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-la-lu",
      "ok": true,
      "kind": "property",
      "detail": "LU residual",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-la-eigen",
      "ok": true,
      "kind": "property",
      "detail": "diag eigen",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-la-svd",
      "ok": true,
      "kind": "property",
      "detail": "diag SVD",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-la-svd-sym",
      "ok": true,
      "kind": "property",
      "detail": "sym SVD residual",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-la-lstsq",
      "ok": true,
      "kind": "property",
      "detail": "lstsq QR unique",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-la-lstsq-pinv",
      "ok": true,
      "kind": "property",
      "detail": "lstsq SVD min-norm",
      "expect": 0.04,
      "actual": 0.04
    },
    {
      "id": "property-la-rref",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 RREF",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-condition",
      "ok": true,
      "kind": "property",
      "detail": "κ₁ diag 2,1",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-la-nullspace",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 kernel",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-colspace",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 image",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-rowspace",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 rowspace",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-leftnullspace",
      "ok": true,
      "kind": "property",
      "detail": "rank-1 left kernel ≠ right kernel",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-la-id3",
      "ok": true,
      "kind": "property",
      "detail": "I₃ solve",
      "expect": 9,
      "actual": 9
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 44,
      "total": 44,
      "golden": 23,
      "boundary": 2,
      "property": 19
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-19T13:08:30.598Z",
  "rendered_at": "2026-09-19T13:13:12.836Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.10.0",
    "artifacts": {
      "engine": "1.10.0",
      "page": "1.10.0",
      "capability": "1.10.0",
      "evidence": "1.10.0",
      "input_schema": "1.10.0",
      "output_schema": "1.10.0",
      "mcp_contract": "1.10.0"
    },
    "digests": {
      "input_schema_sha256": "ed209544d5848c991c7b1a8438f084152cac2c05d88b6ed5b1144fe148ae2746",
      "output_schema_sha256": "b23ad2c9b4032d97dc75b76daa7987cca6d6e247dc4f600aaf797da8ebd6fa56",
      "evidence_sha256": "efd62cb848405357f86b9c75a302c91b4d382c5657f0fd7b3e6461f14cf1477b",
      "evidence_core_sha256": "efd62cb848405357f86b9c75a302c91b4d382c5657f0fd7b3e6461f14cf1477b",
      "capability_sha256": "cf7421e43ee07244daadee6423bec56864d508cfc09f91bc1b5f077b4fdfeaaa",
      "engine_sha256": "5d05e6c8e156321ebcd1a2eae9b3667ec482c75ebd97a95bdbeb75a56f4f7c13",
      "mcp_contract_sha256": "5ec841903d7e83092fbc411a04566da5da7c40343afc5821b0bf6dd72c86cb8f"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.10.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
