Details

Time bar (total: 3.1s)

analyze565.0ms (18.5%)

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.2s (39.9%)

Results
994.0ms8256×body128valid
110.0ms1078×body128invalid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify55.0ms (1.8%)

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

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
9.9b
Counts
3 → 2
Alt Table
StatusErrorProgram
9.9b
(/.f64 (*.f64 x (+.f64 (-.f64 y z) 1)) z)
9.9b
(/.f64 (fma.f64 x (-.f64 y z) x) z)
Compiler

Compiled 66 to 38 computations (42.4% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series26.0ms (0.9%)

Counts
2 → 72
Calls

2 calls:

14.0ms
(/.f64 (fma.f64 x (-.f64 y z) x) z)
12.0ms
(fma.f64 x (-.f64 y z) x)

rewrite4.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:

2.0ms
(/.f64 (fma.f64 x (-.f64 y z) x) z)
0.0ms
(fma.f64 x (-.f64 y z) x)

simplify79.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

prune43.0ms (1.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New68573
Fresh101
Picked101
Done000
Total70575
Error
0.0b
Counts
75 → 5
Alt Table
StatusErrorProgram
10.0b
(/.f64 1 (/.f64 z (fma.f64 x (-.f64 y z) x)))
2.2b
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
37.9b
(*.f64 (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)) (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)))
10.9b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)) (cbrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z))) (cbrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)))
10.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
Compiler

Compiled 1141 to 275 computations (75.9% saved)

localize5.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)
4.4b
(fma.f64 (/.f64 x z) y (/.f64 x z))

series40.0ms (1.3%)

Counts
2 → 72
Calls

2 calls:

21.0ms
(fma.f64 (/.f64 x z) y (/.f64 x z))
19.0ms
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)

rewrite6.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:

3.0ms
(-.f64 (fma.f64 (/.f64 x z) y (/.f64 x z)) x)
0.0ms
(fma.f64 (/.f64 x z) y (/.f64 x z))

simplify87.0ms (2.8%)

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

prune49.0ms (1.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New72274
Fresh224
Picked101
Done000
Total75479
Error
0b
Counts
79 → 4
Alt Table
StatusErrorProgram
37.9b
(*.f64 (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)) (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)))
2.8b
(-.f64 (/.f64 (+.f64 (*.f64 y x) x) z) x)
2.9b
(-.f64 (*.f64 (+.f64 (/.f64 y z) (/.f64 1 z)) x) x)
10.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
Compiler

Compiled 1454 to 307 computations (78.9% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series34.0ms (1.1%)

Counts
3 → 75
Calls

3 calls:

18.0ms
(-.f64 (/.f64 (+.f64 (*.f64 y x) x) z) x)
12.0ms
(/.f64 (+.f64 (*.f64 y x) x) z)
4.0ms
(+.f64 (*.f64 y x) x)

rewrite30.0ms (1%)

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity_binary64
76×times-frac_binary64
74×add-sqr-sqrt_binary64
69×add-cube-cbrt_binary64
57×prod-diff_binary64
Counts
3 → 150
Calls

3 calls:

10.0ms
(-.f64 (/.f64 (+.f64 (*.f64 y x) x) z) x)
5.0ms
(/.f64 (+.f64 (*.f64 y x) x) z)
3.0ms
(+.f64 (*.f64 y x) x)

simplify133.0ms (4.4%)

Algorithm
egg-herbie
Rules
822×fma-def_binary64
530×times-frac_binary64
439×fma-neg_binary64
245×distribute-rgt-in_binary64
228×distribute-lft-in_binary64
Counts
225 → 223
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01994142
13693265
213882876
343482874
449362874

prune122.0ms (4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2221223
Fresh123
Picked011
Done000
Total2234227
Error
0b
Counts
227 → 4
Alt Table
StatusErrorProgram
37.9b
(*.f64 (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)) (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)))
2.8b
(-.f64 (/.f64 (+.f64 (*.f64 y x) x) z) x)
2.8b
(-.f64 (fma.f64 (/.f64 y z) x (/.f64 x z)) x)
10.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
Compiler

Compiled 4700 to 1025 computations (78.2% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series39.0ms (1.3%)

Counts
2 → 72
Calls

2 calls:

20.0ms
(-.f64 (fma.f64 (/.f64 y z) x (/.f64 x z)) x)
18.0ms
(fma.f64 (/.f64 y z) x (/.f64 x z))

rewrite6.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:

3.0ms
(-.f64 (fma.f64 (/.f64 y z) x (/.f64 x z)) x)
0.0ms
(fma.f64 (/.f64 y z) x (/.f64 x z))

simplify85.0ms (2.8%)

Algorithm
egg-herbie
Rules
532×fma-neg_binary64
432×fma-def_binary64
410×associate-*r*_binary64
323×distribute-rgt-out_binary64
297×exp-prod_binary64
Counts
113 → 74
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0871550
11601503
26201466
324891152
442071152
549081152

prune33.0ms (1.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh022
Picked011
Done011
Total74478
Error
0b
Counts
78 → 4
Alt Table
StatusErrorProgram
37.9b
(*.f64 (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)) (sqrt.f64 (/.f64 (fma.f64 x (-.f64 y z) x) z)))
2.8b
(-.f64 (/.f64 (+.f64 (*.f64 y x) x) z) x)
2.8b
(-.f64 (fma.f64 (/.f64 y z) x (/.f64 x z)) x)
10.0b
(*.f64 (fma.f64 x (-.f64 y z) x) (/.f64 1 z))
Compiler

Compiled 1392 to 273 computations (80.4% saved)

regimes300.0ms (9.8%)

Accuracy

Total 1.7b remaining (98.3%)

Threshold costs 0b (0%)

Counts
63 → 2
Compiler

Compiled 3656 to 1970 computations (46.1% saved)

bsearch11.0ms (0.4%)

Steps
ItersRangePoint
4
-1.450677168275814e-50
-1.5588998959235472e-52
-6.09357792742113e-51
Compiler

Compiled 4 to 3 computations (25% 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
01732
12332
22832
33032
43132
53032

end61.0ms (2%)

Compiler

Compiled 110 to 62 computations (43.6% saved)

Profiling

Loading profile data...