Herbie run

Date:Monday, July 22nd, 2024
Commit:11cd870a on better-preprocessing
Hostname:nightly with Racket 8.11.1
Seed:2024204
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: 13.9min)

sample3.4min (24.6%)

Memory
403.4MiB live, 249 511.8MiB allocated
Samples
59.0s121 989×1valid
39.2s280 231×0valid
31.6s14 553×5exit
16.5s22 694×2valid
8.1s4 257×3valid
6.1s35 271×0exit
4.7s10 725×1exit
2.9s20 857×0invalid
2.6s11 239×1invalid
801.0ms43×4exit
496.0ms141×4valid
405.0ms26×3exit
381.0ms830×2invalid
30.0ms15×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 26.0s (17.4% of total)
ival-mult: 18.5s (12.4% of total)
ival-cos: 17.2s (11.5% of total)
ival-sin: 16.5s (11% of total)
ival-div: 12.8s (8.6% of total)
adjust: 9.9s (6.6% of total)
ival-pow2: 8.7s (5.8% of total)
ival-sub: 6.6s (4.4% of total)
ival-exp: 6.3s (4.2% of total)
ival-add: 6.1s (4.1% of total)
ival-log: 4.2s (2.8% of total)
ival-sqrt: 4.0s (2.7% of total)
ival-neg: 3.5s (2.4% of total)
ival-<: 1.7s (1.1% of total)
const: 1.5s (1% of total)
ival-tan: 988.0ms (0.7% of total)
ival-atan2: 772.0ms (0.5% of total)
ival-pi: 602.0ms (0.4% of total)
ival-hypot: 591.0ms (0.4% of total)
exact: 509.0ms (0.3% of total)
ival-acos: 367.0ms (0.2% of total)
ival-atan: 347.0ms (0.2% of total)
ival-and: 329.0ms (0.2% of total)
ival-cbrt: 308.0ms (0.2% of total)
ival-true: 302.0ms (0.2% of total)
ival-fabs: 213.0ms (0.1% of total)
ival-assert: 207.0ms (0.1% of total)
ival-log1p: 152.0ms (0.1% of total)
ival-asin: 135.0ms (0.1% of total)
ival-<=: 105.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.6min (18.7%)

Memory
591.0MiB live, 205 237.8MiB allocated
Algorithm
450×egg-herbie
Rules
3 543 184×accelerator-lowering-fma.f32
3 543 184×accelerator-lowering-fma.f64
1 711 838×*-lowering-*.f32
1 711 838×*-lowering-*.f64
957 180×+-lowering-+.f32
Stop Event
399×iter limit
314×node limit
136×saturated
Counts
83 616 → 83 616

rewrite1.3min (9.7%)

Memory
-56.2MiB live, 108 584.1MiB allocated
Algorithm
199×batch-egg-rewrite
Rules
849 980×accelerator-lowering-fma.f32
849 980×accelerator-lowering-fma.f64
843 630×*-lowering-*.f32
843 630×*-lowering-*.f64
670 484×/-lowering-/.f32
Stop Event
212×iter limit
198×node limit
saturated
Counts
3 341 → 155 465

soundness1.1min (8.2%)

Memory
194.9MiB live, 55 032.1MiB allocated
Rules
2 174 504×accelerator-lowering-fma.f32
2 174 504×accelerator-lowering-fma.f64
1 447 866×*-lowering-*.f32
1 447 866×*-lowering-*.f64
745 166×+-lowering-+.f32
Stop Event
284×iter limit
277×node limit
45×fuel
done
saturated
Compiler

Compiled 52 068 to 25 381 computations (51.3% saved)

localize59.5s (7.1%)

Memory
100.0MiB live, 83 277.1MiB allocated
Samples
15.9s13 629×1valid
8.4s4 212×2valid
7.6s28 104×0valid
5.8s859×5exit
1.5s3 260×0invalid
1.3s596×3valid
544.0ms97×4exit
376.0ms46×4valid
155.0ms17×3exit
129.0ms76×1invalid
65.0ms48×1exit
Compiler

Compiled 92 494 to 7 936 computations (91.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 33.0s
ival-mult: 7.7s (23.5% of total)
ival-cos: 5.5s (16.6% of total)
ival-sin: 4.5s (13.5% of total)
ival-div: 3.2s (9.6% of total)
adjust: 2.6s (7.9% of total)
ival-add: 2.2s (6.6% of total)
const: 1.2s (3.5% of total)
ival-pow2: 820.0ms (2.5% of total)
ival-sqrt: 819.0ms (2.5% of total)
ival-sub: 786.0ms (2.4% of total)
ival-exp: 560.0ms (1.7% of total)
ival-log: 556.0ms (1.7% of total)
ival-neg: 441.0ms (1.3% of total)
ival-pow: 431.0ms (1.3% of total)
ival-atan2: 350.0ms (1.1% of total)
ival-acos: 202.0ms (0.6% of total)
ival-tan: 187.0ms (0.6% of total)
ival-cbrt: 163.0ms (0.5% of total)
ival-hypot: 141.0ms (0.4% of total)
ival-atan: 126.0ms (0.4% of total)
ival-pi: 124.0ms (0.4% of total)
exact: 115.0ms (0.3% of total)
ival-log1p: 109.0ms (0.3% of total)
ival-fabs: 88.0ms (0.3% of total)
ival-true: 47.0ms (0.1% of total)
ival-expm1: 27.0ms (0.1% of total)
ival-assert: 23.0ms (0.1% of total)
ival-asin: 15.0ms (0% of total)
ival-e: 9.0ms (0% of total)
ival-copysign: 7.0ms (0% of total)
ival-cosh: 3.0ms (0% of total)
ival-tanh: 2.0ms (0% of total)
ival-sinh: 2.0ms (0% of total)

eval58.6s (7%)

Memory
1 499.1MiB live, 89 028.7MiB allocated
Compiler

Compiled 14 277 920 to 814 224 computations (94.3% saved)

regimes56.4s (6.8%)

Memory
139.5MiB live, 79 807.8MiB allocated
Counts
28 589 → 1 054
Calls

155 calls:

4.3s
phi1
3.7s
phi2
3.3s
lambda1
3.2s
lambda2
2.7s
b
Compiler

Compiled 28 460 to 16 980 computations (40.3% saved)

prune55.7s (6.7%)

Memory
-1 518.6MiB live, 96 744.0MiB allocated
Counts
311 577 → 8 325
Compiler

Compiled 697 947 to 299 595 computations (57.1% saved)

explain22.1s (2.6%)

Memory
-121.9MiB live, 30 557.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity17763
+.f64#fcancellation173035
sin.f64#fsensitivity15484
sqrt.f64#foflow-rescue14030
-.f64#fcancellation9538
log.f64#fsensitivity6120
-.f64#fnan-rescue5760
/.f64#fo/n4710
/.f64#fo/o3110
/.f64#fu/u3110
*.f64#fn*o2360
/.f64#fu/n1750
exp.f64#fsensitivity17523
sqrt.f64#fuflow-rescue1420
*.f64#fn*u1220
/.f64#fn/o1080
cbrt.f64#foflow-rescue870
/.f64#fn/u400
cbrt.f64#fuflow-rescue330
*.f64#fu*o250
*.f64#fo*u250
acos.f64(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))sensitivity165
pow.f64#fsensitivity50
pow.f64#fuflow-rescue40
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))oflow-rescue40
(+.f64 (exp.f64 a) (exp.f64 b))overflow4
(exp.f64 b)overflow4
Confusion
Predicted +Predicted -
+576667
-13386141
Precision
0.8116554054054054
Recall
0.9885136293502486
Confusion?
Predicted +Predicted MaybePredicted -
+57663730
-1338266115
Precision?
0.809683270545556
Recall?
0.9948568489627979
Freqs
test
numberfreq
06208
14746
21596
3364
4227
5106
645
713
85
91
101
Total Confusion?
Predicted +Predicted MaybePredicted -
+4000
-318
Precision?
0.9090909090909091
Recall?
1.0
Samples
4.4s8 108×1valid
2.2s16 294×0valid
1.9s1 828×2valid
620.0ms390×3valid
2.0ms4valid
Compiler

Compiled 21 748 to 3 336 computations (84.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0s
ival-sin: 1.7s (23.6% of total)
ival-cos: 1.2s (17.2% of total)
ival-mult: 858.0ms (12.2% of total)
ival-div: 599.0ms (8.5% of total)
ival-pow2: 425.0ms (6% of total)
adjust: 396.0ms (5.6% of total)
ival-add: 374.0ms (5.3% of total)
ival-sub: 333.0ms (4.7% of total)
ival-log: 250.0ms (3.6% of total)
ival-sqrt: 204.0ms (2.9% of total)
ival-exp: 202.0ms (2.9% of total)
ival-neg: 124.0ms (1.8% of total)
ival-hypot: 63.0ms (0.9% of total)
ival-atan2: 55.0ms (0.8% of total)
ival-pi: 53.0ms (0.8% of total)
ival-tan: 53.0ms (0.8% of total)
ival-atan: 26.0ms (0.4% of total)
ival-pow: 26.0ms (0.4% of total)
exact: 25.0ms (0.4% of total)
ival-acos: 25.0ms (0.4% of total)
ival-true: 25.0ms (0.4% of total)
ival-cbrt: 19.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 10.0ms (0.1% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)

preprocess19.6s (2.3%)

Memory
-278.5MiB live, 22 478.6MiB allocated
Algorithm
52×egg-herbie
Rules
237 718×accelerator-lowering-fma.f32
237 718×accelerator-lowering-fma.f64
81 446×*-lowering-*.f32
81 446×*-lowering-*.f64
46 834×unsub-neg
Stop Event
61×saturated
52×iter limit
43×node limit
Compiler

Compiled 70 920 to 22 206 computations (68.7% saved)

series18.5s (2.2%)

Memory
224.7MiB live, 24 785.7MiB allocated
Counts
3 341 → 83 616
Calls

16596 calls:

TimeVariablePointExpression
298.0ms
angle
@-inf
(pow (* 2 (+ (* (+ 1/2 (* 1/2 (cos (* 2 (* 1/180 (* angle (PI))))))) (* b b)) (* (- 1/2 (* 1/2 (cos (* 2 (* 1/180 (* angle (PI))))))) (* a a)))) 1/4)
280.0ms
C
@-inf
(/ -1 (/ (+ (* C (* A -4)) (* B B)) (sqrt (* B (* (+ (* C (* A -4)) (* B B)) (* F 2))))))
183.0ms
t
@0
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* 1 (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))
150.0ms
angle
@inf
(pow (* 2 (+ (* (+ 1/2 (* 1/2 (cos (* 2 (* 1/180 (* angle (PI))))))) (* b b)) (* (- 1/2 (* 1/2 (cos (* 2 (* 1/180 (* angle (PI))))))) (* a a)))) 1/4)
139.0ms
t
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))

bsearch16.4s (2%)

Memory
-198.9MiB live, 21 114.0MiB allocated
Algorithm
264×binary-search
217×left-value
Stop Event
257×narrow-enough
predicate-same
Samples
8.8s11 526×1valid
3.6s19 242×0valid
530.0ms1 022×2valid
177.0ms1 492×0invalid
85.0ms139×3valid
29.0ms27×1exit
7.0ms23×4valid
0.0ms0exit
Compiler

Compiled 86 459 to 59 294 computations (31.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.4s
ival-cos: 3.3s (29.2% of total)
ival-sin: 3.0s (26.5% of total)
ival-mult: 1.5s (13% of total)
adjust: 547.0ms (4.8% of total)
ival-pow2: 546.0ms (4.8% of total)
ival-div: 505.0ms (4.4% of total)
ival-sub: 504.0ms (4.4% of total)
ival-atan2: 356.0ms (3.1% of total)
ival-add: 275.0ms (2.4% of total)
ival-sqrt: 248.0ms (2.2% of total)
ival-acos: 164.0ms (1.4% of total)
ival-neg: 72.0ms (0.6% of total)
ival-exp: 71.0ms (0.6% of total)
ival-tan: 66.0ms (0.6% of total)
ival-hypot: 47.0ms (0.4% of total)
ival-atan: 42.0ms (0.4% of total)
ival-pi: 28.0ms (0.2% of total)
ival-true: 27.0ms (0.2% of total)
ival-log: 22.0ms (0.2% of total)
exact: 19.0ms (0.2% of total)
ival-assert: 14.0ms (0.1% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-asin: 8.0ms (0.1% of total)
ival-log1p: 4.0ms (0% of total)

analyze16.3s (2%)

Memory
-82.4MiB live, 22 205.7MiB allocated
Algorithm
53×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%79.4%20.6%0%0%0%0
17.2%13.7%65.7%20.6%0%0%0%1
25%19.6%58.5%20.6%0%1.3%0%2
35.2%26.6%48.9%20.6%0%3.8%0%3
42.3%31.7%43.1%20.6%0%4.5%0%4
47.9%35.6%38.7%20.6%0%5.1%0%5
51%37.6%36.1%20.6%0%5.7%0%6
54.4%39.7%33.2%20.6%0%6.5%0%7
56.2%40.7%31.8%20.6%0%6.8%0%8
59%42.5%29.5%20.6%0%7.4%0%9
60.3%43.2%28.4%20.6%0%7.7%0%10
62.1%44.3%27%20.6%0%8.1%0%11
63.6%45.1%25.8%20.6%0%8.5%0%12
Compiler

Compiled 1 826 to 990 computations (45.8% saved)

end0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated

Profiling

Loading profile data...