fix: make equation lemma statements independent of the caller's options (#15499)

This PR makes the statements of generated equation lemmas (`f.eq_1`,
`f.eq_2`, …) independent of the options where the equations are first
requested. A local `set_option` on the first proof that used the
equations could change their statements. Proofs elaborate in parallel,
so the statements could differ between builds of the same file, and a
proof could compile with some thread counts and fail with others.

`mkEqns` computes the equation types with `realizeValue`, keyed by the
definition. `realizeValue` computes the types once, with the options at
definition time (command-line options for an imported definition), and
gives the same result to all callers. The equation proofs already use
`realizeConst`, which works the same way. The test
`eqnTypesCallerOptions` requests the equations of two copies of a
definition, one of them under `respectTransparency false`, and checks
that both statements have the same form.

Closes #15498.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
3 files changed