Herbie run

Date:Wednesday, July 17th, 2024
Commit:c34c16ee on main
Hostname:nightly with Racket 8.11.1
Seed:2024199
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: 7.0min)

simplify1.8min (25%)

Memory
-418.0MiB live, 130 806.2MiB allocated
Algorithm
344×egg-herbie
Rules
2 739 082×accelerator-lowering-fma.f32
2 739 082×accelerator-lowering-fma.f64
958 198×*-lowering-*.f32
958 198×*-lowering-*.f64
545 756×+-lowering-+.f32
Stop Event
286×iter limit
215×node limit
145×saturated
Counts
32 376 → 32 376

rewrite1.2min (16.5%)

Memory
-156.3MiB live, 88 677.6MiB allocated
Algorithm
151×batch-egg-rewrite
Rules
805 458×accelerator-lowering-fma.f32
805 458×accelerator-lowering-fma.f64
632 770×*-lowering-*.f32
632 770×*-lowering-*.f64
507 124×/-lowering-/.f64
Stop Event
148×iter limit
141×node limit
17×saturated
unsound
Counts
1 676 → 97 508

sample1.2min (16.4%)

Memory
460.6MiB live, 87 724.4MiB allocated
Samples
29.8s285 571×0valid
12.5s25 061×2valid
9.5s35 595×1valid
428.0ms4 161×0invalid
194.0ms977×0exit
152.0ms411×3valid
65.0ms101×3exit
61.0ms101×4exit
38.0ms114×4valid
7.0ms21×5exit
3.0ms26×1exit
Precisions
Click to see histograms. Total time spent on operations: 40.2s
ival-mult: 10.4s (25.8% of total)
ival-add: 4.2s (10.4% of total)
ival-div: 3.6s (9.1% of total)
ival-pow: 3.2s (7.9% of total)
ival-sub: 3.0s (7.4% of total)
const: 2.8s (6.9% of total)
ival-<=: 2.7s (6.7% of total)
adjust: 2.4s (5.9% of total)
ival-sin: 2.3s (5.7% of total)
ival-cos: 1.9s (4.7% of total)
ival-neg: 592.0ms (1.5% of total)
ival-sqrt: 561.0ms (1.4% of total)
ival-exp: 500.0ms (1.2% of total)
exact: 467.0ms (1.2% of total)
ival-and: 351.0ms (0.9% of total)
ival-pow2: 349.0ms (0.9% of total)
ival-==: 319.0ms (0.8% of total)
ival-true: 138.0ms (0.3% of total)
ival-assert: 131.0ms (0.3% of total)
ival-log1p: 100.0ms (0.2% of total)
ival-expm1: 97.0ms (0.2% of total)
ival-atan: 81.0ms (0.2% of total)
ival-<: 76.0ms (0.2% of total)
ival-tan: 55.0ms (0.1% of total)
ival-pi: 38.0ms (0.1% of total)
ival-hypot: 17.0ms (0% of total)
ival-fabs: 5.0ms (0% of total)
ival-if: 4.0ms (0% of total)
Bogosity

soundness50.2s (11.9%)

Memory
-82.0MiB live, 28 139.9MiB allocated
Rules
1 561 902×accelerator-lowering-fma.f32
1 561 902×accelerator-lowering-fma.f64
791 768×*-lowering-*.f32
791 768×*-lowering-*.f64
408 346×/-lowering-/.f64
Stop Event
179×iter limit
172×node limit
28×fuel
14×done
saturated
unsound
Compiler

Compiled 24 777 to 10 372 computations (58.1% saved)

eval31.8s (7.5%)

Memory
1 005.3MiB live, 42 525.9MiB allocated
Compiler

Compiled 4 973 935 to 353 077 computations (92.9% saved)

prune25.9s (6.2%)

Memory
-568.2MiB live, 41 141.9MiB allocated
Counts
154 351 → 2 351
Compiler

Compiled 85 587 to 42 741 computations (50.1% saved)

localize20.5s (4.9%)

Memory
44.0MiB live, 31 691.7MiB allocated
Samples
6.1s31 998×0valid
3.1s2 695×2valid
1.8s2 984×1valid
1.1s270×5exit
351.0ms247×3valid
128.0ms60×4valid
100.0ms390×0invalid
17.0ms4exit
9.0ms2exit
Compiler

Compiled 27 010 to 3 600 computations (86.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.3s
ival-mult: 3.2s (34.8% of total)
ival-add: 1.5s (15.9% of total)
ival-div: 1.2s (12.7% of total)
adjust: 953.0ms (10.3% of total)
const: 604.0ms (6.5% of total)
ival-sub: 404.0ms (4.4% of total)
ival-tan: 355.0ms (3.8% of total)
ival-pow: 325.0ms (3.5% of total)
ival-sin: 149.0ms (1.6% of total)
ival-cos: 144.0ms (1.6% of total)
ival-sqrt: 124.0ms (1.3% of total)
ival-neg: 87.0ms (0.9% of total)
ival-exp: 83.0ms (0.9% of total)
exact: 58.0ms (0.6% of total)
ival-true: 31.0ms (0.3% of total)
ival-atan: 20.0ms (0.2% of total)
ival-assert: 15.0ms (0.2% of total)
ival-expm1: 11.0ms (0.1% of total)
ival-log1p: 8.0ms (0.1% of total)
ival-pow2: 6.0ms (0.1% of total)
ival-pi: 4.0ms (0% of total)
ival-fabs: 1.0ms (0% of total)

preprocess16.1s (3.8%)

Memory
77.7MiB live, 18 297.9MiB allocated
Algorithm
84×egg-herbie
Rules
283 340×accelerator-lowering-fma.f32
283 340×accelerator-lowering-fma.f64
55 342×*-lowering-*.f32
55 342×*-lowering-*.f64
38 680×unsub-neg
Stop Event
55×saturated
40×iter limit
31×node limit
Compiler

Compiled 26 038 to 6 952 computations (73.3% saved)

regimes10.4s (2.5%)

Memory
13.0MiB live, 12 100.4MiB allocated
Counts
6 537 → 649
Calls

96 calls:

991.0ms
x
934.0ms
b
606.0ms
a
588.0ms
(+.f64 (+.f64 (+.f64 (+.f64 e d) c) b) a)
518.0ms
(+.f64 (+.f64 e d) c)
Compiler

Compiled 11 320 to 6 043 computations (46.6% saved)

explain10.3s (2.4%)

Memory
32.1MiB live, 14 410.2MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation12701
+.f64#fcancellation37685
-.f64(-.f64 (*.f64 #s(literal 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 binary64) t) #s(literal 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 binary64))oflow-left2200
sqrt.f64#foflow-rescue1790
log.f64(log.f64 (+.f64 #s(literal 1 binary64) x))sensitivity1680
/.f64#fn/o1600
/.f64#fo/o1310
-.f64#fnan-rescue1240
pow.f64(pow.f64 (+.f64 #s(literal 1 binary64) (/.f64 i n)) n)sensitivity1150
/.f64#fu/n850
/.f64#fn/u560
/.f64#fu/u440
*.f64#fn*u410
/.f64#fo/n390
+.f64#fnan-rescue370
*.f64#fn*o310
pow.f64(pow.f64 (+.f64 #s(literal 1 binary64) (/.f64 i n)) n)oflow-rescue190
(pow.f64 (+.f64 #s(literal 1 binary64) (/.f64 i n)) n)overflow43
(/.f64 i n)overflow19
(+.f64 #s(literal 1 binary64) (/.f64 i n))overflow19
sqrt.f64#fuflow-rescue100
Confusion
Predicted +Predicted -
+3541459
-1186634
Precision
0.9677507515714676
Recall
0.88525
Confusion?
Predicted +Predicted MaybePredicted -
+3541158301
-1181846450
Precision?
0.9245188702824294
Recall?
0.92475
Freqs
test
numberfreq
07093
13235
2382
342
Total Confusion?
Predicted +Predicted MaybePredicted -
+2911
-209
Precision?
0.9375
Recall?
0.967741935483871
Samples
1.6s16 924×0valid
1.2s1 934×2valid
571.0ms2 518×1valid
76.0ms56×5exit
47.0ms60×3valid
5.0ms12×4valid
Compiler

Compiled 8 444 to 1 926 computations (77.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.4s
ival-mult: 718.0ms (29.6% of total)
ival-add: 396.0ms (16.4% of total)
ival-div: 278.0ms (11.5% of total)
adjust: 240.0ms (9.9% of total)
ival-pow: 204.0ms (8.4% of total)
ival-sub: 179.0ms (7.4% of total)
ival-sin: 133.0ms (5.5% of total)
ival-cos: 69.0ms (2.8% of total)
const: 41.0ms (1.7% of total)
ival-exp: 34.0ms (1.4% of total)
ival-sqrt: 24.0ms (1% of total)
exact: 22.0ms (0.9% of total)
ival-pow2: 20.0ms (0.8% of total)
ival-neg: 19.0ms (0.8% of total)
ival-true: 18.0ms (0.7% of total)
ival-assert: 9.0ms (0.4% of total)
ival-atan: 5.0ms (0.2% of total)
ival-log1p: 5.0ms (0.2% of total)
ival-tan: 4.0ms (0.2% of total)
ival-expm1: 4.0ms (0.2% of total)
ival-pi: 2.0ms (0.1% of total)

bsearch5.4s (1.3%)

Memory
11.0MiB live, 7 226.3MiB allocated
Algorithm
191×binary-search
132×left-value
Stop Event
185×narrow-enough
predicate-same
predicate-failed
Samples
2.2s19 102×0valid
671.0ms3 159×1valid
634.0ms1 810×2valid
226.0ms3 478×0invalid
49.0ms87×3valid
6.0ms18×4valid
2.0ms12×1exit
Compiler

Compiled 47 183 to 31 307 computations (33.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.9s
ival-mult: 932.0ms (32.2% of total)
ival-pow: 460.0ms (15.9% of total)
ival-div: 425.0ms (14.7% of total)
ival-add: 339.0ms (11.7% of total)
ival-sub: 319.0ms (11% of total)
adjust: 146.0ms (5% of total)
ival-exp: 93.0ms (3.2% of total)
ival-neg: 65.0ms (2.2% of total)
ival-sqrt: 62.0ms (2.1% of total)
exact: 27.0ms (0.9% of total)
ival-true: 19.0ms (0.7% of total)
ival-assert: 10.0ms (0.3% of total)
ival-pi: 2.0ms (0.1% of total)

analyze3.5s (0.8%)

Memory
140.2MiB live, 5 695.2MiB allocated
Algorithm
43×search
random
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%54.5%45.5%0%0%0%0
21.4%11.7%42.9%45.5%0%0%0%1
37.4%20.4%34.1%45.5%0%0%0%2
48.7%26.2%27.7%45.5%0%0.6%0%3
57.7%30.7%22.6%45.5%0%1.2%0%4
71.2%37.7%15.3%45.5%0%1.6%0%5
72.9%38.4%14.3%45.5%0%1.8%0%6
77.9%40.7%11.6%45.5%0%2.2%0%7
81.5%42.6%9.7%45.5%0%2.3%0%8
84.1%43.8%8.3%45.5%0%2.5%0%9
86.2%44.6%7.2%45.5%0%2.7%0%10
88.2%45.6%6.1%45.5%0%2.8%0%11
89.1%45.9%5.6%45.5%0%2.9%0%12
Compiler

Compiled 1 401 to 721 computations (48.5% saved)

series3.1s (0.7%)

Memory
129.4MiB live, 4 316.6MiB allocated
Counts
1 676 → 32 376
Calls

6588 calls:

TimeVariablePointExpression
167.0ms
x
@-inf
(/ (- x (+ (* (* x (* x x)) (+ (* x (* x (+ (* x (* x -1/5040)) 1/120))) -1/6)) x)) (tan x))
114.0ms
t
@0
(* (sqrt (sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)))) (* (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)) (sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)))))
77.0ms
t
@0
(* (* (sqrt (sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)))) (* (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)) (sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))))) (sqrt (sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)))))
63.0ms
t
@0
(sqrt (sqrt (+ (* t 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)))
44.0ms
a
@0
(- (* b b) (* 4 (* a c)))

end0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated

Profiling

Loading profile data...