)]}'
{
  "commit": "03ad08c2506276ed9de4e35acb7afb816ad009b4",
  "tree": "5bf5ee4d16a4185918a0390c024ebb8238374f06",
  "parents": [
    "30466c94c272d8fd0fff0f39d37153bcc4b779fc"
  ],
  "author": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Thu Oct 22 04:40:35 2026 +0000"
  },
  "committer": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Thu Oct 22 04:40:35 2026 +0000"
  },
  "message": "fix: add expected type hint to ground evaluation steps in `grind` homomorphism extension\n\nThis PR fixes a `grind.debug` internal error on ground `Rat` arithmetic such as `(3 : Rat) * 2 \u003d 6`.\n\nWhen the homomorphism extension internalizes a term, it rewrites it with `Sym.Simp`, whose ground evaluator proves each step by `Eq.refl` (e.g., `Eq.refl 6 : 3 * 2 \u003d 6`) and relies on definitional equality. The extension asserted the resulting equality with this proof directly. Its inferred type `6 \u003d 6` is not definitionally equal to `3 * 2 \u003d 6` at reducible transparency, since `Rat` operations do not reduce there, so the `grind.debug` check in `pushEqCore` rejected it. The equality is now asserted with an expected type hint, as other `grind` modules already do.\n\nCloses #15867\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db40aaf6254cd28c2e8f97ef80e0282ff2ace4dd",
      "old_mode": 33188,
      "old_path": "src/Lean/Meta/Tactic/Grind/Homomorphism.lean",
      "new_id": "2d74a8cc16fb60571f94319fbc59f01cbef8191b",
      "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": "db0974f4e3bd238ff343fecb6fb3e7b601b05a00",
      "new_mode": 33188,
      "new_path": "tests/elab/grind_15867.lean"
    }
  ]
}
