mirror of
https://github.com/Jaxan/nominal-lstar.git
synced 2025-04-27 14:47:45 +02:00
Fixes a bug in my Bollig implementation
This commit is contained in:
parent
9ac25c4d9b
commit
e65a099948
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ rfsaConsistencyTest State{..} = case solve (isEmpty defect) of
|
||||||
Nothing -> trace "@@@ Unsolved Formula (rfsaConsistencyTest) @@@" $
|
Nothing -> trace "@@@ Unsolved Formula (rfsaConsistencyTest) @@@" $
|
||||||
Failed empty defect
|
Failed empty defect
|
||||||
where
|
where
|
||||||
candidates = pairsWithFilter (\u1 u2 -> maybeIf (row t u1 `sublang` row t u2) (u1, u2)) ss ss
|
candidates = pairsWithFilter (\u1 u2 -> maybeIf (row t u2 `sublang` row t u1) (u1, u2)) ss ss
|
||||||
defect = triplesWithFilter (\(u1, u2) a v -> maybeIf (not (tableAt t (u1 ++ [a]) v) /\ tableAt t (u2++[a]) v) (a:v)) candidates aa ee
|
defect = triplesWithFilter (\(u1, u2) a v -> maybeIf (not (tableAt t (u1 ++ [a]) v) /\ tableAt t (u2++[a]) v) (a:v)) candidates aa ee
|
||||||
|
|
||||||
constructHypothesisBollig :: NominalType i => State i -> Automaton (BRow i) i
|
constructHypothesisBollig :: NominalType i => State i -> Automaton (BRow i) i
|
||||||
|
|
Loading…
Add table
Reference in a new issue