Details

Time bar (total: 5.2s)

analyze1.0s (19.8%)

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
14%85.8%0.1%7
22.6%77.2%0.1%8
23.8%74.5%1.7%9
40%56.4%3.7%10
46.9%48.7%4.4%11
48%45.8%6.2%12
58.1%32.2%9.7%13
62.1%27.2%10.6%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample1.9s (36.6%)

Results
1.6s8256×body128valid
191.0ms1036×body128invalid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify88.0ms (1.7%)

Algorithm
egg-herbie
Rules
823×div-sub_binary64
529×fma-neg_binary64
475×distribute-rgt-in_binary64
409×fma-def_binary64
380×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0913
12511
25011
315611
433111
566611
6174411
7398811
8495311

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.9b
(/.f64 (fma.f64 x (-.f64 y z) x) z)
Compiler

Compiled 42 to 22 computations (47.6% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (-.f64 y z) x)
11.1b
(/.f64 (fma.f64 x (-.f64 y z) x) z)

series47.0ms (0.9%)

Counts
2 → 72
Calls

2 calls:

34.0ms
(/.f64 (fma.f64 x (-.f64 y z) x) z)
13.0ms
(fma.f64 x (-.f64 y z) x)

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

4.0ms
(/.f64 (fma.f64 x (-.f64 y z) x) z)
1.0ms
(fma.f64 x (-.f64 y z) x)

simplify136.0ms (2.6%)

Algorithm
egg-herbie
Rules
672×associate-/l*_binary64
629×fma-def_binary64
448×associate-/l/_binary64
308×associate-/r*_binary64
291×associate-/r/_binary64
Counts
111 → 73
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0821522
11601371
23741332
312271332
443581332
550421332

prune71.0ms (1.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474
Error
0.0b
Counts
74 → 4
Alt Table
StatusErrorProgram
12.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
11.9b
(/.f64 1 (/.f64 z (fma.f64 x (-.f64 y z) x)))
37.5b
(*.f64 (sqrt.f64 (fma.f64 x (-.f64 y z) x)) (/.f64 (sqrt.f64 (fma.f64 x (-.f64 y z) x)) z))
1.3b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
Compiler

Compiled 1073 to 257 computations (76% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
2.7b
(fma.f64 (/.f64 x z) y (/.f64 x z))

series74.0ms (1.4%)

Counts
2 → 72
Calls

2 calls:

37.0ms
(fma.f64 (/.f64 x z) y (/.f64 x z))
36.0ms
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 41
Calls

2 calls:

6.0ms
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
1.0ms
(fma.f64 (/.f64 x z) y (/.f64 x z))

simplify142.0ms (2.7%)

Algorithm
egg-herbie
Rules
663×fma-neg_binary64
438×associate-*l*_binary64
352×associate-*r*_binary64
336×fma-def_binary64
307×distribute-rgt-out_binary64
Counts
113 → 74
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0871698
11601621
26071157
327301152
444681152
549611152

prune76.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh033
Picked011
Done000
Total73578
Error
0b
Counts
78 → 5
Alt Table
StatusErrorProgram
12.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
11.9b
(/.f64 1 (/.f64 z (fma.f64 x (-.f64 y z) x)))
37.5b
(*.f64 (sqrt.f64 (fma.f64 x (-.f64 y z) x)) (/.f64 (sqrt.f64 (fma.f64 x (-.f64 y z) x)) z))
2.6b
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
1.3b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
Compiler

Compiled 1465 to 315 computations (78.5% saved)

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
0.0b
(+.f64 (/.f64 y z) (/.f64 1 z))
2.6b
(*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x)

series94.0ms (1.8%)

Counts
3 → 75
Calls

3 calls:

43.0ms
(*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x)
36.0ms
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
14.0ms
(+.f64 (/.f64 y z) (/.f64 1 z))

rewrite90.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64
23×times-frac_binary64
20×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
13×fma-def_binary64
Counts
3 → 89
Calls

3 calls:

27.0ms
(*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x)
26.0ms
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
26.0ms
(+.f64 (/.f64 y z) (/.f64 1 z))

simplify154.0ms (3%)

Algorithm
egg-herbie
Rules
757×times-frac_binary64
585×fma-def_binary64
393×fma-neg_binary64
381×distribute-rgt-in_binary64
362×distribute-lft-in_binary64
Counts
164 → 145
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01342112
13012041
212251572
338191517
449891517

prune194.0ms (3.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh303
Picked011
Done011
Total1464150
Error
0b
Counts
150 → 4
Alt Table
StatusErrorProgram
4.4b
(-.f64 (*.f64 (/.f64 1 z) (fma.f64 x y x)) x)
2.6b
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
1.3b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
25.8b
(-.f64 (/.f64 (*.f64 x (fma.f64 z y z)) (*.f64 z z)) x)
Compiler

Compiled 2491 to 1161 computations (53.4% saved)

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (/.f64 1 z) (fma.f64 x y x)) x)
4.2b
(*.f64 (/.f64 1 z) (fma.f64 x y x))

series54.0ms (1%)

Counts
2 → 72
Calls

2 calls:

28.0ms
(-.f64 (*.f64 (/.f64 1 z) (fma.f64 x y x)) x)
25.0ms
(*.f64 (/.f64 1 z) (fma.f64 x y x))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
13×associate-*l*_binary64
13×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
11×times-frac_binary64
Counts
2 → 61
Calls

2 calls:

10.0ms
(-.f64 (*.f64 (/.f64 1 z) (fma.f64 x y x)) x)
10.0ms
(*.f64 (/.f64 1 z) (fma.f64 x y x))

simplify176.0ms (3.4%)

Algorithm
egg-herbie
Rules
450×fma-def_binary64
440×fma-neg_binary64
329×distribute-rgt-in_binary64
324×distribute-lft-in_binary64
227×associate-/l*_binary64
Counts
133 → 110
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01291600
12611388
29931371
334181371
446971371
549671371
648741371

prune119.0ms (2.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done022
Total1104114
Error
0b
Counts
114 → 4
Alt Table
StatusErrorProgram
4.4b
(-.f64 (*.f64 (/.f64 1 z) (fma.f64 x y x)) x)
2.6b
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
1.3b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
25.8b
(-.f64 (/.f64 (*.f64 x (fma.f64 z y z)) (*.f64 z z)) x)
Compiler

Compiled 1825 to 748 computations (59% saved)

regimes512.0ms (9.9%)

Accuracy

Total 0.1b remaining (76.4%)

Threshold costs 0.1b (76.4%)

Counts
58 → 3
Compiler

Compiled 3064 to 1802 computations (41.2% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify7.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
02773
14073
24973
35373
45573
55473

end133.0ms (2.6%)

Compiler

Compiled 161 to 93 computations (42.2% saved)

Profiling

Loading profile data...