fix: update naming of FinitenessRelation fields in the sigmaIterator.lean benchmark (#11836)

This PR fixes a broken benchmark that uses an outdated naming of
`FinitenessRelation` and `ProductivenessRelation`'s fields.
This commit is contained in:
Paul Reichert 2025-12-30 00:13:13 +01:00 committed by GitHub
parent 1590a72913
commit 05664b15a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ private structure SigmaIteratorWF (γ : Type w) (α : γ → Type w) (m : Type w
private def SigmaIterator.instFinitenessRelation {γ : Type w} {α : γ → Type w}
[∀ x : γ, Iterator (α x) m β] [∀ x : γ, Finite (α x) m] [Monad m] :
FinitenessRelation (SigmaIterator γ α) m where
rel := InvImage
Rel := InvImage
(PSigma.Lex emptyRelation
(β := fun param : γ => IterM (α := α param) m β)
(fun _ => InvImage IterM.TerminationMeasures.Finite.Rel IterM.finitelyManySteps))
@ -80,7 +80,7 @@ instance SigmaIterator.instFinite {γ : Type w} {α : γ → Type w}
private def SigmaIterator.instProductivenessRelation {γ : Type w} {α : γ → Type w}
[∀ x : γ, Iterator (α x) m β] [∀ x : γ, Productive (α x) m] [Monad m] :
ProductivenessRelation (SigmaIterator γ α) m where
rel := InvImage
Rel := InvImage
(PSigma.Lex emptyRelation
(β := fun param : γ => IterM (α := α param) m β)
(fun _ => InvImage IterM.TerminationMeasures.Productive.Rel IterM.finitelyManySkips))