Details

Time bar (total: 4.8s)

analyze436.0ms (9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.4s (69.2%)

Results
1.5s2537×body1024valid
796.0ms1285×body2048valid
506.0ms1288×body512valid
295.0ms2463×body128valid
154.0ms637×body256valid
34.0ms46×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
43.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
43.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.5b
(+.f64 x (hypot.f64 1 x))
2.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.0ms
(+.f64 x (hypot.f64 1 x))
2.0ms
(hypot.f64 1 x)

rewrite45.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
575×log1p-expm1-u_binary64
575×expm1-log1p-u_binary64
462×prod-diff_binary64
165×fma-def_binary64
105×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0620
112120
2153720
Stop Event
node limit
Counts
3 → 81
Calls

3 calls:

43.0ms
(hypot.f64 1 x)
43.0ms
(+.f64 x (hypot.f64 1 x))
43.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))

simplify44.0ms (0.9%)

Algorithm
egg-herbie
Rules
447×cancel-sign-sub-inv_binary64
436×fma-neg_binary64
413×associate-/r*_binary64
338×sub-neg_binary64
314×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098569
1306549
2863537
32779537
Stop Event
node limit
Counts
117 → 145

prune79.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1423145
Fresh000
Picked011
Done000
Total1424146
Error
0.0b
Counts
146 → 4
Alt Table
StatusErrorProgram
43.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.9b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
28.6b
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
51.1b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1950 to 1448 computations (25.7% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (pow.f64 x 3) -1/6 x)
16.8b
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))

series8.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(fma.f64 (pow.f64 x 3) -1/6 x)
3.0ms
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))

rewrite38.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
836×log1p-expm1-u_binary64
836×expm1-log1p-u_binary64
103×prod-diff_binary64
100×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121423
2228523
Stop Event
node limit
Counts
2 → 47
Calls

2 calls:

37.0ms
(fma.f64 (pow.f64 x 3) -1/6 x)
37.0ms
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))

simplify33.0ms (0.7%)

Algorithm
egg-herbie
Rules
720×fma-neg_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
333×associate-*l*_binary64
304×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016264
143260
2102228
3309228
4735228
52023228
63560228
Stop Event
node limit
Counts
71 → 57

prune30.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh022
Picked011
Done011
Total57461
Error
0.0b
Counts
61 → 4
Alt Table
StatusErrorProgram
43.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.9b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
28.6b
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
51.1b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 955 to 736 computations (22.9% saved)

localize19.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.4b
(/.f64 1/8 (pow.f64 x 3))
12.3b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series9.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

3.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
3.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
3.0ms
(/.f64 1/8 (pow.f64 x 3))

rewrite54.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
914×prod-diff_binary64
193×log1p-udef_binary64
110×add-sqr-sqrt_binary64
109×log1p-expm1-u_binary64
109×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01035
123131
2309731
Stop Event
node limit
Counts
3 → 104
Calls

3 calls:

52.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
52.0ms
(/.f64 1/8 (pow.f64 x 3))
52.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

simplify25.0ms (0.5%)

Algorithm
egg-herbie
Rules
732×fma-def_binary64
524×cancel-sign-sub-inv_binary64
352×sub-neg_binary64
306×associate-/r*_binary64
237×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
063410
1181402
2523400
31888396
Stop Event
node limit
Counts
128 → 131

prune67.0ms (1.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh011
Picked011
Done022
Total1314135
Error
0.0b
Counts
135 → 4
Alt Table
StatusErrorProgram
43.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.9b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
28.6b
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
51.1b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 2196 to 1746 computations (20.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x)))
0.9b
(-.f64 x (hypot.f64 1 x))
2.6b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
15.0b
(-.f64 (*.f64 x x) (fma.f64 x x 1))

series12.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
3.0ms
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x)))
3.0ms
(-.f64 (*.f64 x x) (fma.f64 x x 1))
2.0ms
(-.f64 x (hypot.f64 1 x))

rewrite75.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
453×fma-def_binary64
290×egg-rr
263×fma-neg_binary64
188×expm1-udef_binary64
188×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01060
122434
2337234
Stop Event
node limit
Counts
4 → 290
Calls

4 calls:

70.0ms
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x)))
70.0ms
(-.f64 x (hypot.f64 1 x))
70.0ms
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
70.0ms
(-.f64 (*.f64 x x) (fma.f64 x x 1))

simplify42.0ms (0.9%)

Algorithm
egg-herbie
Rules
424×associate-/r*_binary64
414×cancel-sign-sub-inv_binary64
337×fma-neg_binary64
305×sub-neg_binary64
248×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
089592
1270568
2775562
32458562
Stop Event
node limit
Counts
338 → 341

prune181.0ms (3.7%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3410341
Fresh000
Picked011
Done033
Total3414345
Error
0.0b
Counts
345 → 4
Alt Table
StatusErrorProgram
43.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
58.9b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
28.6b
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
51.1b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 7437 to 4783 computations (35.7% saved)

regimes114.0ms (2.4%)

Accuracy

Total 0.0b remaining (22%)

Threshold costs 0.0b (22%)

Counts
26 → 3
Compiler

Compiled 1014 to 781 computations (23% saved)

bsearch41.0ms (0.9%)

Steps
ItersRangePoint
9
1.2657313602955984e-9
0.2007625494085178
0.007834703990068876
8
-0.22645862137088205
-0.0007928517292319593
-0.007430164824513489
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02548
13048
23348
33548
43648
Stop Event
saturated

end101.0ms (2.1%)

Compiler

Compiled 114 to 83 computations (27.2% saved)

Profiling

Loading profile data...