CVE-2026-72703
Beschrijving NL
De guard checker in Rocq Prover behandelt een parameter van een genest wederzijds fixpoint als uniform zonder de oproepen tussen de verschillende lichamen van dat fixpoint te onderzoeken. find_uniform_parameters in kernel/inductive.ml inspecteert alleen zelfrecursieve oproepen, dus wanneer geen enkel lichaam zichzelf noemt, concludeert de functie dat elke parameter uniform is. Een parameter die groeit door een cross-call van het ene lichaam naar het andere, behoudt daarom de subterm-specificatie die het heeft geërfd van het omsluitende fixpoint, en een recursieve oproep die door die specificatie wordt bewaakt, wordt geaccepteerd, hoewel het argument niet structureel kleiner is. Een niet-afsluitende definitie wordt toegelaten als structureel afnemend, wat een term oplevert waarvan de waarde gelijk is aan zijn eigen opvolger en dus een bewijs van False, waaruit elke propositie volgt. Het bewijs vereist geen axioma's, plug-ins of onveilige vlaggen en Print Assumptions rapporteert het als gesloten onder de wereldwijde context. Geïntroduceerd in Coq 8.20 en vastgelegd in Rocq 9.2.0.
Origineel (Engels) tonen
The guard checker in Rocq Prover treats a parameter of a nested mutual fixpoint as uniform without examining calls between the different bodies of that fixpoint. find_uniform_parameters in kernel/inductive.ml inspects only self-recursive calls, so when no body calls itself the function concludes that every parameter is uniform. A parameter that grows through a cross-call from one body to another therefore keeps the subterm specification it inherited from the enclosing fixpoint, and a recursive call guarded by that specification is accepted although the argument is not structurally smaller. A non-terminating definition is admitted as structurally decreasing, which yields a term whose value equals its own successor and so a proof of False, from which any proposition follows. The proof requires no axioms, plugins or unsafe flags and Print Assumptions reports it as closed under the global context. Introduced in Coq 8.20 and fixed in Rocq 9.2.0.