fix: support `casesOn` for inductive predicates with computations on fields (#10023) This PR adds support for correctly handling computations on fields in `casesOn` for inductive predicates that support large elimination. In any such predicate, the only relevant fields allowed are those that are also used as an index, in which case we can find the supplied index and use that term instead.
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean.