Details

Time bar (total: 1.9s)

analyze3.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample802.0ms (42.4%)

Results
770.0ms8254×body128valid
1.0msbody2048valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify7.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.0b
(sqrt.f64 (+.f64 x 1))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))

series62.0ms (3.3%)

Counts
3 → 12
Calls

3 calls:

47.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
8.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
7.0ms
(sqrt.f64 (+.f64 x 1))

rewrite21.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
21×distribute-lft-out_binary64
18×times-frac_binary64
16×add-cube-cbrt_binary64
Counts
3 → 82
Calls

3 calls:

10.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
4.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
3.0ms
(sqrt.f64 (+.f64 x 1))

simplify104.0ms (5.5%)

Algorithm
egg-herbie
Rules
733×fma-neg_binary64
333×associate-/r*_binary64
321×associate-/l/_binary64
303×associate-*l/_binary64
284×cancel-sign-sub-inv_binary64
Counts
94 → 108
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231335
12631239
26341227
318781212
443231211
549871211
648751211

prune94.0ms (5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1053108
Fresh000
Picked101
Done000
Total1063109
Error
0b
Counts
109 → 3
Alt Table
StatusErrorProgram
22.5b
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
38.5b
(*.f64 -1 (-.f64 1 (sqrt.f64 (+.f64 x 1))))
0.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
Compiler

Compiled 1598 to 1229 computations (23.1% saved)

localize6.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.0b
(sqrt.f64 (+.f64 x 1))
0.1b
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x)
0.2b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))

series61.0ms (3.2%)

Counts
2 → 8
Calls

2 calls:

46.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
15.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x)

rewrite36.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
156×*-un-lft-identity_binary64
156×times-frac_binary64
108×add-sqr-sqrt_binary64
76×add-cube-cbrt_binary64
64×distribute-lft-out_binary64
Counts
2 → 157
Calls

2 calls:

11.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
7.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x)

simplify166.0ms (8.8%)

Algorithm
egg-herbie
Rules
918×fma-neg_binary64
842×fma-def_binary64
286×times-frac_binary64
250×*-commutative_binary64
241×distribute-rgt-in_binary64
Counts
165 → 178
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01343593
12903208
27503139
320883123
442403123
549793123
649183123

prune145.0ms (7.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2351236
Fresh112
Picked011
Done000
Total2363239
Error
0b
Counts
239 → 3
Alt Table
StatusErrorProgram
22.5b
(*.f64 x (fma.f64 x -1/8 1/2))
38.5b
(*.f64 -1 (-.f64 1 (sqrt.f64 (+.f64 x 1))))
0.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
Compiler

Compiled 4446 to 3514 computations (21% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(*.f64 x (fma.f64 x -1/8 1/2))

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 22
Calls

1 calls:

3.0ms
(*.f64 x (fma.f64 x -1/8 1/2))

simplify45.0ms (2.4%)

Algorithm
egg-herbie
Rules
684×distribute-rgt-in_binary64
683×distribute-lft-in_binary64
576×associate-+r+_binary64
470×associate-+l+_binary64
258×fma-def_binary64
Counts
34 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046415
187326
2246326
3727326
42466326
55634326

prune17.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh011
Picked011
Done011
Total32335
Error
0b
Counts
35 → 3
Alt Table
StatusErrorProgram
22.5b
(*.f64 x (fma.f64 x -1/8 1/2))
38.5b
(*.f64 -1 (-.f64 1 (sqrt.f64 (+.f64 x 1))))
0.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
Compiler

Compiled 377 to 264 computations (30% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
3.8b
(-.f64 1 (sqrt.f64 (+.f64 x 1)))

series9.0ms (0.5%)

Counts
1 → 4
Calls

1 calls:

9.0ms
(-.f64 1 (sqrt.f64 (+.f64 x 1)))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64
25×add-sqr-sqrt_binary64
21×prod-diff_binary64
20×sqrt-prod_binary64
17×add-cube-cbrt_binary64
Counts
1 → 51
Calls

1 calls:

7.0ms
(-.f64 1 (sqrt.f64 (+.f64 x 1)))

simplify89.0ms (4.7%)

Algorithm
egg-herbie
Rules
1016×fma-neg_binary64
557×unsub-neg_binary64
351×cancel-sign-sub-inv_binary64
329×unswap-sqr_binary64
299×distribute-rgt-in_binary64
Counts
55 → 52
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
088978
1173803
2467629
31485621
43213617
54137617
64903617

prune49.0ms (2.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh000
Picked011
Done022
Total81384
Error
0b
Counts
84 → 3
Alt Table
StatusErrorProgram
22.5b
(*.f64 x (fma.f64 x -1/8 1/2))
38.5b
(*.f64 -1 (-.f64 1 (sqrt.f64 (+.f64 x 1))))
0.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))
Compiler

Compiled 1604 to 1384 computations (13.7% saved)

regimes91.0ms (4.8%)

Accuracy

Total 0.2b remaining (94.1%)

Threshold costs 0.2b (94.1%)

Counts
35 → 1
Compiler

Compiled 1114 to 872 computations (21.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

end51.0ms (2.7%)

Compiler

Compiled 45 to 36 computations (20% saved)

Profiling

Loading profile data...