Details

Time bar (total: 5.5s)

analyze104.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample28.0ms (0.5%)

Algorithm
intervals
Results
10.0ms66×body1024valid
6.0ms142×body128valid
3.0ms27×body512valid
1.0ms16×body256valid
1.0msbody2048valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify92.0ms (1.7%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.5b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.3b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite153.0ms (2.8%)

Algorithm
rewrite-expression-head
Rules
1322×*-un-lft-identity_binary64
1012×times-frac_binary64
869×add-sqr-sqrt_binary64
612×prod-diff_binary64
533×add-cube-cbrt_binary64
Counts
3 → 783
Calls

3 calls:

43.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
4.0ms
(/.f64 x (+.f64 x 1))

series11.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
4.0ms
(/.f64 x (+.f64 x 1))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify1.0s (19%)

Algorithm
egg-herbie
Rules
654×fma-neg_binary64
367×unsub-neg_binary64
299×fma-udef_binary64
213×sub-neg_binary64
202×associate-+r-_binary64
Counts
819 → 1621
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054554602
1129031108
2304322839
3432322837
4498322837
5499122837
6474222837

prune838.0ms (15.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New161561621
Fresh000
Picked101
Done000
Total161661622
Error
0.0b
Counts
1622 → 6
Alt Table
StatusErrorProgram
47.2b
(+.f64 (fma.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (/.f64 x (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)))))
32.6b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
28.5b
(/.f64 (-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
29.0b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
32.7b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
31.6b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
Compiler

Compiled 30680 to 22609 computations (26.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
0.0b
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))
0.0b
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
3.2b
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

rewrite107.0ms (2%)

Algorithm
rewrite-expression-head
Rules
448×*-un-lft-identity_binary64
284×times-frac_binary64
236×add-sqr-sqrt_binary64
108×add-cube-cbrt_binary64
96×distribute-lft-out_binary64
Counts
4 → 327
Calls

4 calls:

29.0ms
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
27.0ms
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
15.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))
11.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

series20.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

11.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
3.0ms
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
3.0ms
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
3.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))

simplify227.0ms (4.1%)

Algorithm
egg-herbie
Rules
369×associate-*l*_binary64
349×associate-*r*_binary64
331×associate-*r/_binary64
314×associate-*l/_binary64
280×associate-/l*_binary64
Counts
375 → 706
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041010195
112319124
246338649
349528649

prune531.0ms (9.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New7051706
Fresh055
Picked101
Done000
Total7066712
Error
0.0b
Counts
712 → 6
Alt Table
StatusErrorProgram
47.2b
(+.f64 (fma.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (/.f64 x (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)))))
32.6b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
29.0b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
32.7b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
29.8b
(/.f64 (/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4)) (*.f64 (fma.f64 x x -1) (fma.f64 x x -1))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
31.6b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
Compiler

Compiled 21290 to 15285 computations (28.2% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 (-.f64 -1 x) (+.f64 x -1))
28.9b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity_binary64
42×add-sqr-sqrt_binary64
37×times-frac_binary64
24×add-cube-cbrt_binary64
10×distribute-lft-out_binary64
Counts
3 → 103
Calls

3 calls:

7.0ms
(/.f64 (-.f64 -1 x) (+.f64 x -1))
4.0ms
(/.f64 1 (+.f64 x 1))
0.0ms
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
2.0ms
(/.f64 (-.f64 -1 x) (+.f64 x -1))
2.0ms
(/.f64 1 (+.f64 x 1))

simplify92.0ms (1.7%)

Algorithm
egg-herbie
Rules
593×div-sub_binary64
585×fma-neg_binary64
396×fma-def_binary64
220×distribute-rgt-in_binary64
164×times-frac_binary64
Counts
139 → 237
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01972228
14762034
211622028
334882028
451502028

prune165.0ms (3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2361237
Fresh145
Picked011
Done000
Total2376243
Error
0.0b
Counts
243 → 6
Alt Table
StatusErrorProgram
31.6b
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (fma.f64 x x 1))
29.0b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
47.2b
(+.f64 (fma.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (/.f64 x (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1))))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 (sqrt.f64 x) 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) (+.f64 (sqrt.f64 x) 1)))))
32.6b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
32.7b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
29.8b
(/.f64 (/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4)) (*.f64 (fma.f64 x x -1) (fma.f64 x x -1))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
Compiler

Compiled 3814 to 2824 computations (26% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (+.f64 1 x) 4)
0.1b
(*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1)))
0.1b
(*.f64 (fma.f64 x x -1) (fma.f64 x x -1))
25.2b
(-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4))

rewrite40.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
40×pow1_binary64
20×*-un-lft-identity_binary64
19×add-exp-log_binary64
18×add-cbrt-cube_binary64
16×add-sqr-sqrt_binary64
Counts
4 → 126
Calls

4 calls:

15.0ms
(-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4))
11.0ms
(*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1)))
5.0ms
(*.f64 (fma.f64 x x -1) (fma.f64 x x -1))
3.0ms
(pow.f64 (+.f64 1 x) 4)

series22.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

9.0ms
(*.f64 (fma.f64 x x -1) (fma.f64 x x -1))
6.0ms
(*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1)))
4.0ms
(-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4))
2.0ms
(pow.f64 (+.f64 1 x) 4)

simplify143.0ms (2.6%)

Algorithm
egg-herbie
Rules
276×associate-*l*_binary64
246×associate-*r*_binary64
244×exp-prod_binary64
235×unswap-sqr_binary64
234×log-prod_binary64
Counts
174 → 321
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02433522
15662931
220952459
343262404
449602404
549712404

prune277.0ms (5.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3183321
Fresh134
Picked101
Done101
Total3216327
Error
0.0b
Counts
327 → 6
Alt Table
StatusErrorProgram
22.4b
(/.f64 (/.f64 (neg.f64 (+.f64 1 (+.f64 (*.f64 5 (pow.f64 x 2)) (+.f64 (*.f64 4 x) (*.f64 6 (pow.f64 x 3)))))) (*.f64 (fma.f64 x x -1) (fma.f64 x x -1))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
29.8b
(/.f64 (/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x -1) (+.f64 x -1))) (pow.f64 (+.f64 1 x) 4)) (+.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 1 (*.f64 x x)))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
31.6b
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (fma.f64 x x 1))
32.6b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
32.7b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
22.4b
(/.f64 (/.f64 (-.f64 (fma.f64 x -4 -1) (*.f64 (*.f64 x x) (+.f64 5 (*.f64 6 x)))) (*.f64 (fma.f64 x x -1) (fma.f64 x x -1))) (+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
Compiler

Compiled 10216 to 6916 computations (32.3% saved)

regimes436.0ms (7.9%)

Accuracy

Total 0.0b remaining (74%)

Threshold costs 0.0b (74%)

Compiler

Compiled 7652 to 5664 computations (26% saved)

bsearch24.0ms (0.4%)

Steps
ItersRangePoint
6
274587220209162.75
3645111812598632.5
3580589034911187.0
4
-10563676.794156242
-800.7477104091652
-15104.003133029944
Compiler

Compiled 2 to 1 computations (50% saved)

simplify9.0ms (0.2%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
047130
170128
296128
3133128
4168128
5183128
6190128
7192128
8186128

end2.0ms (0%)

Compiler

Compiled 88 to 65 computations (26.1% saved)

sample1.1s (19.2%)

Algorithm
intervals
Results
322.0ms2039×body1024valid
184.0ms4296×body128valid
116.0ms965×body512valid
42.0ms494×body256valid
40.0ms206×body2048valid
Compiler

Compiled 293 to 214 computations (27% saved)

Profiling

Loading profile data...