)]}'
{
  "commit": "4c0b29be124c428abac468bed3434ee5b11edbab",
  "tree": "685107944ef5b1db04f573656a98215129de8ab2",
  "parents": [
    "22d279f81f2dc0f2610e211b1dfdf2c5fe4ebdf0"
  ],
  "author": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Wed Sep 30 18:12:27 2026 +0000"
  },
  "committer": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Wed Sep 30 18:12:27 2026 +0000"
  },
  "message": "fix: `grind` hom hooks fail on `let`-bound literals\n\nThis PR fixes an `Application type mismatch` error in `grind` when the homomorphism rewriter translates an equality whose hypothesis mentions a `let`-bound literal, e.g. `b \u003d m.cpop` with `let m : BitVec 2 :\u003d 1#2`. Closes #15388.\n\nThe `grind` normalizer unfolds `m` and evaluates `m.cpop` to `1#2` without a proof, so the stored fact `b \u003d 1#2` and the proof\u0027s inferred type `b \u003d m.cpop` are only definitionally equal for the kernel, not for `Meta.isDefEq`. The `[grind hom]` equality and disequality hooks used `mkAppM`, which re-checks the types; they now pass the stored types explicitly, like the rest of `grind`.\n\nCo-Authored-By: Claude Fable 5.1 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "25d283500910ce26c6273cc6ca3a207a6dda2f86",
      "old_mode": 33188,
      "old_path": "src/Lean/Meta/AppBuilder.lean",
      "new_id": "e18387ba543e739c9cb5a65c42e110746848ae16",
      "new_mode": 33188,
      "new_path": "src/Lean/Meta/AppBuilder.lean"
    },
    {
      "type": "modify",
      "old_id": "8f50f80dfe6fe49a3daf7a8f32ed679c2111a495",
      "old_mode": 33188,
      "old_path": "src/Lean/Meta/Tactic/Grind/Homomorphism.lean",
      "new_id": "a3eb9ea126012e759a79593322f561605773a6fc",
      "new_mode": 33188,
      "new_path": "src/Lean/Meta/Tactic/Grind/Homomorphism.lean"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b789786465df1a2f038ec9dfc03975b319b6fef",
      "new_mode": 33188,
      "new_path": "tests/elab/grind_15388.lean"
    }
  ]
}
