Details

Time bar (total: 2.1s)

analyze3.0ms (0.1%)

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)

sample753.0ms (35.4%)

Results
724.0ms8254×body128valid
1.0msbody2048valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify6.0ms (0.3%)

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

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

series57.0ms (2.7%)

Counts
3 → 12
Calls

3 calls:

42.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
8.0ms
(sqrt.f64 (+.f64 x 1))
8.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))

rewrite54.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
93×egg-rr
Counts
3 → 93
Calls

2 calls:

52.0ms
((/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (sqrt.f64 (+.f64 x 1)) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0727
115627
2201527
3566627
000
100

simplify74.0ms (3.5%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
446×distribute-rgt-out--_binary64
382×sub-neg_binary64
363×distribute-rgt-neg-in_binary64
348×*-commutative_binary64
Counts
105 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031158
187142
2211130
3622109
42023109
53826109
64801109
74921109

prune81.0ms (3.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1113114
Fresh000
Picked011
Done000
Total1114115
Error
0b
Counts
115 → 4
Alt Table
StatusErrorProgram
18.7b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
7.7b
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
35.8b
(cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3))
Compiler

Compiled 1549 to 1207 computations (22.1% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (+.f64 x 1) 3/2)
0.0b
(+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2)))
0.2b
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
7.6b
(cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))

series62.0ms (2.9%)

Counts
4 → 24
Calls

4 calls:

42.0ms
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
9.0ms
(+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2)))
7.0ms
(cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))
4.0ms
(pow.f64 (+.f64 x 1) 3/2)

rewrite87.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
139×egg-rr
Counts
4 → 139
Calls

2 calls:

85.0ms
((cbrt.f64 (pow.f64 (+.f64 x 1) 3/2)) (/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2)))) (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))) (pow.f64 (+.f64 x 1) 3/2))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0943
120134
2237634
3497334
4513334
000
100

simplify61.0ms (2.9%)

Algorithm
egg-herbie
Rules
373×cancel-sign-sub-inv_binary64
347×unswap-sqr_binary64
329×associate-*l*_binary64
325×associate-*r*_binary64
311×times-frac_binary64
Counts
163 → 181
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
069486
1182464
2459355
31450291
44341288
55105288

prune126.0ms (5.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1801181
Fresh112
Picked011
Done011
Total1814185
Error
0b
Counts
185 → 4
Alt Table
StatusErrorProgram
18.7b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
7.7b
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
20.9b
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
Compiler

Compiled 2756 to 2199 computations (20.2% saved)

localize8.0ms (0.4%)

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.0b
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
0.2b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))

series109.0ms (5.1%)

Counts
2 → 4
Calls

2 calls:

66.0ms
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))
43.0ms
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))

rewrite94.0ms (4.4%)

Algorithm
batch-egg-rewrite
Rules
81×egg-rr
Counts
2 → 81
Calls

2 calls:

92.0ms
((*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
120626
2262726
3491026
4556726
000
100

simplify91.0ms (4.3%)

Algorithm
egg-herbie
Rules
446×distribute-rgt-out--_binary64
394×distribute-rgt-out_binary64
363×distribute-rgt-neg-in_binary64
348×*-commutative_binary64
305×distribute-lft-neg-in_binary64
Counts
85 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02164
15860
214756
343847
4155447
5322247
6463347
7498547
8488447

prune96.0ms (4.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1600160
Fresh011
Picked011
Done022
Total1604164
Error
0b
Counts
164 → 4
Alt Table
StatusErrorProgram
18.7b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
7.7b
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
20.9b
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
Compiler

Compiled 2791 to 1978 computations (29.1% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite41.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
26×egg-rr
Counts
1 → 26
Calls

2 calls:

40.0ms
((*.f64 x (+.f64 1/2 (*.f64 x -1/8))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11588
218958
350328
000
100

simplify128.0ms (6%)

Algorithm
egg-herbie
Rules
1661×fma-def_binary64
724×fma-neg_binary64
531×unsub-neg_binary64
521×distribute-rgt-neg-in_binary64
420×distribute-lft-neg-in_binary64
Counts
38 → 31
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
011135
124117
244108
310990
428290
580790
6142990
7236490
8373990
9398490
10333590
11360690
12378790
13489390
14477090

prune19.0ms (0.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done033
Total31435
Error
0b
Counts
35 → 4
Alt Table
StatusErrorProgram
18.7b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
7.7b
(/.f64 x (+.f64 1 (cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))
20.9b
(*.f64 x (+.f64 1/2 (*.f64 x -1/8)))
Compiler

Compiled 401 to 295 computations (26.4% saved)

regimes99.0ms (4.7%)

Accuracy

Total 0.2b remaining (95.4%)

Threshold costs 0.2b (95.4%)

Counts
51 → 1
Compiler

Compiled 1228 to 974 computations (20.7% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

end57.0ms (2.7%)

Compiler

Compiled 61 to 47 computations (23% saved)

Profiling

Loading profile data...