Details

Time bar (total: 7.8s)

analyze160.0ms (2.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
50%37.5%12.6%7
56.2%31.2%12.6%8
62.4%18.7%18.8%9
65.6%15.6%18.8%10
68.7%9.4%22%11
70.2%7.8%22%12
71.8%4.7%23.5%13
72.6%3.9%23.5%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample1.8s (23.1%)

Results
1.6s8256×body128valid
31.0ms222×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Rules
601×fma-def_binary64
148×fma-neg_binary64
84×distribute-rgt-in_binary64
50×distribute-lft-in_binary64
50×cancel-sign-sub-inv_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11510
23710
37110
414810
521110
629710
752610
856010
955910
1059510
1154410

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))

series15.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

15.0ms
(*.f64 (*.f64 x y) (-.f64 1 y))

rewrite71.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
692×log1p-expm1-u_binary64
692×expm1-log1p-u_binary64
132×prod-diff_binary64
131×fma-def_binary64
128×expm1-udef_binary64
Counts
1 → 51
Calls

1 calls:

69.0ms
(*.f64 (*.f64 x y) (-.f64 1 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
114410
2175910
3495610
000
100

simplify93.0ms (1.2%)

Algorithm
egg-herbie
Rules
423×fma-neg_binary64
367×neg-sub0_binary64
365×distribute-rgt-neg-in_binary64
361×neg-mul-1_binary64
345×associate-*r*_binary64
Counts
75 → 58
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016232
141232
278232
3166232
4444232
51310232
62464232
74517232
84907232

prune68.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New53558
Fresh000
Picked011
Done000
Total53659
Error
0.0b
Counts
59 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 y (*.f64 (-.f64 1 y) x))
5.3b
(*.f64 (-.f64 y (pow.f64 y 2)) x)
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
30.2b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 2)
1.2b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 3)
13.1b
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 3)) (*.f64 x y)) (+.f64 1 (fma.f64 y y y)))
Compiler

Compiled 810 to 303 computations (62.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 1 y) x)
0.1b
(*.f64 y (*.f64 (-.f64 1 y) x))

series19.0ms (0.2%)

Counts
2 → 28
Calls

2 calls:

13.0ms
(*.f64 y (*.f64 (-.f64 1 y) x))
6.0ms
(*.f64 (-.f64 1 y) x)

rewrite103.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
693×log1p-expm1-u_binary64
693×expm1-log1p-u_binary64
132×prod-diff_binary64
128×expm1-udef_binary64
127×log1p-udef_binary64
Counts
2 → 46
Calls

2 calls:

102.0ms
(*.f64 (-.f64 1 y) x)
102.0ms
(*.f64 y (*.f64 (-.f64 1 y) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
114417
2176117
3499017
4500217
000
100

simplify137.0ms (1.8%)

Algorithm
egg-herbie
Rules
487×unsub-neg_binary64
379×fma-neg_binary64
378×distribute-rgt-in_binary64
315×associate-*l*_binary64
301×distribute-lft-in_binary64
Counts
74 → 56
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014228
140228
271228
3150228
4392228
51317228
62563228
74317228
84909228
94984228
104827228

prune67.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh044
Picked101
Done011
Total56662
Error
0.0b
Counts
62 → 6
Alt Table
StatusErrorProgram
5.3b
(*.f64 (-.f64 y (pow.f64 y 2)) x)
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
30.0b
(*.f64 y (cbrt.f64 (pow.f64 (*.f64 (-.f64 1 y) x) 3)))
30.2b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 2)
1.2b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 3)
13.1b
(/.f64 (*.f64 (-.f64 1 (pow.f64 y 3)) (*.f64 x y)) (+.f64 1 (fma.f64 y y y)))
Compiler

Compiled 689 to 406 computations (41.1% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
0.6b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 3)
8.7b
(cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y)))

series2.0s (25.9%)

Counts
2 → 48
Calls

2 calls:

1.3s
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 3)
666.0ms
(cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y)))

rewrite77.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
856×log1p-expm1-u_binary64
856×expm1-log1p-u_binary64
132×prod-diff_binary64
90×add-sqr-sqrt_binary64
85×add-cbrt-cube_binary64
Counts
2 → 73
Calls

2 calls:

75.0ms
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 3)
75.0ms
(cbrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
119222
2219722
3541322
000
100

simplify151.0ms (1.9%)

Algorithm
egg-herbie
Rules
814×fma-neg_binary64
263×fma-def_binary64
233×sub-neg_binary64
221×associate-*r*_binary64
176×associate-*l*_binary64
Counts
121 → 117
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01111791
13141631
29141326
33417903
44766852
54980852
64941852

prune206.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1714175
Fresh224
Picked101
Done011
Total1747181
Error
0.0b
Counts
181 → 7
Alt Table
StatusErrorProgram
5.3b
(*.f64 x (*.f64 y (-.f64 1 y)))
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
1.2b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y)))
30.0b
(*.f64 y (cbrt.f64 (pow.f64 (*.f64 (-.f64 1 y) x) 3)))
30.2b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 2)
13.1b
(*.f64 (sqrt.f64 (-.f64 1 y)) (*.f64 (sqrt.f64 (-.f64 1 y)) (*.f64 x y)))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 y (-.f64 1 y))))
Compiler

Compiled 3159 to 1821 computations (42.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y))
0.3b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y)))
0.5b
(pow.f64 (cbrt.f64 (*.f64 x y)) 2)
8.7b
(cbrt.f64 (*.f64 x y))

series1.7s (22.5%)

Counts
4 → 96
Calls

4 calls:

643.0ms
(pow.f64 (cbrt.f64 (*.f64 x y)) 2)
630.0ms
(cbrt.f64 (*.f64 x y))
418.0ms
(*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y))
54.0ms
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y)))

rewrite98.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
514×log-prod_binary64
261×pow2_binary64
188×pow1/3_binary64
180×expm1-udef_binary64
179×log1p-udef_binary64
Counts
4 → 159
Calls

4 calls:

93.0ms
(*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y))
93.0ms
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y)))
93.0ms
(pow.f64 (cbrt.f64 (*.f64 x y)) 2)
93.0ms
(cbrt.f64 (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01137
122435
2247535
3496335
000
100

simplify132.0ms (1.7%)

Algorithm
egg-herbie
Rules
530×times-frac_binary64
438×fma-neg_binary64
365×cancel-sign-sub-inv_binary64
303×fma-def_binary64
302×difference-of-squares_binary64
Counts
255 → 194
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0661594
11831592
23411408
310361040
426571016
540251016
652831016

prune238.0ms (3.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2262228
Fresh145
Picked011
Done011
Total2278235
Error
0.0b
Counts
235 → 8
Alt Table
StatusErrorProgram
5.3b
(*.f64 x (*.f64 y (-.f64 1 y)))
0.1b
(*.f64 (*.f64 x y) (-.f64 1 y))
1.2b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (cbrt.f64 (*.f64 x y)) (-.f64 1 y)))
1.5b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 x y))) 3) (-.f64 1 y)))
1.1b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 y)) (-.f64 1 y)))
30.2b
(pow.f64 (sqrt.f64 (*.f64 (*.f64 x y) (-.f64 1 y))) 2)
13.1b
(*.f64 (sqrt.f64 (-.f64 1 y)) (*.f64 (sqrt.f64 (-.f64 1 y)) (*.f64 x y)))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 y (-.f64 1 y))))
Compiler

Compiled 4192 to 1862 computations (55.6% saved)

regimes315.0ms (4.1%)

Accuracy

Total 0.1b remaining (76.3%)

Threshold costs 0.1b (76.3%)

Counts
62 → 1
Compiler

Compiled 2406 to 1574 computations (34.6% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11513
22213
33313
43813
54113
64213
74213

end174.0ms (2.2%)

Compiler

Compiled 135 to 88 computations (34.8% saved)

Profiling

Loading profile data...