Skip to content

Commit

Permalink
Move duper.maxSaturationTime option out of Duper namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHCLUNE committed Feb 14, 2025
1 parent 3303ab6 commit fde2ebf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Duper/Saturate.lean
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ import Duper.Rules.FluidBoolHoist
-- Type inhabitation reasoning rules
import Duper.Util.TypeInhabitationReasoning

register_option duper.maxSaturationTime : Nat := {
defValue := 500
descr := "Time limit for saturation procedure, in s"
}

namespace Duper

namespace ProverM
Expand All @@ -54,11 +59,6 @@ initialize
registerTraceClass `duper.timeout.debug.fullPassiveSet
registerTraceClass `duper.misc.debug

register_option duper.maxSaturationTime : Nat := {
defValue := 500
descr := "Time limit for saturation procedure, in s"
}

def getMaxSaturationTime (opts : Options) : Nat :=
duper.maxSaturationTime.get opts * 1000

Expand Down

0 comments on commit fde2ebf

Please sign in to comment.