Details

Time bar (total: 5.1s)

analyze405.0ms (7.9%)

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
37.4%62.4%0.1%6
49.9%49.9%0.1%7
62.4%37.4%0.1%8
62.4%37.4%0.1%9
71.8%28.1%0.1%10
79.6%20.3%0.1%11
79.6%20.3%0.1%12
85%14.8%0.1%13
89.3%10.5%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample79.0ms (1.5%)

Algorithm
intervals
Results
28.0ms55×body1024valid
12.0ms145×body128valid
8.0ms32×body512valid
5.0ms23×body256valid
1.0msbody2048valid
Compiler

Compiled 28 to 20 computations (28.6% saved)

simplify8.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.1%)

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)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series24.0ms (0.5%)

Counts
3 → 64
Calls

3 calls:

15.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
7.0ms
(*.f64 z (sin.f64 y))
2.0ms
(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
3 → 39
Calls

3 calls:

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

simplify94.0ms (1.8%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
495×sub-neg_binary64
289×associate-*l*_binary64
258×unswap-sqr_binary64
256×distribute-rgt-neg-in_binary64
Counts
103 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031088
12291018
26531001
31805999
43991999
54797999
64959999

prune63.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983
Error
0.0b
Counts
83 → 9
Alt Table
StatusErrorProgram
48.0b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y))) (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))
31.2b
(*.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.3b
(*.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)))))
38.6b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
0.1b
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
34.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
30.3b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.2b
(fma.f64 x (log1p.f64 (expm1.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
Compiler

Compiled 1415 to 522 computations (63.1% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series23.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

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

simplify62.0ms (1.2%)

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

prune84.0ms (1.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh268
Picked101
Done000
Total811091
Error
0.0b
Counts
91 → 10
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x))
48.0b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y))) (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))
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)))
28.6b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
1.3b
(*.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)))))
38.6b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
29.1b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
34.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
30.3b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
Compiler

Compiled 1443 to 551 computations (61.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (sin.f64 y) z (*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x))
0.2b
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x)
0.2b
(log1p.f64 (expm1.f64 (cos.f64 y)))
0.6b
(expm1.f64 (cos.f64 y))

series29.0ms (0.6%)

Counts
4 → 84
Calls

4 calls:

16.0ms
(fma.f64 (sin.f64 y) z (*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x))
7.0ms
(*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x)
3.0ms
(expm1.f64 (cos.f64 y))
2.0ms
(log1p.f64 (expm1.f64 (cos.f64 y)))

rewrite6.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
4 → 52
Calls

4 calls:

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

simplify83.0ms (1.6%)

Algorithm
egg-herbie
Rules
782×fma-neg_binary64
342×distribute-rgt-neg-in_binary64
333×distribute-lft-neg-in_binary64
323×associate-*l*_binary64
276×associate-*r*_binary64
Counts
136 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01201318
12661238
27551215
321901207
448411207
550351207

prune107.0ms (2.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh099
Picked011
Done000
Total11310123
Error
0.0b
Counts
123 → 10
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x))
48.0b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y))) (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))
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)))
28.6b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
1.3b
(*.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)))))
38.6b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
29.1b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
34.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
30.3b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
Compiler

Compiled 2024 to 739 computations (63.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series989.0ms (19.3%)

Counts
4 → 72
Calls

4 calls:

483.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
252.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
245.0ms
(cbrt.f64 (cos.f64 y))
8.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))

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

8.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)))
4.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
1.0ms
(cbrt.f64 (cos.f64 y))

simplify117.0ms (2.3%)

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

prune211.0ms (4.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2040204
Fresh088
Picked011
Done011
Total20410214
Error
0.0b
Counts
214 → 10
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) x))
48.0b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y))) (*.f64 (sqrt.f64 z) (sqrt.f64 (sin.f64 y)))))
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)))
28.6b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
1.3b
(*.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)))))
38.6b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
29.1b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
34.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
30.3b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
Compiler

Compiled 4660 to 1241 computations (73.4% saved)

regimes393.0ms (7.7%)

Accuracy

Total 0.1b remaining (60.5%)

Threshold costs 0.1b (60.5%)

Counts
99 → 1
Compiler

Compiled 6108 to 3714 computations (39.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11214
21214

end1.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample2.3s (44.3%)

Algorithm
intervals
Results
1.0s1941×body1024valid
407.0ms4490×body128valid
278.0ms1055×body512valid
93.0ms504×body256valid
14.0ms10×body2048valid
Compiler

Compiled 211 to 115 computations (45.5% saved)

Profiling

Loading profile data...