Herbie run

Date:Thursday, July 25th, 2024
Commit:3dbe455a on bsearch-speedup
Hostname:nightly with Racket 8.11.1
Seed:2024207
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: 5.4min)

sample1.9min (35.4%)

Memory
899.2MiB live, 131 505.0MiB allocated
Samples
30.8s40 971×2valid
23.7s146 574×0invalid
19.1s92 392×1valid
8.9s4 879×5exit
8.8s94 413×0valid
2.0s3 275×3valid
468.0ms2 279×1exit
374.0ms4 160×0exit
76.0ms97×2exit
44.0ms117×4valid
16.0ms4exit
12.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.8s (17.8% of total)
ival-pow: 9.1s (11.8% of total)
ival-mult: 5.6s (7.2% of total)
const: 5.6s (7.2% of total)
adjust: 4.9s (6.3% of total)
ival-cos: 4.7s (6.1% of total)
ival-sub: 4.6s (5.9% of total)
ival-div: 4.2s (5.5% of total)
ival-log: 3.3s (4.3% of total)
ival-add: 3.3s (4.2% of total)
ival-sin: 3.2s (4.1% of total)
ival-<=: 2.2s (2.9% of total)
ival-fabs: 2.2s (2.8% of total)
ival-exp: 2.2s (2.8% of total)
ival-expm1: 1.7s (2.2% of total)
ival-sqrt: 1.4s (1.9% of total)
ival-log1p: 1.4s (1.8% of total)
ival-<: 814.0ms (1.1% of total)
ival-and: 628.0ms (0.8% of total)
ival-neg: 503.0ms (0.7% of total)
exact: 428.0ms (0.6% of total)
ival-fmin: 397.0ms (0.5% of total)
ival-atan: 367.0ms (0.5% of total)
ival->: 364.0ms (0.5% of total)
ival-cbrt: 243.0ms (0.3% of total)
ival-assert: 171.0ms (0.2% of total)
ival-true: 67.0ms (0.1% of total)
Bogosity

simplify1.2min (21.2%)

Memory
15.5MiB live, 79 605.5MiB allocated
Algorithm
242×egg-herbie
Rules
1 892 576×lower-fma.f32
1 892 072×lower-fma.f64
719 040×lower-*.f32
718 144×lower-*.f64
411 222×lower-+.f32
Stop Event
316×iter limit
157×node limit
90×saturated
Counts
22 440 → 22 041

rewrite38.5s (11.8%)

Memory
743.5MiB live, 46 960.0MiB allocated
Algorithm
107×batch-egg-rewrite
Rules
495 970×lower-fma.f32
495 470×lower-fma.f64
412 458×lower-*.f32
411 578×lower-*.f64
357 796×lower-/.f32
Stop Event
221×iter limit
104×node limit
saturated
unsound
Counts
1 349 → 72 328

soundness29.5s (9.1%)

Memory
53.2MiB live, 19 199.1MiB allocated
Rules
1 133 912×lower-fma.f32
1 133 652×lower-fma.f64
578 326×lower-*.f32
577 884×lower-*.f64
299 300×lower-+.f32
Stop Event
193×iter limit
128×node limit
23×fuel
done
saturated
Compiler

Compiled 9 094 to 4 778 computations (47.5% saved)

eval19.1s (5.9%)

Memory
546.6MiB live, 25 530.3MiB allocated
Compiler

Compiled 3 134 934 to 257 711 computations (91.8% saved)

prune17.9s (5.5%)

Memory
-838.1MiB live, 26 500.8MiB allocated
Counts
111 004 → 2 184
Compiler

Compiled 80 814 to 39 035 computations (51.7% saved)

localize15.0s (4.6%)

Memory
-421.4MiB live, 19 700.0MiB allocated
Samples
3.5s14 979×0valid
3.0s6 706×1valid
2.7s3 421×2valid
874.0ms708×3valid
348.0ms1 332×0invalid
111.0ms90×5exit
52.0ms126×0exit
17.0ms12×1exit
16.0ms18×4valid
Compiler

Compiled 16 202 to 2 660 computations (83.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.7s
ival-mult: 1.7s (22% of total)
ival-div: 1.3s (17% of total)
ival-add: 841.0ms (11% of total)
adjust: 766.0ms (10% of total)
ival-tan: 488.0ms (6.4% of total)
const: 434.0ms (5.7% of total)
ival-cos: 391.0ms (5.1% of total)
ival-sub: 349.0ms (4.6% of total)
ival-pow: 320.0ms (4.2% of total)
ival-log: 214.0ms (2.8% of total)
ival-sqrt: 165.0ms (2.2% of total)
ival-sin: 156.0ms (2% of total)
ival-exp: 129.0ms (1.7% of total)
ival-log1p: 78.0ms (1% of total)
ival-neg: 75.0ms (1% of total)
exact: 46.0ms (0.6% of total)
ival-pow2: 44.0ms (0.6% of total)
ival-cbrt: 42.0ms (0.5% of total)
ival-expm1: 35.0ms (0.5% of total)
ival-cosh: 29.0ms (0.4% of total)
ival-true: 23.0ms (0.3% of total)
ival-atan2: 22.0ms (0.3% of total)
ival-atan: 12.0ms (0.2% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 4.0ms (0.1% of total)

explain6.4s (2%)

Memory
-200.3MiB live, 7 211.8MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation414639
log.f64#fsensitivity7670
/.f64#fu/u4350
sqrt.f64#foflow-rescue4340
+.f64#fcancellation3180
/.f64#fu/n930
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity800
/.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/u270
(*.f64 b eps)underflow148
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow147
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow148
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow237
(*.f64 a eps)underflow147
sqrt.f64#fuflow-rescue240
-.f64#fnan-rescue160
cos.f64(cos.f64 (+.f64 x eps))sensitivity41
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o40
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow4
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow4
(exp.f64 x)overflow4
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow4
sin.f64(sin.f64 (+.f64 x eps))sensitivity40
tan.f64(tan.f64 (+.f64 x eps))sensitivity40
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow80
exp.f64#fsensitivity23
Confusion
Predicted +Predicted -
+522615
-1391788
Precision
0.9740913327120224
Recall
0.9971379507727532
Confusion?
Predicted +Predicted MaybePredicted -
+5226114
-139301758
Precision?
0.9687384387717352
Recall?
0.9992367868727342
Freqs
test
numberfreq
01803
14573
2642
396
454
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.8s2 498×2valid
1.4s5 840×1valid
560.0ms5 764×0valid
150.0ms226×3valid
3.0ms4valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0s
ival-tan: 936.0ms (31.2% of total)
adjust: 262.0ms (8.7% of total)
ival-div: 233.0ms (7.8% of total)
ival-cos: 223.0ms (7.4% of total)
ival-log: 212.0ms (7.1% of total)
ival-sin: 193.0ms (6.4% of total)
ival-sub: 162.0ms (5.4% of total)
ival-exp: 161.0ms (5.4% of total)
ival-pow: 143.0ms (4.8% of total)
ival-add: 113.0ms (3.8% of total)
ival-mult: 100.0ms (3.3% of total)
ival-log1p: 81.0ms (2.7% of total)
ival-sqrt: 61.0ms (2% of total)
ival-neg: 24.0ms (0.8% of total)
ival-expm1: 24.0ms (0.8% of total)
ival-atan: 23.0ms (0.8% of total)
ival-cbrt: 15.0ms (0.5% of total)
exact: 13.0ms (0.4% of total)
ival-true: 13.0ms (0.4% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess4.8s (1.5%)

Memory
-130.5MiB live, 6 104.0MiB allocated
Algorithm
28×egg-herbie
Rules
27 478×lower-fma.f64
27 478×lower-fma.f32
10 768×div-sub
10 444×sub-neg
9 190×lower-*.f32
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 9 580 to 3 510 computations (63.4% saved)

regimes4.6s (1.4%)

Memory
-77.9MiB live, 6 757.6MiB allocated
Counts
4 708 → 326
Calls

43 calls:

1.2s
x
397.0ms
eps
260.0ms
a
191.0ms
(/.f64 #s(literal 1 binary64) n)
167.0ms
c
Compiler

Compiled 3 047 to 2 024 computations (33.6% saved)

series2.9s (0.9%)

Memory
15.6MiB live, 3 893.6MiB allocated
Counts
1 349 → 22 440
Calls

4560 calls:

TimeVariablePointExpression
93.0ms
x
@0
(pow (exp 1/3) (log x))
61.0ms
a
@inf
(* a (* c -4))
43.0ms
n
@0
(* n (log n))
42.0ms
x
@0
(pow x (/ 1 n))
40.0ms
N
@0
(log (atan2 1 (+ 1 (+ (* N N) N))))

analyze1.6s (0.5%)

Memory
-150.1MiB live, 2 096.4MiB 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)

bsearch965.0ms (0.3%)

Memory
56.8MiB live, 1 320.8MiB allocated
Algorithm
68×binary-search
45×left-value
Stop Event
65×narrow-enough
predicate-same
Samples
327.0ms3 344×0valid
130.0ms837×1valid
82.0ms237×2valid
78.0ms730×0invalid
3.0ms12×3valid
2.0ms26×0exit
1.0ms4valid
0.0ms1exit
Compiler

Compiled 13 093 to 9 612 computations (26.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 407.0ms
ival-pow: 85.0ms (20.9% of total)
ival-mult: 80.0ms (19.7% of total)
ival-div: 45.0ms (11.1% of total)
ival-sqrt: 45.0ms (11.1% of total)
ival-sub: 43.0ms (10.6% of total)
adjust: 22.0ms (5.4% of total)
ival-cos: 21.0ms (5.2% of total)
ival-add: 20.0ms (4.9% of total)
ival-neg: 19.0ms (4.7% of total)
ival-sin: 6.0ms (1.5% of total)
ival-cbrt: 5.0ms (1.2% of total)
ival-expm1: 4.0ms (1% of total)
ival-true: 4.0ms (1% of total)
ival-exp: 3.0ms (0.7% of total)
exact: 3.0ms (0.7% of total)
ival-assert: 2.0ms (0.5% of total)

end0.0ms (0%)

Memory
0.5MiB live, 0.4MiB allocated

Profiling

Loading profile data...