Details

Time bar (total: 5.5s)

analyze3.0ms (0.1%)

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.8s (50.2%)

Results
1.1s1306×body1024valid
1.1s5886×body128valid
340.0ms712×body512valid
112.0ms349×body256valid
6.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify23.0ms (0.4%)

Algorithm
egg-herbie
Rules
230×fma-def_binary64
171×fma-neg_binary64
66×cancel-sign-sub-inv_binary64
44×associate--r+_binary64
44×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11814
23414
35914
49914
515514
624714
729214
837814
941014
1044414
1145414
1243114

prune2.0ms (0%)

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 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (cos.f64 y))
0.0b
(cos.f64 y)
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))

series29.0ms (0.5%)

Counts
4 → 88
Calls

4 calls:

14.0ms
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
9.0ms
(*.f64 z (sin.f64 y))
4.0ms
(+.f64 x (cos.f64 y))
2.0ms
(cos.f64 y)

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-log-exp_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 70
Calls

4 calls:

5.0ms
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
5.0ms
(*.f64 z (sin.f64 y))
3.0ms
(+.f64 x (cos.f64 y))
1.0ms
(cos.f64 y)

simplify101.0ms (1.8%)

Algorithm
egg-herbie
Rules
894×fma-neg_binary64
528×fma-def_binary64
418×associate-*l*_binary64
386×associate-*r*_binary64
267×cancel-sign-sub-inv_binary64
Counts
158 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01521750
13891683
211201631
338581621
447331621
548891621

prune140.0ms (2.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1325137
Fresh000
Picked011
Done000
Total1326138
Error
0.0b
Counts
138 → 6
Alt Table
StatusErrorProgram
31.6b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
0.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
28.8b
(-.f64 x (fma.f64 y (+.f64 z (*.f64 y 1/2)) -1))
27.6b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 (*.f64 z (sin.f64 y))) (cbrt.f64 (*.f64 z (sin.f64 y)))) (cbrt.f64 (*.f64 z (sin.f64 y)))))
Compiler

Compiled 2239 to 719 computations (67.9% saved)

localize26.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (cbrt.f64 z) (sin.f64 y))
0.3b
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))
0.5b
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
0.6b
(cbrt.f64 z)

series414.0ms (7.5%)

Counts
4 → 72
Calls

4 calls:

225.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
76.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
72.0ms
(cbrt.f64 z)
41.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))

rewrite48.0ms (0.9%)

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:

21.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))
8.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
8.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
1.0ms
(cbrt.f64 z)

simplify188.0ms (3.4%)

Algorithm
egg-herbie
Rules
849×fma-def_binary64
720×fma-neg_binary64
501×cancel-sign-sub-inv_binary64
496×*-commutative_binary64
395×unswap-sqr_binary64
Counts
175 → 158
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01411734
13111507
211811430
323851407
445661395
549731395
649431395

prune217.0ms (3.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1933196
Fresh224
Picked101
Done011
Total1966202
Error
0.0b
Counts
202 → 6
Alt Table
StatusErrorProgram
31.6b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
3.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3)))))
0.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z))))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
28.8b
(-.f64 x (fma.f64 y (+.f64 z (*.f64 y 1/2)) -1))
Compiler

Compiled 4240 to 1145 computations (73% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sin.f64 y) (cbrt.f64 z))
0.3b
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z)))
0.5b
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
0.6b
(cbrt.f64 z)

series287.0ms (5.2%)

Counts
2 → 48
Calls

2 calls:

263.0ms
(*.f64 (sin.f64 y) (cbrt.f64 z))
24.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z)))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary64
16×pow1_binary64
add-sqr-sqrt_binary64
cbrt-unprod_binary64
add-cbrt-cube_binary64
Counts
2 → 48
Calls

2 calls:

11.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z)))
4.0ms
(*.f64 (sin.f64 y) (cbrt.f64 z))

simplify97.0ms (1.8%)

Algorithm
egg-herbie
Rules
864×fma-neg_binary64
642×fma-def_binary64
420×*-commutative_binary64
399×unswap-sqr_binary64
339×cancel-sign-sub-inv_binary64
Counts
96 → 79
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01091394
1271919
2872895
31825887
44132881
54969881
64904881

prune174.0ms (3.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh044
Picked011
Done011
Total1956201
Error
0.0b
Counts
201 → 6
Alt Table
StatusErrorProgram
31.6b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
3.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3)))))
0.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z))))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
28.8b
(-.f64 x (fma.f64 y (+.f64 z (*.f64 y 1/2)) -1))
Compiler

Compiled 4219 to 1144 computations (72.9% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z))))
0.5b
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
0.6b
(cbrt.f64 (cbrt.f64 z))
0.6b
(cbrt.f64 z)

series323.0ms (5.8%)

Counts
2 → 24
Calls

2 calls:

278.0ms
(cbrt.f64 (cbrt.f64 z))
45.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z))))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×cbrt-prod_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
pow1_binary64
associate-*l*_binary64
Counts
2 → 41
Calls

2 calls:

7.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z))))
2.0ms
(cbrt.f64 (cbrt.f64 z))

simplify107.0ms (1.9%)

Algorithm
egg-herbie
Rules
651×associate-*l*_binary64
408×log-prod_binary64
368×associate-*r*_binary64
314×sqr-pow_binary64
296×fma-def_binary64
Counts
65 → 62
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
065839
1129839
2386807
31284500
41046500
51413500
62116486
74255486
84979486
94830486

prune179.0ms (3.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2160216
Fresh033
Picked011
Done022
Total2166222
Error
0.0b
Counts
222 → 6
Alt Table
StatusErrorProgram
31.6b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
3.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 (*.f64 z (pow.f64 (sin.f64 y) 3)))))
0.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (sin.f64 y) (cbrt.f64 z))))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
28.8b
(-.f64 x (fma.f64 y (+.f64 z (*.f64 y 1/2)) -1))
Compiler

Compiled 6097 to 1454 computations (76.2% saved)

regimes211.0ms (3.8%)

Accuracy

Total 0.0b remaining (43.1%)

Threshold costs 0.0b (43.1%)

Counts
38 → 1
Compiler

Compiled 2408 to 1526 computations (36.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11614
22614
33214
43614
53714
63714

end100.0ms (1.8%)

Compiler

Compiled 133 to 83 computations (37.6% saved)

Profiling

Loading profile data...