)]}'
{
  "commit": "41d0be0d944816eb5b6475c70f59a9ce0ed450e7",
  "tree": "9b91b581b945a73c73dc1e04601b5d48db2e1d09",
  "parents": [
    "78df48bdf4095e4a3b1dfda416bb3318aa0abfd7"
  ],
  "author": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Fri Feb 20 08:11:32 2026 -0800"
  },
  "committer": {
    "name": "Leonardo de Moura",
    "email": "leomoura@amazon.com",
    "time": "Fri Feb 20 08:28:54 2026 -0800"
  },
  "message": "fix: interaction between `simp` and `backward.whnf.reducibleClassField`\n\nThis PR fixes a bug where `simp` made no progress on class projection\nreductions when `backward.whnf.reducibleClassField` is `true`.\n\nThe issue was in `reduceProjFn?`: for class projections applied to\nconstructor instances (`Class.projFn (Class.mk ...)`), the code called\n`reduceProjCont? (← unfoldDefinitionAny? e)`. The helper `reduceProjCont?`\nexpects the unfolded result to have a `.proj` head so it can apply\n`reduceProj?`. However, when `reducibleClassField` is enabled,\n`unfoldDefault` in WHNF.lean already reduces the `.proj` node during\nunfolding. The fully-reduced result no longer has a `.proj` head, so\n`reduceProjCont?` discards it and returns `none`.\n\nThe fix uses `unfoldDefinitionAny?` directly, bypassing `reduceProjCont?`.\nThe dsimp traversal revisits the result (via `.visit`) and handles any\nremaining `.proj` nodes naturally.\n\nCo-Authored-By: Claude Opus 4.6 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a91d3985374e2ecfa6465110e7eb86fae89d9242",
      "old_mode": 33188,
      "old_path": "src/Lean/Meta/Tactic/Simp/Main.lean",
      "new_id": "11b32b9b36b979aa9e4d671388a16d6788466058",
      "new_mode": 33188,
      "new_path": "src/Lean/Meta/Tactic/Simp/Main.lean"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "047e698f22b1d92941ac42171daf8e1e91ef59d2",
      "new_mode": 33188,
      "new_path": "tests/lean/run/simp_reducibleClassField.lean"
    }
  ]
}
