Details

Time bar (total: 4.8s)

analyze1.2s (24.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.9%0.1%11
0%99.9%0.1%12
0%99.9%0.1%13
0%99.9%0.1%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample1.5s (31.6%)

Results
803.0ms8256×body128valid
682.0ms1224×body8192exit
Compiler

Compiled 19 to 13 computations (31.6% saved)

simplify13.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×sub-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21811
32711
44311
57711
68911
711211
813611
915911
1016711
1116111
1214411

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
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

series15.0ms (0.3%)

Counts
1 → 0
Calls

1 calls:

15.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt_binary64
70×fabs-mul_binary64
63×times-frac_binary64
53×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
Counts
1 → 96
Calls

1 calls:

8.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

simplify96.0ms (2%)

Algorithm
egg-herbie
Rules
901×div-sub_binary64
444×associate-/l/_binary64
439×times-frac_binary64
383×associate-/l*_binary64
382×fma-def_binary64
Counts
96 → 112
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01472173
12222127
24912127
310852127
427142127
551672127

prune47.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh000
Picked011
Done000
Total1103113
Error
0b
Counts
113 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.6b
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
Compiler

Compiled 2038 to 401 computations (80.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))

series42.0ms (0.9%)

Counts
2 → 24
Calls

2 calls:

26.0ms
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))
16.0ms
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))

rewrite75.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
522×times-frac_binary64
394×add-sqr-sqrt_binary64
318×fabs-mul_binary64
312×*-un-lft-identity_binary64
240×add-cube-cbrt_binary64
Counts
2 → 398
Calls

2 calls:

13.0ms
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
6.0ms
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))

simplify339.0ms (7%)

Algorithm
egg-herbie
Rules
882×fma-def_binary64
447×times-frac_binary64
356×associate-/r/_binary64
302×associate-/r*_binary64
275×associate-/l*_binary64
Counts
422 → 482
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026110334
14479455
211759242
329969242
441659242
554409242

prune189.0ms (3.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New4811482
Fresh101
Picked101
Done011
Total4832485
Error
0b
Counts
485 → 2
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))))
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 10405 to 2811 computations (73% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.0b
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))
0.0b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))))
0.1b
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))))

series916.0ms (19%)

Counts
3 → 72
Calls

3 calls:

876.0ms
(log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
24.0ms
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))))
15.0ms
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64
Counts
3 → 55
Calls

3 calls:

3.0ms
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))))
0.0ms
(log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))))

simplify132.0ms (2.7%)

Algorithm
egg-herbie
Rules
487×div-sub_binary64
351×neg-mul-1_binary64
344×associate-*l*_binary64
321×associate-/l*_binary64
301×distribute-frac-neg_binary64
Counts
127 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0561875
1771764
21211726
32301726
44401726
58401726
630571726
746891726
849791726
948801726

prune93.0ms (1.9%)

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.1b
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))))
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
Compiler

Compiled 3818 to 1170 computations (69.4% saved)

regimes49.0ms (1%)

Accuracy

Total 0.0b remaining (44.7%)

Threshold costs 0.0b (44.7%)

Counts
17 → 1
Compiler

Compiled 765 to 461 computations (39.7% 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
0711
11111
21811
32311
42611
52711
62711

end41.0ms (0.9%)

Compiler

Compiled 40 to 28 computations (30% saved)

Profiling

Loading profile data...