Details

Time bar (total: 2.6s)

analyze478.0ms (18.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
0%37.5%62.5%4
0%31.2%68.8%5
0%28.1%71.9%6
0%26.5%73.5%7
0%25.8%74.2%8
0%25.4%74.6%9
0%25.2%74.8%10
0%25.1%74.9%11
0%25%75%12
0%25%75%13
0%25%75%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.3s (49.9%)

Results
1.1s8256×body128valid
Compiler

Compiled 29 to 21 computations (27.6% saved)

simplify201.0ms (7.7%)

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.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.3b
(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 3 expressions with local error:

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

series21.0ms (0.8%)

Counts
3 → 36
Calls

3 calls:

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

rewrite47.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity_binary64
35×times-frac_binary64
28×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
16×distribute-lft-out_binary64
Counts
3 → 87
Calls

3 calls:

18.0ms
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
18.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
3.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))

simplify91.0ms (3.5%)

Algorithm
egg-herbie
Rules
625×fma-def_binary64
404×associate-/r*_binary64
400×associate-*l*_binary64
384×fma-neg_binary64
292×cancel-sign-sub-inv_binary64
Counts
123 → 173
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02102461
15352286
214972256
344172221
449062221

prune111.0ms (4.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1721173
Fresh000
Picked011
Done000
Total1722174
Error
0b
Counts
174 → 2
Alt Table
StatusErrorProgram
0.3b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.2b
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
Compiler

Compiled 3561 to 2483 computations (30.3% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.2b
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))

series18.0ms (0.7%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
9.0ms
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
sum-log_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 38
Calls

2 calls:

5.0ms
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
0.0ms
(log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))

simplify131.0ms (5%)

Algorithm
egg-herbie
Rules
686×fma-neg_binary64
466×sub-neg_binary64
331×fma-def_binary64
222×unsub-neg_binary64
208×times-frac_binary64
Counts
62 → 93
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01321304
13741227
210261198
332271198
446771198
549571198
649951198
750001198
848921198

prune83.0ms (3.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done011
Total1392141
Error
0b
Counts
141 → 2
Alt Table
StatusErrorProgram
0.3b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.2b
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
Compiler

Compiled 2715 to 1810 computations (33.3% saved)

regimes54.0ms (2.1%)

Accuracy

Total 0.2b remaining (99%)

Threshold costs 0.2b (99%)

Counts
17 → 1
Compiler

Compiled 589 to 451 computations (23.4% saved)

simplify3.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
0916
11816
22716
33316
43616
53516

end47.0ms (1.8%)

Compiler

Compiled 48 to 35 computations (27.1% saved)

Profiling

Loading profile data...