{
  "capability_id": "mechanical.statics.beam_deflection",
  "calculation_version": "1.0.0",
  "protocol_version": "1.0.0-proposed",
  "protocol_document_status": "proposed",
  "verification_revision": "2026-09-27.o2-o3",
  "oracle": {
    "class": "O3",
    "library": "mpmath 1.4.1",
    "mpmath_dps": 80,
    "backend": null,
    "rounding": null,
    "generator_id": "beam-deflection-mpmath-o3",
    "generator_version": "1.0.0",
    "generator_sha256": "f84f2547104951ea3db963d2dcdfd8dab72a415796702c4ff180c4882f4be663",
    "table_sha256": "ac85afeb2106dd775e07c517629996243e2a59b8a3f2760d5e262c84a0bd27ac",
    "seed": "20260927.beam-deflection-o3",
    "independent_of_iut": true
  },
  "claim_scope": "O2: delta vs a separate-module identity (≤2 ULP). Not a cantilever, not a distributed load, and not an indeterminate beam. ≤2 ULP vs O3 applies only to the published tabulated beam-deflection vectors.",
  "commands": {
    "regenerate_table": "python3 generate-beam-deflection-o3.py",
    "regenerate_table_repo": "python3 scripts/lib/cvp/oracles/generate-beam-deflection-o3.py",
    "independent_rest": "Compare POST /api/v1/calc/beam-deflection against /developers/cvp/reproduce/beam-deflection-o3-tables.json",
    "run_cvp": "npm run cvp:run -- --capability mechanical.statics.beam_deflection",
    "rest_example": "POST https://www.calculatorx.com/api/v1/calc/beam-deflection"
  },
  "public_files": {
    "table": "/developers/cvp/reproduce/beam-deflection-o3-tables.json",
    "table_url": "https://www.calculatorx.com/developers/cvp/reproduce/beam-deflection-o3-tables.json",
    "generator": "/developers/cvp/reproduce/generate-beam-deflection-o3.py",
    "generator_url": "https://www.calculatorx.com/developers/cvp/reproduce/generate-beam-deflection-o3.py",
    "checker": "/developers/cvp/reproduce/check-math-o3-rest.py",
    "checker_url": "https://www.calculatorx.com/developers/cvp/reproduce/check-math-o3-rest.py",
    "manifest": "/evidence/mechanical.statics.beam_deflection/1.0.0.cvp.json",
    "this_file": "/evidence/mechanical.statics.beam_deflection/reproduce.json"
  },
  "result_summary": {
    "passed": 8,
    "total": 8,
    "failed": 0,
    "max_error_ulp": 1,
    "threshold_ulp": 2,
    "max_threshold_ulp": 2
  },
  "vectors": [
    {
      "id": "o3-check",
      "kind": "check",
      "inputs": {
        "P": "480",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 80,
        "P": 480,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_deflection",
        "P": 480,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 80,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-SI",
      "kind": "SI",
      "inputs": {
        "P": "1000",
        "L": "4",
        "E": "200e9",
        "I": "1e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0006666666666666666,
        "P": 1000,
        "L": 4,
        "E": 200000000000,
        "I": 0.00001
      },
      "actual": {
        "model": "beam_deflection",
        "P": 1000,
        "L": 4,
        "E": 200000000000,
        "I": 0.00001,
        "delta": 0.0006666666666666665,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-alias",
      "kind": "alias",
      "inputs": {
        "load": "960",
        "span": "2",
        "modulus": "1",
        "Ix": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 160,
        "P": 960,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_deflection",
        "P": 960,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 160,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-awkward",
      "kind": "awkward",
      "inputs": {
        "P": "137",
        "L": "3.5",
        "E": "2.1e5",
        "I": "0.83"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0007020791499330656,
        "P": 137,
        "L": 3.5,
        "E": 210000,
        "I": 0.83
      },
      "actual": {
        "model": "beam_deflection",
        "P": 137,
        "L": 3.5,
        "E": 210000,
        "I": 0.83,
        "delta": 0.0007020791499330656,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-neg",
      "kind": "signed",
      "inputs": {
        "P": "-480",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": -80,
        "P": -480,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_deflection",
        "P": -480,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": -80,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-small",
      "kind": "small",
      "inputs": {
        "P": "10",
        "L": "1",
        "E": "1000",
        "I": "0.01"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.020833333333333332,
        "P": 10,
        "L": 1,
        "E": 1000,
        "I": 0.01
      },
      "actual": {
        "model": "beam_deflection",
        "P": 10,
        "L": 1,
        "E": 1000,
        "I": 0.01,
        "delta": 0.020833333333333332,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-stiff",
      "kind": "stiff",
      "inputs": {
        "P": "5000",
        "L": "3",
        "E": "210e9",
        "I": "2e-4"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00006696428571428572,
        "P": 5000,
        "L": 3,
        "E": 210000000000,
        "I": 0.0002
      },
      "actual": {
        "model": "beam_deflection",
        "P": 5000,
        "L": 3,
        "E": 210000000000,
        "I": 0.0002,
        "delta": 0.00006696428571428572,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-long",
      "kind": "long",
      "inputs": {
        "P": "200",
        "L": "8",
        "E": "70e9",
        "I": "5e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0006095238095238095,
        "P": 200,
        "L": 8,
        "E": 70000000000,
        "I": 0.00005
      },
      "actual": {
        "model": "beam_deflection",
        "P": 200,
        "L": 8,
        "E": 70000000000,
        "I": 0.00005,
        "delta": 0.0006095238095238095,
        "solver": "simply supported midspan",
        "convention": "Simply supported span with one concentrated load at midspan. δ = P L³/(48 E I). Positive P is the positive deflection direction. I is an input. A cantilever and a distributed load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    }
  ]
}
