lean-0025: Missing kernel check for free variables in `opaque` declarations

Just as for definitions and theorems, an `opaque` declaration's value must not contain fvars. This check was missing in the kernel, letting a malicious metaprogram prove False. Comparator would have caught this (its export format cannot express fvars), as would nanoda. v4.32.0 is vulnerable; v4.32.1 and v4.33.0+ have the fix.

Statusfixed
Fixed inv4.32.1
Subsystemkernel
Guarantee broken
kernel-soundness
Mechanism
kernel-internal
Symptomproves-False
Severityunsoundness
Fools
kernel
Discovery
user-reportai-assisted
Features
opaquemetaprogramming
References