Details

Time bar (total: 4.1s)

analyze8.0ms (0.2%)

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

Compiled 17 to 14 computations (17.6% saved)

sample53.0ms (1.3%)

Algorithm
intervals
Results
7.0ms152×body128valid
6.0ms48×body512valid
5.0ms31×body1024valid
2.0ms25×body256valid
Compiler

Compiled 34 to 28 computations (17.6% saved)

simplify16.0ms (0.4%)

Algorithm
egg-herbie
Rules
127×fma-neg_binary64
82×fma-def_binary64
41×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
28×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12222
23822
36122
410922
518622
624622
729622
834822
936822
1034422

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
8.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
8.8b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 63 to 51 computations (19% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series18.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

rewrite195.0ms (4.7%)

Algorithm
rewrite-expression-head
Rules
757×*-un-lft-identity_binary64
733×times-frac_binary64
558×add-sqr-sqrt_binary64
508×add-cube-cbrt_binary64
468×prod-diff_binary64
Counts
4 → 668
Calls

4 calls:

47.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
18.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
4.0ms
(/.f64 1 (-.f64 x 1))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify424.0ms (10.3%)

Algorithm
egg-herbie
Rules
932×fma-neg_binary64
457×times-frac_binary64
236×fma-def_binary64
186×sub-neg_binary64
176×exp-prod_binary64
Counts
716 → 853
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041919278
198913709
225199843
343499843
448159843

prune833.0ms (20.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8512853
Fresh000
Picked011
Done000
Total8513854
Error
0.0b
Counts
854 → 3
Alt Table
StatusErrorProgram
8.8b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
32.8b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 7)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 9)))))
25.9b
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
Compiler

Compiled 33661 to 26191 computations (22.2% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
3.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
2.0ms
(*.f64 (+.f64 x 1) x)
1.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))

rewrite138.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
90×associate-*l/_binary64
43×add-sqr-sqrt_binary64
42×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
36×prod-diff_binary64
Counts
4 → 188
Calls

4 calls:

80.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))
19.0ms
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
9.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
4.0ms
(*.f64 (+.f64 x 1) x)

simplify205.0ms (5%)

Algorithm
egg-herbie
Rules
755×associate-*r*_binary64
441×distribute-rgt-in_binary64
419×distribute-lft-in_binary64
360×*-commutative_binary64
307×fma-def_binary64
Counts
236 → 330
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03255937
110574948
242514897
348694897
449884897
549484897

prune507.0ms (12.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3682370
Fresh101
Picked101
Done011
Total3703373
Error
0.0b
Counts
373 → 3
Alt Table
StatusErrorProgram
8.8b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
32.9b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
0.1b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
Compiler

Compiled 18434 to 13418 computations (27.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
associate-/r/_binary64
associate-*l/_binary64
frac-times_binary64
Counts
1 → 33
Calls

1 calls:

8.0ms
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))

simplify74.0ms (1.8%)

Algorithm
egg-herbie
Rules
736×associate-*l*_binary64
481×distribute-rgt-in_binary64
462×associate-/r*_binary64
437×distribute-lft-in_binary64
371×fma-neg_binary64
Counts
45 → 70
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0126975
1335727
21109699
34461672
44853671
54990671

prune161.0ms (3.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1875192
Fresh101
Picked101
Done101
Total1905195
Error
0b
Counts
195 → 5
Alt Table
StatusErrorProgram
21.5b
(*.f64 (sqrt.f64 (/.f64 2 (-.f64 (pow.f64 x 3) x))) (sqrt.f64 (/.f64 2 (-.f64 (pow.f64 x 3) x))))
0.0b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
0.1b
(/.f64 (/.f64 2 (*.f64 (+.f64 x 1) x)) (-.f64 x 1))
0.6b
(/.f64 (sqrt.f64 2) (/.f64 (-.f64 (pow.f64 x 3) x) (sqrt.f64 2)))
1.7b
(*.f64 (/.f64 2 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 1 1)) x) (-.f64 x 1))) (-.f64 x 1))
Compiler

Compiled 3901 to 2868 computations (26.5% saved)

localize53.0ms (1.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (pow.f64 x 3) x)
0.0b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

series6.0ms (0.2%)

Counts
2 → 15
Calls

2 calls:

4.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
3.0ms
(-.f64 (pow.f64 x 3) x)

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt_binary64
56×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64
36×prod-diff_binary64
27×times-frac_binary64
Counts
2 → 125
Calls

2 calls:

6.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
6.0ms
(-.f64 (pow.f64 x 3) x)

simplify136.0ms (3.3%)

Algorithm
egg-herbie
Rules
833×fma-neg_binary64
649×fma-def_binary64
322×associate-/r*_binary64
268×exp-prod_binary64
264×unswap-sqr_binary64
Counts
140 → 140
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01982123
13761916
212181801
338021801
444931801
549261801
648701801

prune124.0ms (3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done000
Total1405145
Error
0b
Counts
145 → 5
Alt Table
StatusErrorProgram
21.5b
(*.f64 (sqrt.f64 (/.f64 2 (-.f64 (pow.f64 x 3) x))) (sqrt.f64 (/.f64 2 (-.f64 (pow.f64 x 3) x))))
0.0b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
0.1b
(/.f64 (/.f64 2 (*.f64 (+.f64 x 1) x)) (-.f64 x 1))
0.6b
(/.f64 (sqrt.f64 2) (/.f64 (-.f64 (pow.f64 x 3) x) (sqrt.f64 2)))
1.7b
(*.f64 (/.f64 2 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 1 1)) x) (-.f64 x 1))) (-.f64 x 1))
Compiler

Compiled 2545 to 1545 computations (39.3% saved)

regimes107.0ms (2.6%)

Accuracy

Total 0.2b remaining (96.7%)

Threshold costs 0.2b (96.7%)

Counts
59 → 1
Compiler

Compiled 1750 to 1354 computations (22.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
1811

end1.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

sample990.0ms (24%)

Algorithm
intervals
Results
226.0ms4475×body128valid
220.0ms1250×body1024valid
207.0ms1511×body512valid
71.0ms764×body256valid
Compiler

Compiled 97 to 76 computations (21.6% saved)

Profiling

Loading profile data...