Details

Time bar (total: 5.5s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.4s (42.9%)

Results
1.3s2076×body1024valid
587.0ms4614×body128valid
347.0ms1070×body512valid
110.0ms491×body256valid
5.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify43.0ms (0.8%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
31612

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.1b
(*.f64 z (cos.f64 y))

series22.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

14.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
8.0ms
(*.f64 z (cos.f64 y))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 30
Calls

2 calls:

4.0ms
(*.f64 z (cos.f64 y))
0.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))

simplify105.0ms (1.9%)

Algorithm
egg-herbie
Rules
660×distribute-rgt-neg-in_binary64
557×distribute-lft-neg-in_binary64
467×fma-neg_binary64
332×*-commutative_binary64
297×neg-mul-1_binary64
Counts
90 → 64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
080960
1173908
2526895
31471895
43145895
54780895
64991895
74926895

prune47.0ms (0.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New56864
Fresh000
Picked101
Done000
Total57865
Error
0.0b
Counts
65 → 8
Alt Table
StatusErrorProgram
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
36.5b
(*.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
36.2b
(cbrt.f64 (pow.f64 (fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x)) 3))
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
17.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
32.2b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
Compiler

Compiled 1144 to 401 computations (64.9% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
0.1b
(*.f64 (sin.f64 y) x)

series24.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

16.0ms
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
8.0ms
(*.f64 (sin.f64 y) x)

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 30
Calls

2 calls:

3.0ms
(*.f64 (sin.f64 y) x)
0.0ms
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))

simplify81.0ms (1.5%)

Algorithm
egg-herbie
Rules
410×fma-neg_binary64
405×distribute-rgt-neg-in_binary64
347×distribute-lft-neg-in_binary64
293×distribute-rgt-in_binary64
279×distribute-lft-in_binary64
Counts
70 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078852
1184793
2507781
31282780
42630780
54874780
64926780

prune63.0ms (1.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New61566
Fresh257
Picked101
Done000
Total641074
Error
0.0b
Counts
74 → 10
Alt Table
StatusErrorProgram
36.2b
(cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))
44.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x)) (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x))))
0.5b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
32.2b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
26.9b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
22.9b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
17.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 1239 to 455 computations (63.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
0.1b
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
0.2b
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
0.3b
(cbrt.f64 (cos.f64 y))

series1.1s (20.2%)

Counts
4 → 72
Calls

4 calls:

686.0ms
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
235.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
174.0ms
(cbrt.f64 (cos.f64 y))
20.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))

rewrite28.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
25×pow1_binary64
22×cbrt-prod_binary64
20×add-exp-log_binary64
16×*-un-lft-identity_binary64
Counts
4 → 102
Calls

4 calls:

8.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
7.0ms
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
5.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
2.0ms
(cbrt.f64 (cos.f64 y))

simplify163.0ms (3%)

Algorithm
egg-herbie
Rules
610×fma-neg_binary64
609×unswap-sqr_binary64
446×*-commutative_binary64
370×cancel-sign-sub-inv_binary64
351×log-prod_binary64
Counts
174 → 172
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01512118
13521762
212181642
323451606
444841588
549001588
649621588

prune288.0ms (5.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2191220
Fresh099
Picked011
Done000
Total21911230
Error
0.0b
Counts
230 → 11
Alt Table
StatusErrorProgram
36.2b
(cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))
44.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x)) (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.5b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
32.2b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
26.9b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x)))
22.9b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
17.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 5165 to 1589 computations (69.2% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))
0.3b
(cbrt.f64 (pow.f64 (cos.f64 y) 2))

series311.0ms (5.6%)

Counts
3 → 40
Calls

3 calls:

298.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
8.0ms
(*.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)))
5.0ms
(pow.f64 (cos.f64 y) 2)

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
3 → 61
Calls

3 calls:

8.0ms
(*.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)))
2.0ms
(pow.f64 (cos.f64 y) 2)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))

simplify129.0ms (2.3%)

Algorithm
egg-herbie
Rules
667×unswap-sqr_binary64
626×fma-def_binary64
343×fma-neg_binary64
324×exp-prod_binary64
322×log-prod_binary64
Counts
101 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01251345
12821135
29231093
318651081
441891081
547161081
648991081

prune179.0ms (3.2%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh099
Picked011
Done011
Total12611137
Error
0.0b
Counts
137 → 11
Alt Table
StatusErrorProgram
36.2b
(cbrt.f64 (pow.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))) 3))
44.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x)) (*.f64 (sqrt.f64 (sin.f64 y)) (sqrt.f64 x))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.5b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
32.2b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
26.9b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (sin.f64 y)) (*.f64 (sqrt.f64 (sin.f64 y)) x)))
22.9b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
17.3b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y))))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 2788 to 1350 computations (51.6% saved)

regimes321.0ms (5.8%)

Accuracy

Total 0.1b remaining (64.3%)

Threshold costs 0.1b (64.3%)

Counts
74 → 1
Compiler

Compiled 4580 to 2726 computations (40.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11412
21312

end156.0ms (2.8%)

Compiler

Compiled 231 to 125 computations (45.9% saved)

Profiling

Loading profile data...