{
  "date": "2026-10-16",
  "mlir_tool_version": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.",
  "positive_examples": [
    {
      "file": "examples/01-add.mlir",
      "sha256": "d7acc0e86ec59adeccbba4de92f81dcd310fab11811db4792451cac21ec68200",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/02-call.mlir",
      "sha256": "6131d1213b0c17342948e8a91dc001d1d6ffbb7c488ed40937ba5756f845d12e",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/03-fill.mlir",
      "sha256": "4539d04e3b4849803e5b7f64027a23e6889b700d607eb9d1a0ce218862e01c54",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/04-maps.mlir",
      "sha256": "69b4e4bda08fe7a324985ec25b4d7a5bb672d610ec9cd70db5caac0f8482adf7",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/05-domain.mlir",
      "sha256": "83a046297b4c4f58cd8d4933dcabe9f68493a70e2c3809b1c52223f6260b87dd",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/06-reduction.mlir",
      "sha256": "8a1cdac3ea6a524c2306c632ded8924051216efdc3abe4bf95aedc2b82963ec2",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/07-blocks.mlir",
      "sha256": "32c003469de28a76f7c5b27e6777e6241570a8d00d0d52646c83daa6a2f9a7af",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    },
    {
      "file": "examples/08-valid-inputs.mlir",
      "sha256": "391d0bd671387150b31c2e923be4c1c327574958c2d157ba3ff97ec2cd748eeb",
      "parse_and_verify": "passed",
      "generic_form_round_trip": "passed"
    }
  ],
  "negative_examples": [
    {
      "file": "examples/invalid/outer-iv-as-symbol.mlir",
      "sha256": "b985a9d7457de1f66564b000857af955d69df7173a287ba113b2b96623c32c7b",
      "expected_rejection": "passed",
      "diagnostic": "examples/invalid/outer-iv-as-symbol.mlir:6:18: error: dimensional operand cannot be used as a symbol\n        %wrong = affine.apply #parameter()[%i]\n                 ^\nexamples/invalid/outer-iv-as-symbol.mlir:6:18: note: see current operation: %0 = \"affine.apply\"(%arg1) <{map = affine_map<()[s0] -> (s0 + 1)>}> : (index) -> index\n"
    }
  ],
  "paired_examples": {
    "date": "2026-10-10",
    "pairs": [
      {
        "pair": "add",
        "mlir": "pairs/add.mlir",
        "llvm": "pairs/add.ll",
        "mlir_sha256": "d7acc0e86ec59adeccbba4de92f81dcd310fab11811db4792451cac21ec68200",
        "llvm_sha256": "6630aa09ed7fb1314e4aa90d150b91b0cf519014621b7172d22f201156a10a40",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 4,
        "assumptions": "양쪽 모두 32비트 정수입니다. 추가 overflow 약속 없이 비트 폭에 맞춰 계산합니다."
      },
      {
        "pair": "call",
        "mlir": "pairs/call.mlir",
        "llvm": "pairs/call.ll",
        "mlir_sha256": "6131d1213b0c17342948e8a91dc001d1d6ffbb7c488ed40937ba5756f845d12e",
        "llvm_sha256": "06ee14ab39c506aa7139090baf71a3d7a3c20799c79be6f774bbc7350001e079",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 2,
        "assumptions": ""
      },
      {
        "pair": "choose",
        "mlir": "pairs/choose.mlir",
        "llvm": "pairs/choose.ll",
        "mlir_sha256": "32c003469de28a76f7c5b27e6777e6241570a8d00d0d52646c83daa6a2f9a7af",
        "llvm_sha256": "ac911127ea1db8d9a682e9859b05951f9200745c3ec3e73c5085b75cf22edd6e",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 3,
        "assumptions": ""
      },
      {
        "pair": "read2d",
        "mlir": "pairs/read2d.mlir",
        "llvm": "pairs/read2d.ll",
        "mlir_sha256": "df45745b510f5779d71806f232bcb15d1476efdca473135930a3ffc49841d531",
        "llvm_sha256": "54a68d792f9afd1f8783784deb561a5b05a459ceb386692f0e26b7c45e654b11",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 12,
        "assumptions": "3×4 행 우선 연속 배치입니다. A는 유효한 float 원소 12개를 가리킵니다. 0≤i<3, 0≤j<4입니다. LLVM 함수 입력은 비교를 위해 단순화한 포인터 형태입니다. 실제 memref 변환은 크기·stride 등의 정보도 전달합니다."
      },
      {
        "pair": "shift",
        "mlir": "pairs/shift.mlir",
        "llvm": "pairs/shift.ll",
        "mlir_sha256": "9d2f265f4d2801b80f2f6562feead0baa6a41eb0e4f2176a5447e410da85527d",
        "llvm_sha256": "c6ce8cb9fad4229ae835e9e00343bbb073612786a11f5eb3b5a5c7ea15ecd6b0",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 6,
        "assumptions": "이 비교에서는 index를 64비트 정수로 변환합니다. 예시 입력의 계산에는 overflow가 없습니다."
      },
      {
        "pair": "count",
        "mlir": "pairs/count.mlir",
        "llvm": "pairs/count.ll",
        "mlir_sha256": "3ba33f9d54853abccc1f47267965dbda2d6988b4a4fca3a805c6586a2f65687b",
        "llvm_sha256": "d0f24e2e7bad5344b9e68eb1ae4a9a074973b0891e1ddeb0f7b254f7617f6372",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 6,
        "assumptions": "index를 64비트로 변환합니다. 작은 N을 사용하므로 반복 좌표와 누적 횟수의 overflow가 없습니다."
      },
      {
        "pair": "inside",
        "mlir": "pairs/inside.mlir",
        "llvm": "pairs/inside.ll",
        "mlir_sha256": "a437ef220543bb45d2e7a5f39da2b2c4a4e8909dcbd8b19c6079ab279520c9a5",
        "llvm_sha256": "7464a2775262b542d49687c24e6d10fd1300e41332ca684671293ce9426d9a29",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 36,
        "assumptions": "index를 64비트로 변환합니다. 작은 입력으로 비교하므로 조건 계산에 overflow가 없습니다."
      },
      {
        "pair": "store-read",
        "mlir": "pairs/store-read.mlir",
        "llvm": "pairs/store-read.ll",
        "mlir_sha256": "cdd73b721d20728613895a34940715f88f8f30220b407646ad5a30175bc8bfbf",
        "llvm_sha256": "65170b9bab165f120e7424d1e26ddedace94115b598c421c5a73e9283ad9bb8d",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 1,
        "assumptions": "A는 유효한 i32 원소 하나를 가리킵니다. 여기서는 memref의 포인터 부분만 보여줍니다. 실제 변환의 함수 입력 규칙과는 다릅니다."
      },
      {
        "pair": "fold",
        "mlir": "pairs/fold.mlir",
        "llvm": "pairs/fold.ll",
        "mlir_sha256": "2c4b78ec7d2b80b65f7482d5a23dc38716df910e11e6dd763adaf9fe4cdfe0b9",
        "llvm_sha256": "44318c56755fbcd835e82c0c4cad6d6dfa5cc612efb237b5b773d7e3846cc585",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 4,
        "assumptions": ""
      },
      {
        "pair": "fill",
        "mlir": "pairs/fill.mlir",
        "llvm": "pairs/fill.ll",
        "mlir_sha256": "4539d04e3b4849803e5b7f64027a23e6889b700d607eb9d1a0ce218862e01c54",
        "llvm_sha256": "eb093aee30c4068a3ddc6699b3131e865f6691fe206bc5626b07f3918dbbecd1",
        "mlir_verifier_and_generic_round_trip": "passed",
        "llvm_verifier": "passed",
        "lowering_to_llvm": "passed",
        "runtime_results_on_documented_inputs": "passed",
        "runtime_cases_per_form": 12,
        "assumptions": "3×4 행 우선 연속 배치입니다. A는 유효한 float 원소 12개를 가리킵니다. 0≤i<3, 0≤j<4입니다. LLVM 함수 입력은 비교를 위해 단순화한 포인터 형태입니다. 실제 memref 변환은 크기·stride 등의 정보도 전달합니다."
      }
    ],
    "term_comparisons": 87,
    "total_runtime_cases_per_form": 86,
    "runtime_forms": [
      "authored LLVM IR",
      "LLVM IR lowered from MLIR"
    ],
    "index_width_for_examples": 64,
    "llvm_tool_version": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.",
    "runtime_compiler": "Apple clang version 21.0.0 (clang-2100.3.34.2)\nTarget: arm64-apple-darwin27.0.0\nThread model: posix\nInstalledDir: /Library/Developer/CommandLineTools/usr/bin",
    "simplification_examples": "passed",
    "limits": [
      "Finite example inputs only; not a proof of equivalence for all inputs.",
      "Memory pairs use a simplified pointer interface on the authored LLVM side.",
      "Generated LLVM preserves the default memref descriptor argument convention.",
      "No performance claim."
    ]
  },
  "english_definitions": {
    "count": 122,
    "sentence_count": 136,
    "maximum_words": 19,
    "limit": 25,
    "full_dictionary_compliance_certified": false
  },
  "static_checks": {
    "local_links_and_anchors_checked": 844,
    "svg_diagrams": 43,
    "chapter_comparisons": 27,
    "glossary_comparisons": 122,
    "duplicate_ids": false,
    "retained_original_report_files": 186,
    "all_original_report_hashes_match": true
  },
  "limits": [
    "Original MLIR examples: IR verification and generic-form round trip. Paired examples: verification, lowering, and finite execution checks. No whole-program equivalence or performance claim.",
    "Memory inputs must satisfy the documented shape and extent preconditions.",
    "The Korean explanation applies STE writing principles; it is not English dictionary compliance certification."
  ],
  "new_loop_examples": {
    "date": "2026-10-16",
    "pairs": 5,
    "authored_llvm_forms": 5,
    "generated_llvm_forms": 5,
    "runtime_forms": 10,
    "distinct_input_cases_across_pairs": 97,
    "total_runtime_case_executions": 194,
    "total_runtime_assertions": 1426,
    "per_pair": [
      {
        "pair": "step-sum",
        "input_cases_per_form": 12,
        "forms": 2,
        "assertions_per_form": 12,
        "passed": true
      },
      {
        "pair": "iter-sum",
        "input_cases_per_form": 36,
        "forms": 2,
        "assertions_per_form": 324,
        "passed": true
      },
      {
        "pair": "while-sum",
        "input_cases_per_form": 11,
        "forms": 2,
        "assertions_per_form": 11,
        "passed": true
      },
      {
        "pair": "triangle",
        "input_cases_per_form": 10,
        "forms": 2,
        "assertions_per_form": 170,
        "passed": true
      },
      {
        "pair": "prefix-inplace",
        "input_cases_per_form": 28,
        "forms": 2,
        "assertions_per_form": 196,
        "passed": true
      }
    ],
    "source_and_generated_sha256": "validation.json -> records[].files",
    "runtime_inputs_and_expected_values": "runtime-cases.json",
    "reading_excerpts_and_korean_explanations": "explanations.json",
    "execution_count_scope": "The visited points and body/condition counts in the metadata are reference calculations from the shown code, not instrumented hardware event counters. Native execution checks return values, buffer results, read-only input preservation and output guards.",
    "counting_note": "For upper=7 in this hand-authored non-rotated LLVM CFG, body executes 4 times and header executes 5 times. For upper<=0, body executes 0 times and header executes once. Do not call these two counts the same trip count.",
    "abi_note": "Memory pairs use authored pointers vs generated default memref descriptors. The scalar-only step-sum and while-sum pairs have scalar inputs in both forms.",
    "safety_scope": "All native arithmetic inputs/intermediates stay in small signed ranges; UBSan instrumentation was not applied.",
    "performance_measurement": false
  },
  "prior_IR_check_reuse": "Original byte-identical MLIR/LLVM inputs retain their earlier checks; all current text, terms, SVGs and links were rechecked."
}
