Herbie run

Date:Thursday, September 26th, 2024
Commit:029b8eff on dump-egraph
Hostname:nightly with Racket 8.10
Seed:2024270
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.6min)

sample2.0min (43%)

Memory
499.3MiB live, 115 348.3MiB allocated
Samples
29.1s41 515×2valid
25.7s144 317×0invalid
19.8s91 841×1valid
9.5s4 878×5exit
8.8s94 921×0valid
2.1s2 889×3valid
444.0ms2 282×1exit
361.0ms4 193×0exit
5.0ms3exit
4.0ms2exit
4.0ms4exit
2.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.4s (16.8% of total)
ival-pow: 9.3s (11.7% of total)
ival-mult: 6.5s (8.1% of total)
adjust: 6.1s (7.7% of total)
const: 4.8s (6.1% of total)
ival-cos: 4.7s (5.9% of total)
ival-div: 4.3s (5.4% of total)
ival-sub: 4.1s (5.1% of total)
ival-sin: 3.9s (4.8% of total)
ival-log: 3.3s (4.2% of total)
ival-add: 3.1s (3.9% of total)
ival-exp: 2.8s (3.6% of total)
ival-expm1: 2.7s (3.3% of total)
ival-<=: 2.2s (2.8% of total)
ival-fabs: 2.1s (2.7% of total)
ival-sqrt: 1.1s (1.4% of total)
ival-log1p: 1.0s (1.3% of total)
ival-<: 975.0ms (1.2% of total)
ival-fmin: 673.0ms (0.8% of total)
ival-and: 627.0ms (0.8% of total)
exact: 364.0ms (0.5% of total)
ival-atan: 341.0ms (0.4% of total)
ival->: 332.0ms (0.4% of total)
ival-neg: 317.0ms (0.4% of total)
ival-cbrt: 292.0ms (0.4% of total)
ival-assert: 157.0ms (0.2% of total)
ival-true: 72.0ms (0.1% of total)
Bogosity

simplify36.8s (13.4%)

Memory
648.8MiB live, 31 471.2MiB allocated
Algorithm
244×egg-herbie
Stop Event
321×iter limit
170×node limit
77×saturated
Counts
28 920 → 28 520

soundness29.3s (10.7%)

Memory
-59.1MiB live, 16 081.6MiB allocated
Stop Event
193×iter limit
131×node limit
24×fuel
done
saturated
Compiler

Compiled 7 329 to 4 599 computations (37.2% saved)

rewrite20.6s (7.5%)

Memory
343.1MiB live, 20 517.4MiB allocated
Stop Event
219×iter limit
107×node limit
saturated
Counts
1 626 → 63 979

localize20.2s (7.3%)

Memory
-66.0MiB live, 21 561.2MiB allocated
Samples
6.4s5 405×2valid
6.2s9 962×1valid
2.9s11 168×0valid
410.0ms355×3valid
204.0ms678×0invalid
80.0ms47×5exit
9.0ms32×0exit
1.0ms1exit
Compiler

Compiled 20 453 to 3 171 computations (84.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.9s
ival-mult: 2.5s (19.1% of total)
adjust: 1.9s (14.7% of total)
ival-div: 1.5s (11.9% of total)
ival-tan: 1.3s (9.8% of total)
ival-add: 989.0ms (7.7% of total)
ival-sub: 739.0ms (5.7% of total)
ival-pow: 655.0ms (5.1% of total)
ival-cos: 623.0ms (4.8% of total)
ival-log: 571.0ms (4.4% of total)
const: 511.0ms (4% of total)
ival-sin: 402.0ms (3.1% of total)
ival-exp: 304.0ms (2.4% of total)
ival-sqrt: 274.0ms (2.1% of total)
ival-neg: 138.0ms (1.1% of total)
ival-pow2: 121.0ms (0.9% of total)
ival-log1p: 120.0ms (0.9% of total)
ival-expm1: 96.0ms (0.7% of total)
ival-cbrt: 70.0ms (0.5% of total)
exact: 47.0ms (0.4% of total)
ival-cosh: 33.0ms (0.3% of total)
ival-true: 24.0ms (0.2% of total)
ival-atan2: 16.0ms (0.1% of total)
ival-assert: 12.0ms (0.1% of total)
ival-atan: 10.0ms (0.1% of total)
ival-sinh: 4.0ms (0% of total)

eval20.2s (7.3%)

Memory
279.7MiB live, 23 960.5MiB allocated
Compiler

Compiled 2 727 583 to 293 127 computations (89.3% saved)

prune6.6s (2.4%)

Memory
-416.7MiB live, 9 518.3MiB allocated
Counts
106 426 → 1 898
Compiler

Compiled 64 168 to 35 788 computations (44.2% saved)

explain5.9s (2.2%)

Memory
-105.2MiB live, 5 952.6MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation408238
log.f64#fsensitivity7610
/.f64#fu/u4560
sqrt.f64#foflow-rescue4200
+.f64#fcancellation3731
/.f64#fu/n1050
pow.f64#fsensitivity611
/.f64(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) #s(literal 1 binary64))) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))))n/u220
(*.f64 b eps)underflow144
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow163
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow144
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow235
(*.f64 a eps)underflow163
sqrt.f64#fuflow-rescue200
-.f64#fnan-rescue160
/.f64#fn/o40
sin.f64(sin.f64 (+.f64 x eps))sensitivity30
tan.f64(tan.f64 (+.f64 x eps))sensitivity30
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o20
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow3
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
cos.f64(cos.f64 (+.f64 x eps))sensitivity21
exp.f64#fsensitivity20
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/n10
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow3
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
Confusion
Predicted +Predicted -
+521124
-1461787
Precision
0.9727459398917304
Recall
0.9954154727793696
Confusion?
Predicted +Predicted MaybePredicted -
+5211159
-146231764
Precision?
0.9686746987951808
Recall?
0.9982808022922636
Freqs
test
numberfreq
01811
14571
2646
390
450
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.8s2 658×2valid
1.0s5 604×1valid
562.0ms5 874×0valid
148.0ms200×3valid
Compiler

Compiled 2 154 to 763 computations (64.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.9s
ival-tan: 817.0ms (28.3% of total)
adjust: 272.0ms (9.4% of total)
ival-sub: 268.0ms (9.3% of total)
ival-cos: 222.0ms (7.7% of total)
ival-log: 180.0ms (6.2% of total)
ival-div: 165.0ms (5.7% of total)
ival-mult: 162.0ms (5.6% of total)
ival-sin: 138.0ms (4.8% of total)
ival-exp: 128.0ms (4.4% of total)
ival-add: 124.0ms (4.3% of total)
ival-pow: 118.0ms (4.1% of total)
ival-expm1: 81.0ms (2.8% of total)
ival-sqrt: 73.0ms (2.5% of total)
ival-log1p: 57.0ms (2% of total)
ival-atan: 21.0ms (0.7% of total)
ival-cbrt: 20.0ms (0.7% of total)
ival-true: 13.0ms (0.5% of total)
ival-neg: 12.0ms (0.4% of total)
exact: 9.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

series5.8s (2.1%)

Memory
-228.7MiB live, 5 828.4MiB allocated
Counts
1 626 → 28 920
Calls

501 calls:

TimeVariablePointExpression
125.0ms
x
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ x 1) (/ 1 n) (pow x (/ 1 n)))
120.0ms
x
@-inf
((+ (- (exp x) 2) (exp (neg x))) (pow x 6) (+ (* 1/20160 (* x x)) 1/360) (* x x) (+ (- (exp x) 2) (exp (neg x))) (+ (- (exp x) 2) (exp (neg x))) (+ (* (pow x 4) 1/12) (* x x)) (pow x 4) (+ (- (exp x) 2) (exp (neg x))) (+ (* (pow x 6) 1/360) (+ (* (pow x 4) 1/12) (* x x))) (+ -2 (* 2 (sinh x))) (/ (- (pow (- (exp x) 2) 2) (pow (exp x) -2)) (+ -2 (* 2 (sinh x)))) (- (pow (- (exp x) 2) 2) (pow (exp x) -2)) (pow (- (exp x) 2) 2) (+ (* (pow x 6) (+ (* 1/20160 (* x x)) 1/360)) (+ (* (pow x 4) 1/12) (* x x))) (pow (exp x) -2) (- (exp x) 2))
107.0ms
n
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (neg (log (/ x (+ 1 x)))) n) (neg (log (/ x (+ 1 x)))) (log (/ x (+ 1 x))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (exp (/ (log x) n)) (* n x) (/ (exp (/ (log x) n)) (* n x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (/ (- 1 (/ (+ 1/2 (/ (- (/ 1/4 x) 1/3) x)) x)) x) (* (neg (- (log (+ 1 x)) (log x))) (/ -1 n)) (neg (- (log (+ 1 x)) (log x))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (log (+ 1 x)) (log x)) (/ (- (* (log (+ 1 x)) (/ n (log x))) n) (* n (/ n (log x)))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (* (log (+ 1 x)) (/ n (log x))) n) (* (log (+ 1 x)) (/ n (log x))) (/ x (+ 1 x)) (/ (- (/ 1/4 x) 1/3) x) (log (+ 1 x)))
97.0ms
x
@inf
((/ (+ (* x 1/3) 1/9) x) (- (cbrt (+ x 1)) (cbrt x)) (/ (* (cbrt x) (/ (+ (* x 1/3) 1/9) x)) x) (* (cbrt x) (/ (+ (* x 1/3) 1/9) x)) (pow x 1/3) (+ (pow x 1/3) (cbrt (+ x 1))) (cbrt (+ x 1)) (/ -1 (* (/ (neg x) (* (cbrt x) (+ (* x 1/3) 1/9))) x)) (- (cbrt (+ x 1)) (cbrt x)) (* (/ (neg x) (* (cbrt x) (+ (* x 1/3) 1/9))) x) (neg x) (- (cbrt (+ x 1)) (cbrt x)) (/ 1/3 (pow (cbrt x) 2)) (pow (cbrt x) 2) (cbrt x) (- (cbrt (+ x 1)) (cbrt x)) (/ (+ (* (cbrt (pow x 4)) 1/3) (* -1/9 (cbrt x))) (* x x)) (+ (* (cbrt (/ 1 (pow x 5))) -1/9) (* (cbrt (/ 1 (* x x))) 1/3)) (cbrt (/ 1 (pow x 5))) (+ (* x 1/3) 1/9) (/ (neg x) (* (cbrt x) (+ (* x 1/3) 1/9))) (cbrt (/ 1 (* x x))) (/ 1 (* x x)))
96.0ms
x
@-inf
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ x 1) (/ 1 n) (pow x (/ 1 n)))

preprocess4.9s (1.8%)

Memory
195.9MiB live, 4 534.8MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 8 456 to 3 839 computations (54.6% saved)

regimes3.2s (1.2%)

Memory
-112.7MiB live, 4 101.9MiB allocated
Counts
3 274 → 281
Calls

43 calls:

845.0ms
x
172.0ms
N
140.0ms
eps
120.0ms
b
117.0ms
a
Compiler

Compiled 2 002 to 1 844 computations (7.9% saved)

analyze1.8s (0.7%)

Memory
46.3MiB live, 2 062.9MiB allocated
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
7.4%4.5%56.6%38.9%0%0%0%1
22.3%13.6%47.5%38.9%0%0%0%2
40.2%23.5%34.9%38.9%0%2.7%0%3
53.4%31.1%27.2%38.9%0%2.8%0%4
63%36.3%21.3%38.9%0%3.6%0%5
65.9%37.5%19.4%38.9%0%4.2%0%6
70.4%38.8%16.3%38.9%0%6%0%7
73.6%40.2%14.4%38.9%0%6.5%0%8
76.3%40.9%12.7%38.9%0%7.5%0%9
78.4%41.4%11.4%38.9%0%8.3%0%10
81.1%42.4%9.9%38.9%0%8.8%0%11
82.3%42.7%9.2%38.9%0%9.3%0%12
Compiler

Compiled 483 to 337 computations (30.2% saved)

bsearch1.2s (0.4%)

Memory
6.7MiB live, 816.3MiB allocated
Algorithm
64×binary-search
19×left-value
Stop Event
63×narrow-enough
predicate-same
Samples
338.0ms3 429×0valid
92.0ms625×0invalid
86.0ms270×2valid
82.0ms433×1valid
3.0ms12×3valid
2.0ms18×0exit
Compiler

Compiled 10 479 to 10 612 computations (-1.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 431.0ms
ival-mult: 81.0ms (18.8% of total)
ival-div: 73.0ms (16.9% of total)
ival-neg: 60.0ms (13.9% of total)
ival-pow: 50.0ms (11.6% of total)
ival-add: 43.0ms (10% of total)
ival-sub: 40.0ms (9.3% of total)
ival-sqrt: 31.0ms (7.2% of total)
adjust: 19.0ms (4.4% of total)
ival-cos: 15.0ms (3.5% of total)
ival-sin: 5.0ms (1.2% of total)
ival-true: 4.0ms (0.9% of total)
ival-cbrt: 3.0ms (0.7% of total)
exact: 3.0ms (0.7% of total)
ival-assert: 2.0ms (0.5% of total)
ival-expm1: 2.0ms (0.5% of total)

start1.0ms (0%)

Memory
1.5MiB live, 1.4MiB allocated

end0.0ms (0%)

Memory
0.4MiB live, 0.3MiB allocated

Profiling

Loading profile data...