{
  "capability_id": "mechanical.statics.beam_moment_at_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-moment-at-mpmath-o3",
    "generator_version": "1.0.0",
    "generator_sha256": "6a8654cbcbd69e744af22de7f27a0faf211a36bf128e4e1779fa17c197ab0df2",
    "table_sha256": "804400f874bf4f5ababe60a8c0d77e1f69bdb99456fcf364abb8974e6ae8fb18",
    "seed": "20260927.beam-moment-at-o3",
    "independent_of_iut": true
  },
  "claim_scope": "O2: delta vs a separate-module identity (≤2 ULP). Not max |δ| under the same end moment, and not equal end moments. ≤2 ULP vs O3 applies only to the published tabulated beam-moment-at vectors.",
  "commands": {
    "regenerate_table": "python3 generate-beam-moment-at-o3.py",
    "regenerate_table_repo": "python3 scripts/lib/cvp/oracles/generate-beam-moment-at-o3.py",
    "independent_rest": "Compare POST /api/v1/calc/beam-moment-at against /developers/cvp/reproduce/beam-moment-at-o3-tables.json",
    "run_cvp": "npm run cvp:run -- --capability mechanical.statics.beam_moment_at_deflection",
    "rest_example": "POST https://www.calculatorx.com/api/v1/calc/beam-moment-at"
  },
  "public_files": {
    "table": "/developers/cvp/reproduce/beam-moment-at-o3-tables.json",
    "table_url": "https://www.calculatorx.com/developers/cvp/reproduce/beam-moment-at-o3-tables.json",
    "generator": "/developers/cvp/reproduce/generate-beam-moment-at-o3.py",
    "generator_url": "https://www.calculatorx.com/developers/cvp/reproduce/generate-beam-moment-at-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_moment_at_deflection/1.0.0.cvp.json",
    "this_file": "/evidence/mechanical.statics.beam_moment_at_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": {
        "M": "16",
        "x": "1",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 4,
        "M": 16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 4,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-SI",
      "kind": "SI",
      "inputs": {
        "M": "1000",
        "x": "1",
        "L": "2",
        "E": "200000000000",
        "I": "0.00001"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.000125,
        "M": 1000,
        "x": 1,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 1000,
        "x": 1,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001,
        "delta": 0.00012499999999999998,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-alias",
      "kind": "alias",
      "inputs": {
        "moment": "32",
        "span": "2",
        "modulus": "1",
        "Ix": "1",
        "x": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 8,
        "M": 32,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 32,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 8,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-awkward",
      "kind": "awkward",
      "inputs": {
        "M": "13.7",
        "x": "0.8",
        "L": "2",
        "E": "210000",
        "I": "0.83"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.000017606425702811246,
        "M": 13.7,
        "x": 0.8,
        "L": 2,
        "E": 210000,
        "I": 0.83
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 13.7,
        "x": 0.8,
        "L": 2,
        "E": 210000,
        "I": 0.83,
        "delta": 0.000017606425702811246,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-neg",
      "kind": "signed",
      "inputs": {
        "M": "-16",
        "x": "1",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": -4,
        "M": -16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": -16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": -4,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-small",
      "kind": "small",
      "inputs": {
        "M": "10",
        "x": "0.5",
        "L": "2",
        "E": "1000",
        "I": "0.01"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.15625,
        "M": 10,
        "x": 0.5,
        "L": 2,
        "E": 1000,
        "I": 0.01
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 10,
        "x": 0.5,
        "L": 2,
        "E": 1000,
        "I": 0.01,
        "delta": 0.15625,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-stiff",
      "kind": "stiff",
      "inputs": {
        "M": "500",
        "x": "1",
        "L": "2",
        "E": "210e9",
        "I": "2e-4"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0000029761904761904763,
        "M": 500,
        "x": 1,
        "L": 2,
        "E": 210000000000,
        "I": 0.0002
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 500,
        "x": 1,
        "L": 2,
        "E": 210000000000,
        "I": 0.0002,
        "delta": 0.0000029761904761904763,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-long",
      "kind": "long",
      "inputs": {
        "M": "200",
        "x": "1",
        "L": "4",
        "E": "70e9",
        "I": "5e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00003571428571428572,
        "M": 200,
        "x": 1,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005
      },
      "actual": {
        "model": "beam_moment_at_deflection",
        "M": 200,
        "x": 1,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005,
        "delta": 0.00003571428571428572,
        "solver": "simply supported end moment at a station",
        "convention": "Simply supported span with one concentrated moment at the right end. x is measured from the unloaded end. δ = M x (L² − x²)/(6 E I L). Positive M is the positive deflection direction. I is an input. x = L/2 is the midspan page. x = L/√3 is the maximum page."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    }
  ]
}
