Details

Time bar (total: 4.3s)

analyze10.0ms (0.2%)

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)

sample2.2s (51.3%)

Results
2.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify209.0ms (4.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

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

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

series33.0ms (0.8%)

Counts
4 → 48
Calls

4 calls:

13.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
9.0ms
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)
7.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
3.0ms
(-.f64 1 (*.f64 x x))

rewrite76.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64
39×add-sqr-sqrt_binary64
37×times-frac_binary64
29×add-cube-cbrt_binary64
28×sqrt-prod_binary64
Counts
4 → 121
Calls

4 calls:

40.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
11.0ms
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)
5.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
5.0ms
(-.f64 1 (*.f64 x x))

simplify186.0ms (4.3%)

Algorithm
egg-herbie
Rules
619×fma-def_binary64
570×associate-/r*_binary64
471×fma-neg_binary64
315×cancel-sign-sub-inv_binary64
273×times-frac_binary64
Counts
169 → 211
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02633309
16103141
217343057
346233054
448783054

prune262.0ms (6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2101211
Fresh000
Picked011
Done000
Total2102212
Error
0b
Counts
212 → 2
Alt Table
StatusErrorProgram
0.0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.0b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))) (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))))
Compiler

Compiled 4547 to 3155 computations (30.6% saved)

localize22.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series12.0ms (0.3%)

Counts
1 → 8
Calls

1 calls:

12.0ms
(sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))

rewrite51.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
25×times-frac_binary64
24×*-un-lft-identity_binary64
21×sqrt-prod_binary64
hypot-def_binary64
Counts
1 → 39
Calls

1 calls:

42.0ms
(sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))

simplify145.0ms (3.3%)

Algorithm
egg-herbie
Rules
612×fma-neg_binary64
444×associate-/r*_binary64
311×associate-*l*_binary64
305×associate-*r*_binary64
243×times-frac_binary64
Counts
47 → 53
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231156
13001101
28631073
332551058
447491046
549951046
648831046

prune825.0ms (19%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New4160416
Fresh000
Picked011
Done011
Total4162418
Error
0b
Counts
418 → 2
Alt Table
StatusErrorProgram
0.0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.0b
(+.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))) (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))))
Compiler

Compiled 15801 to 10957 computations (30.7% saved)

regimes126.0ms (2.9%)

Accuracy

Total 0.0b remaining (28.7%)

Threshold costs 0.0b (28.7%)

Counts
17 → 1
Compiler

Compiled 989 to 716 computations (27.6% saved)

simplify6.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
01644
12544
23144
33544
43744
53644

end129.0ms (3%)

Compiler

Compiled 102 to 69 computations (32.4% saved)

Profiling

Loading profile data...