Details

Time bar (total: 3.1s)

analyze5.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.1s (66.2%)

Results
1.8s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify199.0ms (6.4%)

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)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series13.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
4.0ms
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))

rewrite39.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity_binary64
35×times-frac_binary64
24×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
16×distribute-lft-out_binary64
Counts
2 → 68
Calls

2 calls:

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

simplify93.0ms (3%)

Algorithm
egg-herbie
Rules
690×fma-neg_binary64
302×fma-def_binary64
298×associate-/r*_binary64
284×sub-neg_binary64
231×associate-*r*_binary64
Counts
92 → 127
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01571958
13991830
210811783
336371748
448031748
549091748

prune90.0ms (2.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1252127
Fresh000
Picked101
Done000
Total1262128
Error
0b
Counts
128 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (*.f64 (+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1) (/.f64 1 x)))
0.2b
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
Compiler

Compiled 2595 to 1771 computations (31.8% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
sum-log_binary64
associate-+r+_binary64
distribute-neg-in_binary64
Counts
1 → 27
Calls

1 calls:

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

simplify67.0ms (2.1%)

Algorithm
egg-herbie
Rules
466×fma-neg_binary64
291×neg-mul-1_binary64
290×sub-neg_binary64
288×neg-sub0_binary64
268×fma-def_binary64
Counts
39 → 59
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0104835
1295770
2808751
32584743
44479743
54993743

prune37.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done000
Total59261
Error
0b
Counts
61 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (*.f64 (+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1) (/.f64 1 x)))
0.2b
(+.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (neg.f64 (log.f64 x)))
Compiler

Compiled 1140 to 741 computations (35% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series16.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

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

rewrite28.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
22×add-exp-log_binary64
21×*-un-lft-identity_binary64
13×associate-*r*_binary64
13×add-cube-cbrt_binary64
Counts
3 → 90
Calls

3 calls:

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

simplify114.0ms (3.7%)

Algorithm
egg-herbie
Rules
478×fma-neg_binary64
458×fma-def_binary64
312×associate-*l*_binary64
289×associate-/r*_binary64
284×associate-*r*_binary64
Counts
126 → 200
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02002354
15152123
214952087
343632084
449792084
549572084

prune129.0ms (4.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 3962 to 2888 computations (27.1% saved)

regimes134.0ms (4.3%)

Accuracy

Total 0.2b remaining (99.4%)

Threshold costs 0.2b (99.4%)

Counts
35 → 1
Compiler

Compiled 1741 to 1311 computations (24.7% 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
01016
12216
22916
33416
43616
53516

end47.0ms (1.5%)

Compiler

Compiled 48 to 36 computations (25% saved)

Profiling

Loading profile data...