Herbie run

Date:Saturday, November 2nd, 2024
Commit:9e2e21f9 on main
Hostname:nightly with Racket 8.10
Seed:2024307
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 56.0s)

sample12.2s (21.8%)

Memory
142.1MiB live, 10 903.9MiB allocated
Samples
7.2s70 122×0valid
789.0ms4 171×2valid
239.0ms1 869×0invalid
1.0ms11×1valid
Precisions
Click to see histograms. Total time spent on operations: 5.3s
ival-mult: 1.3s (24.1% of total)
ival-div: 1.1s (20.6% of total)
ival-sub: 640.0ms (12.1% of total)
ival-sqrt: 629.0ms (11.9% of total)
ival-neg: 397.0ms (7.5% of total)
ival-add: 294.0ms (5.5% of total)
ival->=: 274.0ms (5.2% of total)
ival-fabs: 170.0ms (3.2% of total)
adjust: 115.0ms (2.2% of total)
ival-log: 108.0ms (2% of total)
ival-exp: 86.0ms (1.6% of total)
ival-if: 80.0ms (1.5% of total)
exact: 55.0ms (1% of total)
ival-true: 54.0ms (1% of total)
ival-assert: 29.0ms (0.5% of total)
Bogosity

simplify10.6s (19%)

Memory
19.7MiB live, 6 910.1MiB allocated
Algorithm
69×egg-herbie
Stop Event
88×iter limit
43×node limit
28×saturated
Counts
2 320 → 2 294

rewrite7.8s (13.9%)

Memory
-61.5MiB live, 6 449.5MiB allocated
Stop Event
64×iter limit
28×node limit
unsound
saturated
Counts
330 → 16 830

soundness7.1s (12.7%)

Memory
60.2MiB live, 2 535.9MiB allocated
Stop Event
46×iter limit
29×node limit
done
fuel
saturated
Compiler

Compiled 6 161 to 2 628 computations (57.3% saved)

eval4.7s (8.5%)

Memory
20.1MiB live, 5 424.1MiB allocated
Compiler

Compiled 913 523 to 75 287 computations (91.8% saved)

localize4.7s (8.4%)

Memory
111.3MiB live, 3 983.4MiB allocated
Samples
1.8s6 002×0valid
655.0ms806×2valid
460.0ms619×1valid
370.0ms117×3valid
124.0ms136×0invalid
Compiler

Compiled 13 855 to 1 466 computations (89.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.3s
ival-mult: 591.0ms (25.8% of total)
ival-div: 390.0ms (17% of total)
ival-sub: 352.0ms (15.4% of total)
ival-log: 265.0ms (11.6% of total)
ival-add: 143.0ms (6.2% of total)
ival-sqrt: 139.0ms (6.1% of total)
adjust: 134.0ms (5.9% of total)
ival-if: 97.0ms (4.2% of total)
ival-exp: 95.0ms (4.1% of total)
ival-neg: 37.0ms (1.6% of total)
ival-fabs: 19.0ms (0.8% of total)
exact: 11.0ms (0.5% of total)
ival->=: 7.0ms (0.3% of total)
ival-true: 6.0ms (0.3% of total)
ival-assert: 3.0ms (0.1% of total)

prune2.3s (4.2%)

Memory
9.0MiB live, 2 070.7MiB allocated
Counts
20 025 → 276
Compiler

Compiled 19 330 to 9 473 computations (51% saved)

explain2.0s (3.6%)

Memory
-21.9MiB live, 1 804.2MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue2590
+.f64#fcancellation1340
-.f64#fcancellation1090
sqrt.f64#fuflow-rescue680
/.f64#fn/u280
/.f64#fu/n270
-.f64#fnan-rescue210
*.f64(*.f64 (/.f64 x y) z)n*o140
*.f64(*.f64 (/.f64 x y) z)n*u20
/.f64(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a))o/n10
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))overflow1
(-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))overflow97
(*.f64 (*.f64 #s(literal 4 binary64) a) c)overflow23
(*.f64 b b)overflow84
Confusion
Predicted +Predicted -
+29718
-2261763
Precision
0.5678776290630975
Recall
0.9428571428571428
Confusion?
Predicted +Predicted MaybePredicted -
+297018
-22601763
Precision?
0.5678776290630975
Recall?
0.9428571428571428
Freqs
test
numberfreq
01781
1392
2122
39
Total Confusion?
Predicted +Predicted MaybePredicted -
+400
-005
Precision?
1.0
Recall?
1.0
Samples
627.0ms3 658×0valid
215.0ms556×2valid
152.0ms334×1valid
23.0ms60×3valid
Compiler

Compiled 1 575 to 388 computations (75.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 461.0ms
ival-mult: 161.0ms (35% of total)
adjust: 61.0ms (13.2% of total)
ival-div: 57.0ms (12.4% of total)
ival-if: 49.0ms (10.6% of total)
ival-sub: 43.0ms (9.3% of total)
ival-sqrt: 30.0ms (6.5% of total)
ival-add: 16.0ms (3.5% of total)
ival-neg: 11.0ms (2.4% of total)
ival-fabs: 8.0ms (1.7% of total)
ival-log: 6.0ms (1.3% of total)
ival-exp: 4.0ms (0.9% of total)
ival-true: 4.0ms (0.9% of total)
ival->=: 3.0ms (0.7% of total)
exact: 3.0ms (0.7% of total)
ival-assert: 2.0ms (0.4% of total)

preprocess1.5s (2.6%)

Memory
67.9MiB live, 1 241.1MiB allocated
Algorithm
egg-herbie
Stop Event
18×iter limit
13×saturated
node limit
Compiler

Compiled 4 937 to 1 224 computations (75.2% saved)

series1.1s (1.9%)

Memory
-95.8MiB live, 816.0MiB allocated
Counts
330 → 2 320
Calls

177 calls:

TimeVariablePointExpression
82.0ms
b
@inf
((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a))
82.0ms
c
@inf
((/ (* 2 c) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))) (- (* b b) (* (* 4 a) c)) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (>= b 0) (sqrt (- (* b b) (* (* 4 a) c))) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))))
59.0ms
y
@0
((fabs (/ (+ (* z x) (- -4 x)) y)) (/ (+ (* z x) (- -4 x)) y) (+ (* z x) (- -4 x)) (- -4 x) (fabs (- (/ (+ x 4) y) (* (/ x y) z))) (- (/ (+ x 4) y) (* (/ x y) z)) (/ 4 y) (fabs (- (/ (+ x 4) y) (* (/ x y) z))) (- (/ (+ x 4) y) (* (/ x y) z)) (* (- 1 z) (/ x y)) (- 1 z) (/ 1 (/ y (- (+ 4 x) (* z x)))) (- (+ 4 x) (* z x)) (fabs (/ 1 (/ y (- (+ 4 x) (* z x))))) (/ y (- (+ 4 x) (* z x))) (- (/ (+ (* x x) -16) (* (- x 4) y)) (* (/ x y) z)) (fabs (- (/ (+ (* x x) -16) (* (- x 4) y)) (* (/ x y) z))) (+ (* x x) -16) (* (- x 4) y) (* z x) (/ (+ (* x x) -16) (* (- x 4) y)) (* (/ x y) z))
58.0ms
a
@-inf
((/ (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (- (* b b) (* (* 4 a) c)) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (>= b 0) (sqrt (- (* b b) (* (* 4 a) c))) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (/ (* 2 c) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c))))))
49.0ms
a
@-inf
((/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 c)) 1)) (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 c)) 1) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (- (* b b) (* (* 4 a) c)) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (if (>= b 0) (/ (* 2 c) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))) (>= b 0) (/ (* 2 c) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))) (if (>= b 0) (/ (* 2 c) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))) (if (>= b 0) (/ (* -2 c) (+ (sqrt (+ (* -4 (* c a)) (* b b))) b)) (* (/ (- (sqrt (+ (* -4 (* c a)) (* b b))) b) a) 1/2)) (/ (* -2 c) (+ (sqrt (+ (* -4 (* c a)) (* b b))) b)) (* (+ (* (/ b c) -2) (* (/ a b) 2)) c) (+ (* (/ b c) -2) (* (/ a b) 2)) (/ (* 2 c) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))) (- (+ (* (* -4 c) a) (* b b)) (* b b)) (/ (* (- (+ (* (* -4 c) a) (* b b)) (* b b)) 1/2) (* (+ (sqrt (+ (* (* -4 c) a) (* b b))) b) a)) (* (- (+ (* (* -4 c) a) (* b b)) (* b b)) 1/2) (if (>= b 0) (* (/ -2 (- (sqrt (+ (* (* -4 c) a) (* b b))) b)) c) (/ (* (- (+ (* (* -4 c) a) (* b b)) (* b b)) 1/2) (* (+ (sqrt (+ (* (* -4 c) a) (* b b))) b) a))) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (- (* b b) (* (* 4 a) c))) (/ (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 c)) (sqrt (- (* b b) (* (* 4 a) c))) (/ (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)) (sqrt (+ (* -4 (* c a)) (* b b))) (- (sqrt (+ (* -4 (* c a)) (* b b))) b) (+ (sqrt (+ (* -4 (* c a)) (* b b))) b) (+ (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (- (neg b) (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (+ (* (* -4 c) a) (* b b))) (- (sqrt (+ (* (* -4 c) a) (* b b))) b))

regimes668.0ms (1.2%)

Memory
-0.9MiB live, 833.2MiB allocated
Counts
446 → 76
Calls

26 calls:

87.0ms
b
82.0ms
x
58.0ms
z
50.0ms
a
50.0ms
c
Compiler

Compiled 947 to 783 computations (17.3% saved)

analyze629.0ms (1.1%)

Memory
72.2MiB live, 516.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
22.2%22.2%77.7%0.1%0%0%0%1
29.4%27.8%66.6%0.1%0%5.6%0%2
50%44.4%44.4%0.1%0%11.1%0%3
59.7%51.3%34.7%0.1%0%13.9%0%4
67.2%56.9%27.7%0.1%0%15.3%0%5
74.4%62.4%21.5%0.1%0%16%0%6
78.9%64.9%17.3%0.1%0%17.7%0%7
80.8%66.3%15.8%0.1%0%17.9%0%8
85.9%69.9%11.5%0.1%0%18.5%0%9
88%70.7%9.7%0.1%0%19.6%0%10
90%72.1%8%0.1%0%19.8%0%11
92.3%73.5%6.2%0.1%0%20.3%0%12
Compiler

Compiled 153 to 106 computations (30.7% saved)

bsearch627.0ms (1.1%)

Memory
24.1MiB live, 539.9MiB allocated
Algorithm
25×binary-search
left-value
Stop Event
23×narrow-enough
predicate-same
Samples
235.0ms2 288×0valid
120.0ms152×0invalid
59.0ms112×2valid
Compiler

Compiled 15 353 to 9 560 computations (37.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 223.0ms
ival-mult: 79.0ms (35.4% of total)
ival-sub: 60.0ms (26.9% of total)
ival-div: 30.0ms (13.4% of total)
ival-add: 11.0ms (4.9% of total)
ival->=: 10.0ms (4.5% of total)
ival-sqrt: 10.0ms (4.5% of total)
ival-if: 5.0ms (2.2% of total)
ival-fabs: 5.0ms (2.2% of total)
ival-neg: 5.0ms (2.2% of total)
adjust: 3.0ms (1.3% of total)
ival-true: 2.0ms (0.9% of total)
exact: 2.0ms (0.9% of total)
ival-assert: 1.0ms (0.4% of total)

start0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...