Skip to content

Commit

Permalink
Fix heartbeat bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHCLUNE committed Feb 15, 2025
1 parent d5dda92 commit efd479f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Duper/Interface.lean
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def runDuper (formulas : List (Expr × Expr × Array Name × Bool)) (instanceMax
-- Add the constant `skolemSorry` to the environment
let skSorryName ← addSkolemSorry
let (_, state) ←
ProverM.runWithExprs (ctx := {startTime := ← IO.monoMsNow, initHeartbeats := ← getInitHeartbeats})
ProverM.runWithExprs (ctx := {startTime := ← IO.monoMsNow, initHeartbeats := ← IO.getNumHeartbeats})
(s := {instanceMaxHeartbeats := instanceMaxHeartbeats, skolemSorryName := skSorryName})
(ProverM.saturateNoPreprocessingClausification generateDatatypeExhaustivenessFacts)
formulas
Expand Down
2 changes: 1 addition & 1 deletion Main.lean
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def runDuperOnTPTP (fileName : String) (formulas : List (Expr × Expr × Array N
-- Add the constant `skolemSorry` to the environment
let skSorryName ← addSkolemSorry
let (_, state) ←
ProverM.runWithExprs (ctx := {startTime := ← IO.monoMsNow, initHeartbeats := ← getInitHeartbeats})
ProverM.runWithExprs (ctx := {startTime := ← IO.monoMsNow, initHeartbeats := ← IO.getNumHeartbeats})
(s := {instanceMaxHeartbeats := instanceMaxHeartbeats, skolemSorryName := skSorryName})
(ProverM.saturateNoPreprocessingClausification generateDatatypeExhaustivenessFacts)
formulas
Expand Down

0 comments on commit efd479f

Please sign in to comment.