{
  "all_passed": true,
  "fault_controls_caught": 6,
  "fault_controls_total": 6,
  "fault_injection_negative_controls": [
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H1_SEVERE_G5_MUST_BLOCK",
      "failed_descriptions": [
        "H1_SEVERE_G5_MUST_BLOCK"
      ],
      "failed_property_ids": [
        "proof_h1_ckd_epi.assertion.6"
      ],
      "harness_id": "H1_CKD_EPI_2021",
      "id": "FAULT_H1_G5_THRESHOLD",
      "unwind_failures": []
    },
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H2_TERATOGEN_PREGNANCY_MUST_BLOCK",
      "failed_descriptions": [
        "H2_TERATOGEN_PREGNANCY_MUST_BLOCK"
      ],
      "failed_property_ids": [
        "proof_h2_mfds_dur.assertion.3"
      ],
      "harness_id": "H2_MFDS_DUR_GATE",
      "id": "FAULT_H2_DROP_TERATOGEN",
      "unwind_failures": []
    },
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H3_TOXIC_PEAK_MUST_BLOCK",
      "failed_descriptions": [
        "H3_TOXIC_PEAK_MUST_BLOCK"
      ],
      "failed_property_ids": [
        "proof_h3_pk_rk4.assertion.8"
      ],
      "harness_id": "H3_PK_TWOCOMP_RK4",
      "id": "FAULT_H3_FLIP_TOXIC_CEILING",
      "unwind_failures": []
    },
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H4_ZERO_EVIDENCE_MUST_HOLD_VUS",
      "failed_descriptions": [
        "H4_ZERO_EVIDENCE_MUST_HOLD_VUS"
      ],
      "failed_property_ids": [
        "proof_h4_acmg_bayesian.assertion.4"
      ],
      "harness_id": "H4_ACMG_BAYESIAN",
      "id": "FAULT_H4_ZERO_EVIDENCE_STRICT_GT",
      "unwind_failures": []
    },
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H5_UNPHYSICAL_GRADIENT_MUST_BLOCK",
      "failed_descriptions": [
        "H5_UNPHYSICAL_GRADIENT_MUST_BLOCK"
      ],
      "failed_property_ids": [
        "proof_h5_alveolar_shunt.assertion.2"
      ],
      "harness_id": "H5_ALVEOLAR_SHUNT",
      "id": "FAULT_H5_DROP_UNPHYSICAL_GRADIENT",
      "unwind_failures": []
    },
    {
      "caught_exact_target_assertion": true,
      "exit_code": 10,
      "expected_assertion_description": "H6_MONOTONIC_LATCH_NEVER_SELF_CLEARS",
      "failed_descriptions": [
        "H6_MONOTONIC_LATCH_NEVER_SELF_CLEARS"
      ],
      "failed_property_ids": [
        "proof_h6_alarm_latch.assertion.2"
      ],
      "harness_id": "H6_ALARM_LATCH",
      "id": "FAULT_H6_ALLOW_LATCH_SELF_CLEAR",
      "unwind_failures": []
    }
  ],
  "harnesses": [
    {
      "description": "Non-finite/OOB fail-closed BLOCK, G5 (<15) BLOCK, moderate (<45) HOLD, never bypasses clinician review",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h1_ckd_epi",
      "id": "H1_CKD_EPI_2021",
      "passed": true,
      "total_properties_checked": 3224,
      "unwind": 12,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H1_NONFINITE_OR_OOB_MUST_BLOCK",
          "property": "proof_h1_ckd_epi.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H1_NONFINITE_OR_OOB_MUST_BLOCK",
          "property": "proof_h1_ckd_epi.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H1_NONFINITE_OR_OOB_MUST_BLOCK",
          "property": "proof_h1_ckd_epi.assertion.3",
          "status": "SUCCESS"
        },
        {
          "description": "H1_VALID_DOMAIN_SUCCEEDS",
          "property": "proof_h1_ckd_epi.assertion.4",
          "status": "SUCCESS"
        },
        {
          "description": "H1_NEVER_BYPASSES_CLINICIAN_REVIEW",
          "property": "proof_h1_ckd_epi.assertion.5",
          "status": "SUCCESS"
        },
        {
          "description": "H1_SEVERE_G5_MUST_BLOCK",
          "property": "proof_h1_ckd_epi.assertion.6",
          "status": "SUCCESS"
        },
        {
          "description": "H1_MODERATE_RENAL_MUST_HOLD",
          "property": "proof_h1_ckd_epi.assertion.7",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 7
    },
    {
      "description": "Invalid contract BLOCK, missing clinical context never PASS, teratogen/dose-ceiling/metformin-CrCl<30/severe-DDI ALWAYS BLOCK",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h2_mfds_dur",
      "id": "H2_MFDS_DUR_GATE",
      "passed": true,
      "total_properties_checked": 3222,
      "unwind": 6,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H2_INVALID_CONTRACT_MUST_BLOCK",
          "property": "proof_h2_mfds_dur.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H2_MISSING_CONTEXT_NEVER_PASS",
          "property": "proof_h2_mfds_dur.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H2_TERATOGEN_PREGNANCY_MUST_BLOCK",
          "property": "proof_h2_mfds_dur.assertion.3",
          "status": "SUCCESS"
        },
        {
          "description": "H2_DOSE_CEILING_MUST_BLOCK",
          "property": "proof_h2_mfds_dur.assertion.4",
          "status": "SUCCESS"
        },
        {
          "description": "H2_METFORMIN_RENAL_MUST_BLOCK",
          "property": "proof_h2_mfds_dur.assertion.5",
          "status": "SUCCESS"
        },
        {
          "description": "H2_SEVERE_DDI_MUST_BLOCK",
          "property": "proof_h2_mfds_dur.assertion.6",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 6
    },
    {
      "description": "Invalid/non-finite PK inputs BLOCK, non-negative compartments, peak C0 > toxic_c ALWAYS BLOCK",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h3_pk_rk4",
      "id": "H3_PK_TWOCOMP_RK4",
      "passed": true,
      "total_properties_checked": 3224,
      "unwind": 14,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H3_INVALID_PK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H3_INVALID_PK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H3_INVALID_PK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.3",
          "status": "SUCCESS"
        },
        {
          "description": "H3_INVALID_PK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.4",
          "status": "SUCCESS"
        },
        {
          "description": "H3_INVALID_PK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.5",
          "status": "SUCCESS"
        },
        {
          "description": "H3_VALID_PK_SUCCEEDS",
          "property": "proof_h3_pk_rk4.assertion.6",
          "status": "SUCCESS"
        },
        {
          "description": "H3_NONNEGATIVE_COMPARTMENTS",
          "property": "proof_h3_pk_rk4.assertion.7",
          "status": "SUCCESS"
        },
        {
          "description": "H3_TOXIC_PEAK_MUST_BLOCK",
          "property": "proof_h3_pk_rk4.assertion.8",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 8
    },
    {
      "description": "Invalid ACMG bounds BLOCK, posterior in [0,1], zero-evidence exact 0.10 -> VUS/HOLD (DEF-20261123-10), conflict -> HOLD, Pathogenic/LP -> AWAITING_APPROVAL",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h4_acmg_bayesian",
      "id": "H4_ACMG_BAYESIAN",
      "passed": true,
      "total_properties_checked": 3218,
      "unwind": 12,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H4_INVALID_ACMG_MUST_BLOCK",
          "property": "proof_h4_acmg_bayesian.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H4_VALID_ACMG_SUCCEEDS",
          "property": "proof_h4_acmg_bayesian.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H4_POSTERIOR_UNIT_INTERVAL",
          "property": "proof_h4_acmg_bayesian.assertion.3",
          "status": "SUCCESS"
        },
        {
          "description": "H4_ZERO_EVIDENCE_MUST_HOLD_VUS",
          "property": "proof_h4_acmg_bayesian.assertion.4",
          "status": "SUCCESS"
        },
        {
          "description": "H4_CONFLICT_MUST_HOLD",
          "property": "proof_h4_acmg_bayesian.assertion.5",
          "status": "SUCCESS"
        },
        {
          "description": "H4_PATHOGENIC_REQUIRES_SIGNOFF",
          "property": "proof_h4_acmg_bayesian.assertion.6",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 6
    },
    {
      "description": "Non-finite/OOB gas inputs BLOCK, unphysical PaO2 > PAO2 BLOCK, shunt >= 0, PaO2 < 50 or shunt > 0.30 ALWAYS BLOCK, impaired exchange HOLD",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h5_alveolar_shunt",
      "id": "H5_ALVEOLAR_SHUNT",
      "passed": true,
      "total_properties_checked": 3218,
      "unwind": 6,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H5_OOB_GAS_MUST_BLOCK",
          "property": "proof_h5_alveolar_shunt.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H5_UNPHYSICAL_GRADIENT_MUST_BLOCK",
          "property": "proof_h5_alveolar_shunt.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H5_SHUNT_NONNEGATIVE",
          "property": "proof_h5_alveolar_shunt.assertion.3",
          "status": "SUCCESS"
        },
        {
          "description": "H5_SEVERE_HYPOXEMIA_OR_SHUNT_MUST_BLOCK",
          "property": "proof_h5_alveolar_shunt.assertion.4",
          "status": "SUCCESS"
        },
        {
          "description": "H5_IMPAIRED_EXCHANGE_MUST_HOLD",
          "property": "proof_h5_alveolar_shunt.assertion.5",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 5
    },
    {
      "description": "Auto-clear token ALWAYS BLOCK (MED-GR-01), monotonic prior_latched NEVER self-clears to PASS, dropout/severe rate ALWAYS BLOCK & latch",
      "exit_code": 0,
      "failed_properties": [],
      "function": "proof_h6_alarm_latch",
      "id": "H6_ALARM_LATCH",
      "passed": true,
      "total_properties_checked": 3220,
      "unwind": 12,
      "unwind_failures": [],
      "user_assertion_ids": [
        {
          "description": "H6_AUTO_CLEAR_FORBIDDEN_MUST_BLOCK",
          "property": "proof_h6_alarm_latch.assertion.1",
          "status": "SUCCESS"
        },
        {
          "description": "H6_MONOTONIC_LATCH_NEVER_SELF_CLEARS",
          "property": "proof_h6_alarm_latch.assertion.2",
          "status": "SUCCESS"
        },
        {
          "description": "H6_SEVERE_OR_DROPOUT_MUST_BLOCK_LATCH",
          "property": "proof_h6_alarm_latch.assertion.3",
          "status": "SUCCESS"
        }
      ],
      "user_assertions_checked": 3
    }
  ],
  "harnesses_passed": 6,
  "harnesses_total": 6,
  "provenance": {
    "auto_executed": 0,
    "clinical_trials": 0,
    "composite_score": "none",
    "data_class": "S-FORMAL-PROOF-DRY-LAB",
    "field_tests": 0,
    "human_auditor_decision": null,
    "physician_signoff": null,
    "regulatory_status": "NOT_CLEARED_DRY_LAB_ONLY"
  },
  "schema": "galenos.phase6-cbmc-formal-report.v1",
  "toolchains": {
    "cbmc_version": "6.11.0 (cbmc-6.11.0)",
    "process_group_cleanup_enforced": true,
    "z3_version": "Z3 version 5.3.3 - 64 bit"
  },
  "verified_unmodified_sources": {
    "phase_kernel/c11/src/det_math.c": "01503cd28a5f1a4dc450585633ccd391d8e9dacd0dabfde84c31e9467c8daba6",
    "phase_kernel/c11/src/galenos_core.c": "d2a0c487fc469e2979464ad1bce488cc1cbf16a3c96e0f92249d742719bf7166",
    "phase_kernel/formal/cbmc/harnesses.c": "f7d7131368a7dc4a77f28ca8a74484a2a04314c7359294ccc55b137f595d3604",
    "phase_kernel/formal/z3/verify_clinical_invariants.smt2": "650b84920898f1de3816972fb4908c91a86644ae75c37c390f434f6547e3647e"
  },
  "z3_real_arithmetic": {
    "all_passed": true,
    "results": {
      "NEG_Z3_STRICT_GT_010_MUST_BE_SAT": "sat",
      "T1_ACMG_BAYES_REAL_THEOREM": "unsat",
      "T2_WEST_SHUNT_BOUNDS_THEOREM": "unsat",
      "T3_COCKCROFT_GAULT_MONOTONICITY_THEOREM": "unsat",
      "T4_PK_MASS_CONSERVATION_IDENTITY": "unsat"
    }
  }
}
