Details

Time bar (total: 2.0s)

analyze6.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.2s (57.7%)

Results
962.0ms8256×body128valid
1.0msbody128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify201.0ms (9.8%)

Algorithm
egg-herbie
Rules
1115×distribute-rgt-neg-in_binary64
788×distribute-rgt-out--_binary64
692×unsub-neg_binary64
492×fma-neg_binary64
461×distribute-neg-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
11820
22420
33420
45020
57320
611320
724720
845220
974220
10156020
11233820
12239220
13262820
14277620
15277420
16285120
17311020
18367320
19466520
20491020
21495220
22496320
23496020
24620820

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 42 to 30 computations (28.6% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series24.0ms (1.1%)

Counts
4 → 48
Calls

4 calls:

10.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
7.0ms
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)
4.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
2.0ms
(-.f64 1 (*.f64 x x))

rewrite78.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
519×log-prod_binary64
399×fma-def_binary64
203×fma-neg_binary64
189×expm1-udef_binary64
188×log1p-udef_binary64
Counts
4 → 172
Calls

4 calls:

75.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
75.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
75.0ms
(-.f64 1 (*.f64 x x))
75.0ms
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01048
122348
2293146
3558246
000
100

simplify56.0ms (2.7%)

Algorithm
egg-herbie
Rules
781×fma-neg_binary64
659×times-frac_binary64
339×associate-/r*_binary64
322×fma-def_binary64
199×associate-*r*_binary64
Counts
220 → 242
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0109909
1339876
21027853
33544850
45038850

prune135.0ms (6.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2411242
Fresh000
Picked011
Done000
Total2412243
Error
0b
Counts
243 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (log.f64 (/.f64 (sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x)) x)))
0.0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 4897 to 3326 computations (32.1% saved)

localize10.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series23.0ms (1.1%)

Counts
2 → 16
Calls

2 calls:

13.0ms
(/.f64 (sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x)) x)
10.0ms
(sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x))

rewrite52.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
880×log1p-expm1-u_binary64
880×expm1-log1p-u_binary64
258×prod-diff_binary64
91×add-sqr-sqrt_binary64
86×add-cbrt-cube_binary64
Counts
2 → 56
Calls

2 calls:

51.0ms
(sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
51.0ms
(/.f64 (sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0933
118933
2223733
3585133
000
100

simplify47.0ms (2.3%)

Algorithm
egg-herbie
Rules
704×fma-neg_binary64
439×associate-/r*_binary64
357×sub-neg_binary64
346×distribute-neg-frac_binary64
287×unswap-sqr_binary64
Counts
72 → 86
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
096685
1290640
2940620
33423594
45029594

prune135.0ms (6.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done011
Total1912193
Error
0b
Counts
193 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (log.f64 (/.f64 (sqrt.f64 (fma.f64 x (sqrt.f64 (-.f64 1 (*.f64 x x))) x)) x)))
0.0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 4452 to 3178 computations (28.6% saved)

regimes40.0ms (2%)

Accuracy

Total 0.0b remaining (87.2%)

Threshold costs 0.0b (87.2%)

Counts
12 → 1
Compiler

Compiled 523 to 379 computations (27.5% saved)

simplify2.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
01020
11820
22420
32820
43020
52920

end47.0ms (2.3%)

Compiler

Compiled 58 to 41 computations (29.3% saved)

Profiling

Loading profile data...