Herbie run

Date:Saturday, August 31st, 2024
Commit:ac261103 on main
Hostname:nightly with Racket 8.11.1
Seed:2024244
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: 33.2min)

simplify5.8min (17.6%)

Memory
2 735.5MiB live, 292 798.1MiB allocated
Algorithm
2 127×egg-herbie
Rules
13 771 802×lower-fma.f32
13 768 706×lower-fma.f64
5 221 468×lower-*.f32
5 214 560×lower-*.f64
2 999 740×lower-+.f32
Stop Event
2 774×iter limit
1 225×node limit
915×saturated
Counts
350 820 → 342 767

sample5.7min (17.2%)

Memory
2 273.7MiB live, 379 978.1MiB allocated
Samples
3.3min2 146 673×0valid
21.3s67 900×1valid
11.4s64 133×0invalid
1.9s5 663×2valid
1.4s1 239×5exit
680.0ms1 743×1invalid
516.0ms378×4exit
168.0ms627×3valid
2.0ms19×1exit
0.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-mult: 46.9s (31.3% of total)
ival-sub: 21.0s (14% of total)
ival-add: 20.6s (13.8% of total)
ival-div: 19.0s (12.7% of total)
ival-log: 10.0s (6.7% of total)
const: 7.0s (4.7% of total)
ival-sqrt: 5.6s (3.7% of total)
ival-sin: 3.7s (2.5% of total)
ival-cos: 3.5s (2.3% of total)
adjust: 3.2s (2.1% of total)
ival-exp: 2.6s (1.7% of total)
ival-true: 1.7s (1.1% of total)
ival-fabs: 1.2s (0.8% of total)
exact: 1.0s (0.7% of total)
ival-acos: 1.0s (0.7% of total)
ival-assert: 910.0ms (0.6% of total)
ival-hypot: 252.0ms (0.2% of total)
ival-cosh: 223.0ms (0.1% of total)
ival-tan: 199.0ms (0.1% of total)
ival-tanh: 129.0ms (0.1% of total)
ival-sinh: 127.0ms (0.1% of total)
Bogosity

soundness5.3min (15.9%)

Memory
368.3MiB live, 159 328.3MiB allocated
Rules
7 924 118×lower-fma.f32
7 922 862×lower-fma.f64
4 170 180×lower-*.f32
4 166 962×lower-*.f64
2 319 104×lower-/.f32
Stop Event
1 395×iter limit
935×node limit
139×fuel
130×done
23×saturated
unsound
Compiler

Compiled 125 999 to 74 293 computations (41% saved)

rewrite3.8min (11.6%)

Memory
-301.0MiB live, 238 638.3MiB allocated
Rules
5 044 232×lower-fma.f32
5 041 142×lower-fma.f64
3 921 836×lower-*.f32
3 915 030×lower-*.f64
3 376 200×lower-/.f32
Stop Event
1 907×iter limit
902×node limit
18×unsound
16×saturated
Counts
11 361 → 481 800

eval3.7min (11.2%)

Memory
2 895.1MiB live, 245 148.2MiB allocated
Compiler

Compiled 21 054 421 to 1 903 128 computations (91% saved)

localize1.8min (5.5%)

Memory
-1 977.9MiB live, 112 680.1MiB allocated
Samples
1.1min219 780×0valid
10.7s11 037×1valid
4.0s2 823×2valid
1.2s3 099×0invalid
483.0ms301×3valid
244.0ms176×5exit
165.0ms97×1exit
137.0ms384×0exit
88.0ms123×2exit
3.0ms4valid
Compiler

Compiled 134 352 to 22 264 computations (83.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 57.8s
ival-mult: 25.3s (43.8% of total)
ival-div: 7.5s (13% of total)
ival-add: 6.9s (11.9% of total)
ival-sub: 4.4s (7.7% of total)
const: 2.9s (5% of total)
adjust: 1.9s (3.3% of total)
ival-log: 1.9s (3.3% of total)
ival-pow: 1.5s (2.5% of total)
ival-neg: 1.3s (2.3% of total)
ival-cos: 909.0ms (1.6% of total)
ival-sin: 701.0ms (1.2% of total)
ival-sqrt: 645.0ms (1.1% of total)
ival-exp: 436.0ms (0.8% of total)
ival-pow2: 259.0ms (0.4% of total)
exact: 236.0ms (0.4% of total)
ival-log1p: 211.0ms (0.4% of total)
ival-true: 192.0ms (0.3% of total)
ival-hypot: 148.0ms (0.3% of total)
ival-cosh: 110.0ms (0.2% of total)
ival-assert: 99.0ms (0.2% of total)
ival-fabs: 56.0ms (0.1% of total)
ival-tanh: 54.0ms (0.1% of total)
ival-expm1: 49.0ms (0.1% of total)
ival-tan: 45.0ms (0.1% of total)
ival-acos: 18.0ms (0% of total)
ival-sinh: 15.0ms (0% of total)
ival-asin: 10.0ms (0% of total)
ival-pi: 3.0ms (0% of total)

regimes1.6min (4.8%)

Memory
-9.4MiB live, 112 250.0MiB allocated
Counts
38 687 → 5 052
Calls

513 calls:

14.8s
x
12.2s
y
9.3s
z
5.6s
t
3.6s
a
Compiler

Compiled 38 950 to 58 513 computations (-50.2% saved)

prune1.4min (4.1%)

Memory
-3 713.1MiB live, 104 552.4MiB allocated
Counts
910 219 → 13 926
Compiler

Compiled 425 401 to 298 587 computations (29.8% saved)

preprocess1.3min (3.9%)

Memory
299.1MiB live, 71 570.8MiB allocated
Algorithm
269×egg-herbie
Rules
845 124×lower-fma.f64
845 124×lower-fma.f32
193 164×unsub-neg
192 664×lower-*.f32
191 630×lower-*.f64
Stop Event
538×iter limit
394×saturated
144×node limit
Compiler

Compiled 174 054 to 56 290 computations (67.7% saved)

series1.1min (3.4%)

Memory
449.6MiB live, 81 471.5MiB allocated
Counts
11 361 → 350 820
Calls

8889 calls:

TimeVariablePointExpression
357.0ms
z
@0
((/ (* (- 1 (pow (* z y) 2)) x) (+ (* z y) 1)) (* (* (neg z) x) y) (* (neg z) x) (neg z) (* x (+ (* (* (/ (neg y) (+ (* y z) 1)) z) (* y z)) (pow (+ (* z y) 1) -1))) (* (/ (neg y) (+ (* y z) 1)) z) (/ (neg y) (+ (* y z) 1)) (neg y) (/ (* (- 1 (pow (* z y) 2)) x) (+ (* z y) 1)) (* (- 1 (pow (* z y) 2)) x) (* (* (* (neg y) y) z) x) (* (* (neg y) y) z) (/ (* (+ (* (* (* y z) z) (neg y)) 1) x) (+ (* z y) 1)) (* (+ (* (* (* y z) z) (neg y)) 1) x) (* (* y z) z) (* y z) (pow (+ (* z y) 1) -1) (+ (* (* (* y z) z) (neg y)) 1))
344.0ms
a
@0
((+ (* y (log z)) (* (- t 1) (log a))) (/ (* x (exp (- (+ (* y (log z)) (* (- t 1) (log a))) b))) y) (* x (exp (- (+ (* y (log z)) (* (- t 1) (log a))) b))) (- (+ (* y (log z)) (* (- t 1) (log a))) b) (exp (- (+ (* y (log z)) (* (- t 1) (log a))) b)) (* y (log z)) (* (- t 1) (log a)))
201.0ms
t
@inf
((+ x (* (- y z) (/ (- t x) (- a z)))) (* (- y z) (/ (- t x) (- a z))) (- y z) (/ (- t x) (- a z)) (- a z))
198.0ms
x
@-inf
((- 1 (* x (+ 253/1000 (* x 3/25)))) (+ 253/1000 (* x 3/25)) (* x (+ 253/1000 (* x 3/25))) (* x 3/25))
194.0ms
y
@0
((/ (+ 2 (* (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (- (cos x) (cos y)))) (/ (+ (* (* (* (cos y) (- 3 (sqrt 5))) 3) (- 1 (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)))) (* 2 (* (- 1 (pow (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 2)) 3))) (* 2 (- 1 (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)))))) (/ (+ (* (* (* (cos y) (- 3 (sqrt 5))) 3) (- 1 (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)))) (* 2 (* (- 1 (pow (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 2)) 3))) (* 2 (- 1 (* (cos x) (+ (* (sqrt 5) 1/2) -1/2))))) (* 2 (* (- 1 (pow (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 2)) 3)) (+ 2 (* (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (- (cos x) (cos y)))) (* 3 (+ (+ 1 (* (/ (- (sqrt 5) 1) 2) (cos x))) (* (/ (- 3 (sqrt 5)) 2) (cos y)))) (/ (- 3 (sqrt 5)) 2) (+ (+ 1 (* (/ (- (sqrt 5) 1) 2) (cos x))) (* (/ (- 3 (sqrt 5)) 2) (cos y))) (+ 1 (* (/ (- (sqrt 5) 1) 2) (cos x))) (+ (+ (* (- 3 (sqrt 5)) (+ (* (* -1/4 y) y) 1/2)) (* (+ (* (sqrt 5) 1/2) -1/2) (cos x))) 1) (* (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (- (cos x) (cos y))) (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (+ (+ (* (cos y) (* 1/2 (- 3 (sqrt 5)))) (* (cos x) (+ (* (sqrt 5) 1/2) -1/2))) 1) (* 1/2 (- 3 (sqrt 5))) (/ (+ 2 (* (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (- (cos x) (cos y)))) (* 3 (+ (+ (* (cos y) (* 1/2 (- 3 (sqrt 5)))) (* (cos x) (+ (* (sqrt 5) 1/2) -1/2))) 1))) (/ (* (- (pow (+ (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 1) 2) (pow (* (cos y) (* 1/2 (- 3 (sqrt 5)))) 2)) 3) (- (+ (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 1) (* (cos y) (* 1/2 (- 3 (sqrt 5)))))) (- (+ (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 1) (* (cos y) (* 1/2 (- 3 (sqrt 5))))) (- (cos x) (cos y)) (- 3 (sqrt 5)) (pow (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 2) (- 1 (* (cos x) (+ (* (sqrt 5) 1/2) -1/2))) (+ 2 (* (* (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (- (sin y) (/ (sin x) 16))) (- (cos x) (cos y)))) (+ (* -1/16 (cos x)) 1/16) (* (+ (* -1/16 (cos x)) 1/16) (sqrt 2)) (+ (+ 1 (* (/ (- (sqrt 5) 1) 2) (cos x))) (* (/ (- 3 (sqrt 5)) 2) (cos y))) (* (sqrt 2) (- (sin x) (/ (sin y) 16))) (+ (* (cos y) (* 1/2 (- 3 (sqrt 5)))) (* (cos x) (+ (* (sqrt 5) 1/2) -1/2))) (* (- (pow (+ (* (cos x) (+ (* (sqrt 5) 1/2) -1/2)) 1) 2) (pow (* (cos y) (* 1/2 (- 3 (sqrt 5)))) 2)) 3))

explain44.9s (2.3%)

Memory
-1 895.1MiB live, 51 859.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f64#fsensitivity15501
/.f64#fo/n12190
sqrt.f64#foflow-rescue7690
/.f64#fo/o5740
-.f64#fcancellation57414
*.f64#fn*o5010
+.f64#fnan-rescue4430
-.f64#fnan-rescue4330
cos.f64#fsensitivity3860
/.f64#fn/o3350
+.f64#fcancellation3251
/.f64#fu/n2520
sin.f64#fsensitivity2190
*.f64#fn*u1840
/.f64#fn/u1700
cos.f64#foflow-rescue1310
tan.f64(tan.f64 (/.f64 x (*.f64 y #s(literal 2 binary64))))sensitivity931
/.f64#fu/u920
log.f64#foflow-rescue900
log.f64#fuflow-rescue560
sqrt.f64#fuflow-rescue440
*.f64#fo*u370
exp.f64#fsensitivity314
sin.f64(sin.f64 (/.f64 x (*.f64 y #s(literal 2 binary64))))oflow-rescue280
(/.f64 x (*.f64 y #s(literal 2 binary64)))overflow28
tan.f64(tan.f64 (/.f64 x (*.f64 y #s(literal 2 binary64))))oflow-rescue280
(/.f64 x (*.f64 y #s(literal 2 binary64)))overflow28
*.f64(*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))u*o10
(*.f64 j y3)underflow22
(-.f64 (*.f64 k y2) (*.f64 j y3))underflow2
(*.f64 k y2)underflow24
(*.f64 y4 y1)overflow29
(-.f64 (*.f64 y4 y1) (*.f64 y5 y0))overflow57
(*.f64 y5 y0)overflow34
Confusion
Predicted +Predicted -
+6005187
-168960983
Precision
0.7804782947751495
Recall
0.9697997416020672
Confusion?
Predicted +Predicted MaybePredicted -
+60055182
-16891760966
Precision?
0.7789009849663038
Recall?
0.9706072351421189
Freqs
test
numberfreq
061170
16921
2695
363
411
53
61
Total Confusion?
Predicted +Predicted MaybePredicted -
+13810
-11128
Precision?
0.9858156028368794
Recall?
1.0
Samples
13.7s130 530×0valid
2.4s5 890×1valid
637.0ms1 178×2valid
34.0ms130×3valid
Compiler

Compiled 24 442 to 8 402 computations (65.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.4s
ival-mult: 3.1s (32.6% of total)
ival-div: 1.4s (15.2% of total)
ival-sub: 1.2s (12.4% of total)
ival-add: 1.0s (10.8% of total)
ival-log: 986.0ms (10.5% of total)
const: 355.0ms (3.8% of total)
ival-sin: 246.0ms (2.6% of total)
adjust: 242.0ms (2.6% of total)
ival-sqrt: 208.0ms (2.2% of total)
ival-exp: 203.0ms (2.2% of total)
ival-cos: 165.0ms (1.8% of total)
ival-true: 117.0ms (1.2% of total)
exact: 63.0ms (0.7% of total)
ival-assert: 56.0ms (0.6% of total)
ival-cosh: 17.0ms (0.2% of total)
ival-fabs: 16.0ms (0.2% of total)
ival-tan: 11.0ms (0.1% of total)
ival-hypot: 10.0ms (0.1% of total)
ival-sinh: 8.0ms (0.1% of total)
ival-tanh: 6.0ms (0.1% of total)
ival-acos: 4.0ms (0% of total)

bsearch33.7s (1.7%)

Memory
-560.8MiB live, 40 390.6MiB allocated
Algorithm
1 638×binary-search
1 254×left-value
Stop Event
1 600×narrow-enough
37×predicate-same
predicate-failed
Samples
19.3s134 737×0valid
772.0ms3 376×1valid
226.0ms2 184×0invalid
23.0ms120×2valid
1.0ms3valid
Compiler

Compiled 280 419 to 332 547 computations (-18.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.9s
ival-mult: 5.8s (42.1% of total)
ival-sub: 3.2s (22.9% of total)
ival-add: 1.5s (10.5% of total)
ival-div: 896.0ms (6.5% of total)
const: 714.0ms (5.1% of total)
ival-log: 684.0ms (4.9% of total)
ival-sin: 304.0ms (2.2% of total)
ival-cos: 276.0ms (2% of total)
ival-sqrt: 124.0ms (0.9% of total)
adjust: 117.0ms (0.8% of total)
ival-true: 105.0ms (0.8% of total)
ival-exp: 57.0ms (0.4% of total)
ival-assert: 55.0ms (0.4% of total)
exact: 46.0ms (0.3% of total)
ival-tanh: 13.0ms (0.1% of total)
ival-cosh: 8.0ms (0.1% of total)
ival-fabs: 2.0ms (0% of total)

analyze19.3s (1%)

Memory
-253.8MiB live, 23 523.1MiB allocated
Algorithm
269×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
46.8%46.8%53.1%0.1%0%0%0%1
50.5%50.1%49.2%0.1%0%0.6%0%2
58.6%57%40.3%0.1%0%2.6%0%3
65.2%62.7%33.5%0.1%0%3.6%0%4
71.2%68.2%27.5%0.1%0%4.1%0%5
75.9%72.3%23%0.1%0%4.6%0%6
79.8%75.6%19.1%0.1%0%5.1%0%7
81.7%77%17.3%0.1%0%5.6%0%8
84.3%79.3%14.7%0.1%0%5.9%0%9
85.9%80.5%13.2%0.1%0%6.2%0%10
88.5%82.8%10.8%0.1%0%6.2%0%11
89.6%83.6%9.8%0.1%0%6.5%0%12
Compiler

Compiled 3 462 to 2 977 computations (14% saved)

start8.0ms (0%)

Memory
-24.3MiB live, 17.3MiB allocated

end2.0ms (0%)

Memory
4.2MiB live, 4.0MiB allocated

Profiling

Loading profile data...