Details

Time bar (total: 2.9s)

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 9 to 8 computations (11.1% saved)

sample1.0s (36.1%)

Results
878.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
+-commutative_binary64
fma-def_binary64
*-commutative_binary64
associate-+l-_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11411
21711
31911
42311
52411
62911
72211

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
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 24 to 21 computations (12.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.1%)

Counts
2 → 15
Calls

2 calls:

3.0ms
(log.f64 (-.f64 (/.f64 1 x) 1))
1.0ms
(-.f64 (/.f64 1 x) 1)

rewrite97.0ms (3.4%)

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

2 calls:

95.0ms
((log.f64 (-.f64 (/.f64 1 x) 1)) (-.f64 (/.f64 1 x) 1))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
112516
2140816
3481716
4501616
000
100

simplify56.0ms (2%)

Algorithm
egg-herbie
Rules
420×fma-def_binary64
372×associate-/r*_binary64
336×sub-neg_binary64
281×distribute-rgt-neg-in_binary64
266×neg-mul-1_binary64
Counts
102 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035172
195170
2268170
3750165
42246165
54477165
64924165

prune117.0ms (4.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1012103
Fresh000
Picked101
Done000
Total1022104
Error
0b
Counts
104 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))
33.3b
(neg.f64 (-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x))))
Compiler

Compiled 1455 to 1234 computations (15.2% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1))
0.5b
(fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)

series671.0ms (23.3%)

Counts
2 → 24
Calls

2 calls:

537.0ms
(log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1))
133.0ms
(fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)

rewrite45.0ms (1.6%)

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

2 calls:

44.0ms
((fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1) (log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0724
113716
2140216
3503116
000
100

simplify55.0ms (1.9%)

Algorithm
egg-herbie
Rules
672×fma-neg_binary64
478×log-prod_binary64
409×div-sub_binary64
328×sub-neg_binary64
311×distribute-rgt-neg-in_binary64
Counts
94 → 74
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018192
134192
266192
3199192
4540192
51863192
62547192
71757192

prune67.0ms (2.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done000
Total74276
Error
0b
Counts
76 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))
33.3b
(neg.f64 (-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x))))
Compiler

Compiled 1070 to 954 computations (10.8% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (/.f64 1 x))
0.0b
(-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x)))
32.2b
(log.f64 (+.f64 (pow.f64 x -2) -1))

series9.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(log.f64 (+.f64 (pow.f64 x -2) -1))
3.0ms
(-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x)))
3.0ms
(log1p.f64 (/.f64 1 x))

rewrite112.0ms (3.9%)

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

2 calls:

109.0ms
((log.f64 (+.f64 (pow.f64 x -2) -1)) (-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x))) (log1p.f64 (/.f64 1 x)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01132
123232
2260132
3484232
4516032
000
100

simplify77.0ms (2.7%)

Algorithm
egg-herbie
Rules
605×cancel-sign-sub-inv_binary64
586×fma-neg_binary64
331×sub-neg_binary64
299×associate-/r*_binary64
259×fma-def_binary64
Counts
189 → 192
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
072551
1218543
2629543
31866539
44321539
54756539
64932539

prune135.0ms (4.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1920192
Fresh000
Picked011
Done011
Total1922194
Error
0b
Counts
194 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))
33.3b
(neg.f64 (-.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x))))
Compiler

Compiled 4422 to 3709 computations (16.1% saved)

regimes298.0ms (10.4%)

Accuracy

Total 0.0b remaining (4.6%)

Threshold costs 0.0b (4.6%)

Counts
66 → 1
Compiler

Compiled 3634 to 3193 computations (12.1% 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
0811
11511
21811
31911
41711

end55.0ms (1.9%)

Compiler

Compiled 40 to 34 computations (15% saved)

Profiling

Loading profile data...