Details

Time bar (total: 6.1s)

analyze101.0ms (1.7%)

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.4%)

Algorithm
intervals
Results
9.0ms60×body1024valid
5.0ms137×body128valid
4.0ms32×body512valid
2.0msbody2048valid
1.0ms19×body256valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify89.0ms (1.5%)

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
30.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.1b
(-.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))
4.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series8.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite225.0ms (3.7%)

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:

39.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))

simplify948.0ms (15.5%)

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 → 619
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054554602
1129031108
2304322839
3432322837
4498322837
5499122837
6474222837

prune834.0ms (13.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New6136619
Fresh000
Picked101
Done000
Total6146620
Error
0.0b
Counts
620 → 6
Alt Table
StatusErrorProgram
31.7b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (/.f64 1 (pow.f64 x 2))))
32.8b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
47.8b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x 1))) (+.f64 x 1) (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
30.4b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
31.5b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 30502 to 22479 computations (26.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 1 x) (+.f64 x -1))
0.1b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
0.1b
(pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3)
4.0b
(-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1)))

series13.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3)
3.0ms
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
3.0ms
(-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1)))
2.0ms
(/.f64 (+.f64 1 x) (+.f64 x -1))

rewrite234.0ms (3.8%)

Algorithm
rewrite-expression-head
Rules
1183×*-un-lft-identity_binary64
824×times-frac_binary64
568×add-sqr-sqrt_binary64
468×prod-diff_binary64
427×add-cube-cbrt_binary64
Counts
4 → 692
Calls

4 calls:

33.0ms
(-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1)))
26.0ms
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
25.0ms
(pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3)
6.0ms
(/.f64 (+.f64 1 x) (+.f64 x -1))

simplify661.0ms (10.8%)

Algorithm
egg-herbie
Rules
854×times-frac_binary64
273×fma-neg_binary64
255×fma-udef_binary64
223×unsub-neg_binary64
205×associate-+r-_binary64
Counts
740 → 533
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
063158875
1151726092
2367325776
3531325776

prune737.0ms (12%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New5330533
Fresh055
Picked011
Done000
Total5336539
Error
0.0b
Counts
539 → 6
Alt Table
StatusErrorProgram
31.7b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (/.f64 1 (pow.f64 x 2))))
32.8b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
47.8b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x 1))) (+.f64 x 1) (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
30.4b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
31.5b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 28095 to 21313 computations (24.1% saved)

localize10.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))
30.4b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

series8.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

3.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))

rewrite19.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 1 (+.f64 x 1))
7.0ms
(/.f64 (-.f64 -1 x) (+.f64 x -1))
0.0ms
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

simplify86.0ms (1.4%)

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 → 168
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01972228
14762034
211622028
334882028
451502028

prune139.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1671168
Fresh044
Picked101
Done011
Total1686174
Error
0.0b
Counts
174 → 6
Alt Table
StatusErrorProgram
31.7b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (/.f64 1 (pow.f64 x 2))))
32.8b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
47.8b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x 1))) (+.f64 x 1) (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
31.8b
(*.f64 (sqrt.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))) (sqrt.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
31.5b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 3682 to 2731 computations (25.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
0.3b
(/.f64 1 (*.f64 x x))

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
2.0ms
(/.f64 1 (*.f64 x x))

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
125×times-frac_binary64
101×add-sqr-sqrt_binary64
94×*-un-lft-identity_binary64
91×prod-diff_binary64
88×add-cube-cbrt_binary64
Counts
2 → 168
Calls

2 calls:

12.0ms
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
4.0ms
(/.f64 1 (*.f64 x x))

simplify163.0ms (2.7%)

Algorithm
egg-herbie
Rules
600×times-frac_binary64
599×div-sub_binary64
452×associate-*l*_binary64
405×fma-def_binary64
396×fma-neg_binary64
Counts
192 → 193
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01794012
13293196
28292309
336141970
444771920
544741920
649861920

prune132.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1921193
Fresh134
Picked011
Done011
Total1936199
Error
0.0b
Counts
199 → 6
Alt Table
StatusErrorProgram
32.8b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
31.7b
(*.f64 (/.f64 1 x) (-.f64 -3 (/.f64 1 x)))
47.8b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 x (+.f64 x 1))) (sqrt.f64 (/.f64 x (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x 1))) (+.f64 x 1) (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1))))
30.1b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 x (+.f64 1 x)) (/.f64 (+.f64 1 x) (+.f64 x -1))) 3))
31.8b
(*.f64 (sqrt.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))) (sqrt.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
31.5b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 5510 to 3706 computations (32.7% saved)

regimes588.0ms (9.6%)

Accuracy

Total 0.0b remaining (19.3%)

Threshold costs 0.0b (19.3%)

Counts
179 → 3
Compiler

Compiled 9722 to 7384 computations (24% saved)

bsearch38.0ms (0.6%)

Steps
ItersRangePoint
9
250.24651870344834
695821765.7249262
387887.6914731773
10
-1686909009204.5947
-53.32475148437579
-452149.06294381135
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.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
01944
12644
23044
33244
43344
53344

end1.0ms (0%)

Compiler

Compiled 31 to 23 computations (25.8% saved)

sample1.0s (16.3%)

Algorithm
intervals
Results
322.0ms2024×body1024valid
189.0ms4314×body128valid
118.0ms985×body512valid
41.0ms198×body2048valid
38.0ms479×body256valid
Compiler

Compiled 173 to 130 computations (24.9% saved)

Profiling

Loading profile data...