Skip to content

Commit

Permalink
More commentary on normalization binary
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Feb 3, 2025
1 parent 8942e1a commit b5548ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion what4/test/BoolNormalization.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import What4.Interface

import Bool

-- | Get the size of an expression. Lower is better.
sz :: Expr t tp -> Int
sz =
\case
Expand All @@ -44,7 +45,7 @@ main = do
case HG.nodeValue x of
Nothing -> error "whoops"
Just (bExpr, _vars) -> do
e <- interp sym (pure . uninterpVar) bExpr
e <- toSymExpr sym (pure . uninterpVar) bExpr
-- Audit the quality of the generated expressions:
-- putStrLn "--------------------------------------"
-- putStrLn (show bExpr)
Expand Down

0 comments on commit b5548ea

Please sign in to comment.