{
  "artifact_bindings_sha256": {
    "docs/audit/VVA-REPORT.md": "04db031e71bfbc62b1f3aae6f6180585f3a6f60f5cf7837e59be0a168d45784d",
    "include/vericull_core.h": "140b7c680461a63c8d0774f5eee73d871541a5f74851700ddfb958005f274ad1",
    "native/vericull_core.cpp": "75cfaab080c8de25bb447bc583a9f93c5bb29cb24d953fb5142f61ceeb2412bd",
    "public/audit/audit-defect-ledger.json": "53da6359a83aa154673d7292867f7e0198eb64b00ff0bf5ee81df05465b799fd",
    "public/audit/formal-verification-report.json": "ebd8b2466bde49903fb11f7940c5a0ba7eb27216a4690f3bff1ff363a5ce5916",
    "tests/formal/asan_boundary_harness.c": "32943739c95015731d81b38df52a8bf89f59a5feb2b4c8b478c61bd278a8064b",
    "tests/formal/harness_abi_and_bounds.c": "d4b1cfddab6bd60665e583da8378da1945690e09e5095619f59b4d4f3bd196ff",
    "tests/formal/z3_invariants.smt2": "91fd5d51364d40af8374db7a2730a475f0246dedb8de953bd2fb8a3797d60588"
  },
  "generated_on": "2026-11-23",
  "manifesto_anchor": {
    "author": "Byung Chul (Alex) Lee, Founder, RISCON Labs",
    "en": "One human audits one ASI. What leads is existence, not capability.",
    "ko": "\ud558\ub098\uc758 ASI\ub97c \ud558\ub098\uc758 \uc778\uac04\uc774 \uac10\uc0ac\ud55c\ub2e4. \uc55e\uc11c\ub294 \uac83\uc740 \ub2a5\ub825\uc774 \uc544\ub2c8\ub77c \uc874\uc7ac\ub2e4."
  },
  "native_source_sha256": "62d78d138c315e15297136f475d9cb75d71f3d2ba713fe1e3680ffcd0a8c0d01",
  "negative_controls": [
    {
      "caught": true,
      "evidence": "formal_verify: CBMC control NC-CBMC-1-has-bytes-wrap failed strict targeted assertion-ID / 0 .unwind. check",
      "id": "NC-P6-1-cbmc-unwind-failure-rejected",
      "kind": "vva_formal_verifier_control"
    },
    {
      "caught": true,
      "evidence": "formal_verify: CBMC control NC-CBMC-2-claim-hint-text failed strict targeted assertion-ID / 0 .unwind. check",
      "id": "NC-P6-2-cbmc-wrong-target-assertion-rejected",
      "kind": "vva_formal_verifier_control"
    },
    {
      "caught": true,
      "evidence": "soundness_boundaries missing or disagrees verbatim with defect ledger",
      "id": "NC-P6-3-missing-soundness-boundary-rejected",
      "kind": "vva_boundary_disclosure_control"
    }
  ],
  "provenance": {
    "accreditation_status": "NOT_ACCREDITED_DRY_LAB_ONLY",
    "composite_score": "none",
    "field_exploit_execution": 0,
    "human_auditor_decision": null
  },
  "schema": "vericull.phase6-formal-vva.v1",
  "soundness_boundaries": [
    {
      "category": "formal_verification_scope",
      "id": "LIM-05-CBMC-CPP-STL-SCOPE",
      "summary": "CBMC 6.11.0 verifies unmodified include/vericull_core.h and C11 transcriptions of core arithmetic/isolation guards; Apple libc++ STL templates in native/vericull_core.cpp are outside CBMC's C++ parser and are checked instead by direct Clang ASan+UBSan compilation and 3-runtime differential execution."
    },
    {
      "category": "floating_point_specification_boundary",
      "id": "LIM-07-WILSON-BINARY32-BOUNDARY",
      "summary": "Production ABI 401/402 computes Wilson 95% lower bounds in deterministic IEEE-754 binary32 (wilson_ci95_f32 / stage_quorum), matching across C++17, Python and JavaScript. Across all 199,994 nearest-boundary (k, n) pairs for n in 4..100000, binary32 stage_quorum disagrees with exact rational Wilson arithmetic on 110 pairs (recorded in formal-verification-report.json)."
    },
    {
      "category": "floating_point_libm_boundary",
      "id": "LIM-08-LIBM-EXPF-ULP-BOUNDARY",
      "summary": "native/vericull_core.cpp:1600 computes GBDT sigmoid via std::exp(float) (single-precision libm expf), whereas Python (vericull/core.py) and JavaScript (public/scripts/verifier-core.js) evaluate binary64 exp before rounding to binary32. In the pre-committed 512-case Phase 5 calibration benchmark (phase5-calibration-report.json), case RT-05-15 (p=0.2280) exhibits a 2-ULP (2.98e-08) prob_bits difference between native C++17 and Python/JS with zero decision/router_action divergences across all 512 cases."
    }
  ],
  "summary": {
    "asan_assertions_checked": 21232,
    "asan_live_source_controls_caught": 2,
    "asan_seeded_vectors": 2048,
    "asan_ubsan_findings": 0,
    "cbmc_properties_checked": 159,
    "cbmc_properties_failed": 0,
    "cbmc_targeted_controls_caught": 4,
    "cbmc_unwind_properties_failed": 0,
    "invariants_traced": 10,
    "live_functions_synced": 6,
    "soundness_limitations_bound": 3,
    "total_mechanized_controls_caught": 13,
    "total_mechanized_controls_total": 13,
    "wilson_binary32_disagreements": 110,
    "z3_controls_caught": 7,
    "z3_theorems_proven": 7
  },
  "traceability_matrix": [
    {
      "asan_covered": false,
      "cbmc_target": "check_abi_constants_and_layout",
      "contract": "C11 ABI 401/402 exact LP64 struct sizes (VericullLexStats=24, VericullClaim=88, VericullReport=328, VericullReport402=344), key field offsets, and magic constants",
      "fault_controls": [],
      "id": "VVA-01-ABI-LAYOUT",
      "soundness_boundary": "Verified statically by CBMC against unmodified include/vericull_core.h on LP64 ABI (not re-checked by vericull_selftest_bounds under ASan).",
      "z3_theorems": []
    },
    {
      "asan_covered": true,
      "cbmc_target": "check_has_bytes_all_uint32",
      "contract": "Overflow-free unsigned lookahead has_bytes(len, pos, n)",
      "fault_controls": [
        "NC-CBMC-1-has-bytes-wrap",
        "NC_Z3_1_has_bytes_wrap"
      ],
      "id": "VVA-02-N3-LOOKAHEAD",
      "soundness_boundary": "Universal over all 2^96 uint32 triples; C++17 callers exercised via ASan (LIM-05).",
      "z3_theorems": [
        "N3_has_bytes_no_wrap"
      ]
    },
    {
      "asan_covered": true,
      "cbmc_target": "check_effective_lang_isolation",
      "contract": "Untrusted claim_hint can never escalate to VERICULL_LANG_TEXT (7)",
      "fault_controls": [
        "NC-CBMC-2-claim-hint-text",
        "NC_Z3_5_lang_isolation_broken",
        "NC-ASAN-2-claim-hint-text-escalation"
      ],
      "id": "VVA-03-N5-LANG-ISOLATION",
      "soundness_boundary": "Universal over all 2^64 (trusted_mode, claim_hint) pairs plus unmodified C++17 ASan fault control.",
      "z3_theorems": [
        "N5_lang_isolation"
      ]
    },
    {
      "asan_covered": true,
      "cbmc_target": "check_js_line_terminator_len",
      "contract": "Memory-safe ECMAScript LF/CR/U+2028/U+2029 lookahead",
      "fault_controls": [
        "NC-CBMC-4-js-lineterm-oob"
      ],
      "id": "VVA-04-C2-JS-LINETERM",
      "soundness_boundary": "CBMC bounded to symbolic 8-byte buffers (limit <= 8, 0 .unwind.); larger inputs exercised via ASan.",
      "z3_theorems": []
    },
    {
      "asan_covered": true,
      "cbmc_target": "check_skip_line_splices",
      "contract": "C/C++ phase-2 backslash-LF/CRLF splice skipping bounds and termination",
      "fault_controls": [],
      "id": "VVA-05-PHASE2-SPLICE",
      "soundness_boundary": "CBMC bounded to symbolic 8-byte buffers (--unwind 10, 0 .unwind.); lookahead primitive guarded by NC-CBMC-1; unbounded lexer exercised via ASan (LIM-05).",
      "z3_theorems": []
    },
    {
      "asan_covered": true,
      "cbmc_target": "check_static_invariant_polarity",
      "contract": "Static invariant polarity requires both positive and wide negative claims",
      "fault_controls": [
        "NC-CBMC-3-polarity-drop-neg-width"
      ],
      "id": "VVA-06-STATIC-POLARITY",
      "soundness_boundary": "CBMC bounded to num_claims == 2 and hlen <= VERICULL_MAX_HAYSTACK_LEN (0 .unwind.).",
      "z3_theorems": []
    },
    {
      "asan_covered": true,
      "cbmc_target": null,
      "contract": "Explicit 32-edge DAG walk termination bound (<= 31 steps in <= 32-node ranked DAG), R3-15 reachability, 3-band partition",
      "fault_controls": [
        "NC_Z3_2_action_gap_at_030",
        "NC_Z3_6_tree_cycle_nontermination",
        "NC-ASAN-1-r3-15-reachability-removed"
      ],
      "id": "VVA-07-VC-R02-DAG-BANDS",
      "soundness_boundary": "Z3 proves 32-edge walk impossibility directly over explicit DAG edges (paired with a concrete 2-node cyclic graph counterexample) and real-line partition; live C++17 float32 & libm expf 2-ULP bound documented in LIM-08.",
      "z3_theorems": [
        "VC_R02_action_partition",
        "VC_R02_tree_acyclic_depth_bound"
      ]
    },
    {
      "asan_covered": true,
      "cbmc_target": null,
      "contract": "Wilson 95% quorum specification and n=4..100000 binary32 boundary audit",
      "fault_controls": [
        "NC_Z3_3_wilson_drop_k_le_n_guard"
      ],
      "id": "VVA-08-VC-R04-WILSON",
      "soundness_boundary": "Exact rational Wilson separated from binary32 ABI (110/199,994 boundary disagreements, LIM-07).",
      "z3_theorems": [
        "VC_R04_wilson_quorum_guards"
      ]
    },
    {
      "asan_covered": true,
      "cbmc_target": null,
      "contract": "Non-empty fresh-issuance (!num_claims_zero && !legacy_aggregate) ambiguity forces QUARANTINED_HOLD; DETERMINISTIC_IMPACT requires !num_claims_zero, claims_ok, stage_mask S4 bit, S4 quorum, and positive anchor",
      "fault_controls": [
        "NC_Z3_7_ambiguity_bypass_to_impact"
      ],
      "id": "VVA-09-ABI402-VERDICT",
      "soundness_boundary": "Z3 proves three properties over the modeled boolean decision tree (non-empty fresh-issuance !num_claims_zero && !legacy_aggregate ambiguity hold == 1, DETERMINISTIC_IMPACT == 4 necessary conditions including !num_claims_zero and stage_mask S4 bit, and verdict range 0..4); branch order alignment with native/vericull_core.cpp:1315-1371 is audited by inspection, and full C++17 adjudication is dynamically sanitized via ASan+UBSan (LIM-05).",
      "z3_theorems": [
        "ABI402_verdict_dominance_and_ambiguity_hold"
      ]
    },
    {
      "asan_covered": false,
      "cbmc_target": null,
      "contract": "Normalized micro-dollar int64 range and order isomorphism (Python/JS Audit Gate)",
      "fault_controls": [
        "NC_Z3_4_microdollar_13_digits_overflows_int64"
      ],
      "id": "VVA-10-N8-MICRODOLLAR",
      "soundness_boundary": "Z3 proves normalized (int_part, frac_part) int64 arithmetic; decimal/JSON string parsing verified by Python/JS oracle O6 and Phase 5 suite (not part of C++17 native ABI).",
      "z3_theorems": [
        "N8_microdollar_exact_int64"
      ]
    }
  ]
}
