Skip to content

Commit 9ff0685

Browse files
committed
Test.Kore.Strategies.AllPath.AllPath: Use ApplyAxioms and ApplyClaims
1 parent 727314c commit 9ff0685

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

kore/test/Test/Kore/Strategies/AllPath/AllPath.hs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ newtype instance Goal.Rule Goal =
376376
deriving (Eq, GHC.Generic, Show)
377377

378378
instance Goal.Goal Goal where
379-
strategy _ goals rules =
379+
strategy _ _ _ =
380380
firstStep :> Stream.iterate id nextStep
381381
where
382382
firstStep =
@@ -385,7 +385,7 @@ instance Goal.Goal Goal where
385385
, ProofState.CheckGoalRemainder
386386
, ProofState.CheckImplication
387387
, ProofState.TriviallyValid
388-
, ProofState.DerivePar axioms
388+
, ProofState.ApplyAxioms
389389
, ProofState.Simplify
390390
, ProofState.TriviallyValid
391391
, ProofState.ResetGoal
@@ -397,19 +397,17 @@ instance Goal.Goal Goal where
397397
, ProofState.CheckGoalRemainder
398398
, ProofState.CheckImplication
399399
, ProofState.TriviallyValid
400-
, ProofState.DeriveSeq claims
400+
, ProofState.ApplyClaims
401401
, ProofState.CheckImplication
402402
, ProofState.Simplify
403403
, ProofState.TriviallyValid
404-
, ProofState.DerivePar axioms
404+
, ProofState.ApplyAxioms
405405
, ProofState.CheckImplication
406406
, ProofState.Simplify
407407
, ProofState.TriviallyValid
408408
, ProofState.ResetGoal
409409
, ProofState.TriviallyValid
410410
]
411-
axioms = rules
412-
claims = Rule <$> goals
413411

414412
checkImplication (src, dst) =
415413
return . Goal.NotImplied $ (difference src dst, dst)

0 commit comments

Comments
 (0)