)]}'
{
  "commit": "fc9381eb96d36df1b23bcc1e2f898affa51d9868",
  "tree": "f670b9fe13b03884f553226474a932d5ba0976e5",
  "parents": [
    "9966abe515aa0fc2c6845563c55cf511dcc75098"
  ],
  "author": {
    "name": "Leo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Mon Nov 23 06:00:16 2026 +0000"
  },
  "committer": {
    "name": "Leo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Mon Nov 23 06:00:35 2026 +0000"
  },
  "message": "fix: preserve smart unfolding checks for function-valued matches\n\nThis PR fixes two cases where `rfl` could produce a proof that the kernel rejects. Both arise when a structurally recursive definition applies the result of a `match` to an extra argument.\n\nPreserve the selected branch\u0027s smart unfolding annotation when beta-reducing an overapplied matcher. Include extra arguments containing marked matches in the input mask so that a branch returning one of its arguments cannot bypass the check.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52d71396510097dcb653dddc8f62e9914a869f2f",
      "old_mode": 33188,
      "old_path": "src/Lean/Elab/PreDefinition/Structural/SmartUnfolding.lean",
      "new_id": "c94325299da74a65ae67dd335b7f00af4ee8a355",
      "new_mode": 33188,
      "new_path": "src/Lean/Elab/PreDefinition/Structural/SmartUnfolding.lean"
    },
    {
      "type": "modify",
      "old_id": "281f2719e3d4f0ca17e9d01a43d5ff809048bd97",
      "old_mode": 33188,
      "old_path": "src/Lean/Meta/WHNF.lean",
      "new_id": "d240e879ab5eeb43bc37b89e9a6f84c23b70847f",
      "new_mode": 33188,
      "new_path": "src/Lean/Meta/WHNF.lean"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "661b0b6ce27acdcb43a3c8b41f8880c6f0721d38",
      "new_mode": 33188,
      "new_path": "tests/elab/smartUnfoldingExtraArgs.lean"
    }
  ]
}
