Details

Time bar (total: 6.1s)

analyze465.0ms (7.6%)

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
25%74.9%0.1%6
37.4%62.4%0.1%7
56.2%43.7%0.1%8
56.2%43.7%0.1%9
65.5%34.3%0.1%10
76.5%23.4%0.1%11
76.5%23.4%0.1%12
81.9%17.9%0.1%13
87.8%12.1%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.9s (48.2%)

Results
1.5s2034×body1024valid
835.0ms4668×body128valid
426.0ms1009×body512valid
157.0ms535×body256valid
14.0ms10×body2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify6.0ms (0.1%)

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 (cos.f64 y) (*.f64 z (sin.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 (cos.f64 y) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))

series23.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

13.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
9.0ms
(*.f64 z (sin.f64 y))

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 z (sin.f64 y))
0.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))

simplify81.0ms (1.3%)

Algorithm
egg-herbie
Rules
519×fma-neg_binary64
465×distribute-rgt-neg-in_binary64
379×distribute-lft-neg-in_binary64
307×distribute-rgt-in_binary64
280×*-commutative_binary64
Counts
90 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
080972
1183913
2538901
31443900
42915900
54952900
65012900

prune55.0ms (0.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New57865
Fresh000
Picked101
Done000
Total58866
Error
0.1b
Counts
66 → 8
Alt Table
StatusErrorProgram
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.1b
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
28.7b
(fma.f64 x (cos.f64 y) (-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
28.1b
(*.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
40.3b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
30.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
Compiler

Compiled 1150 to 409 computations (64.4% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series25.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

18.0ms
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
7.0ms
(*.f64 (cos.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 (cos.f64 y) x)
0.0ms
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))

simplify63.0ms (1%)

Algorithm
egg-herbie
Rules
803×distribute-rgt-neg-in_binary64
796×fma-def_binary64
741×cancel-sign-sub-inv_binary64
379×fma-neg_binary64
324×*-commutative_binary64
Counts
70 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078840
1173788
2484778
31314771
43692771
54945771

prune57.0ms (0.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New61465
Fresh257
Picked101
Done000
Total64973
Error
0.0b
Counts
73 → 9
Alt Table
StatusErrorProgram
28.7b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
28.7b
(fma.f64 x (cos.f64 y) (-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
31.7b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
15.1b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
0.4b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
30.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 1181 to 428 computations (63.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series805.0ms (13.2%)

Counts
4 → 72
Calls

4 calls:

402.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
227.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
169.0ms
(cbrt.f64 (cos.f64 y))
7.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))

rewrite22.0ms (0.4%)

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

4 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))
5.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
3.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
1.0ms
(cbrt.f64 (cos.f64 y))

simplify115.0ms (1.9%)

Algorithm
egg-herbie
Rules
465×fma-neg_binary64
389×cancel-sign-sub-inv_binary64
381×*-commutative_binary64
267×fma-def_binary64
221×associate-+l+_binary64
Counts
175 → 158
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01501804
13391606
211401555
322861535
447981409
549411409
649471409

prune206.0ms (3.4%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2004204
Fresh268
Picked101
Done000
Total20310213
Error
0.0b
Counts
213 → 10
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))) x)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
0.3b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
28.7b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
1.0b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x)) (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x))) (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x)))))
0.5b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
28.7b
(fma.f64 x (cos.f64 y) (-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
30.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 4943 to 1368 computations (72.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (cos.f64 y)) x)
0.2b
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series11.0ms (0.2%)

Counts
2 → 28
Calls

2 calls:

7.0ms
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x))
3.0ms
(pow.f64 (cos.f64 y) 2)

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-exp-log_binary64
15×prod-exp_binary64
14×unpow-prod-down_binary64
12×associate-*l*_binary64
pow-exp_binary64
Counts
2 → 57
Calls

2 calls:

7.0ms
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x))
2.0ms
(pow.f64 (cos.f64 y) 2)

simplify119.0ms (2%)

Algorithm
egg-herbie
Rules
611×fma-neg_binary64
490×sqr-pow_binary64
456×fma-def_binary64
433×*-commutative_binary64
298×cancel-sign-sub-inv_binary64
Counts
85 → 90
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01191237
1278951
2831813
31736809
43579674
54060674
64764674
74980674
84885674

prune195.0ms (3.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh279
Picked101
Done000
Total1519160
Error
0.0b
Counts
160 → 9
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))) x)))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.3b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (log.f64 (exp.f64 (cbrt.f64 (cos.f64 y)))) x)))
1.0b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x)) (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x))) (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) x)))))
0.5b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
28.7b
(fma.f64 x (cos.f64 y) (-.f64 (*.f64 y z) (*.f64 1/6 (*.f64 (pow.f64 y 3) z))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
30.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 3385 to 1573 computations (53.5% saved)

regimes706.0ms (11.6%)

Accuracy

Total 0.1b remaining (59.1%)

Threshold costs 0.1b (59.1%)

Counts
159 → 1
Compiler

Compiled 12848 to 7678 computations (40.2% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
11818
21618

end139.0ms (2.3%)

Compiler

Compiled 244 to 129 computations (47.1% saved)

Profiling

Loading profile data...