Details

Time bar (total: 3.8s)

analyze239.0ms (6.2%)

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
25%68.7%6.3%5
25%65.6%9.5%6
37.5%39%23.5%7
37.5%36.7%25.9%8
43.7%20.7%35.6%9
43.7%19.3%37%10
46.8%10.6%42.5%11
46.8%9.9%43.3%12
48.4%5.4%46.2%13
48.4%5%46.6%14
Compiler

Compiled 19 to 17 computations (10.5% saved)

sample1.6s (41.6%)

Results
1.5s8256×body128valid
92.0ms590×body128invalid
Compiler

Compiled 56 to 50 computations (10.7% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
sub-neg_binary64
*-commutative_binary64
+-commutative_binary64
div-sub_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01526
12623
24021
34921
45621
56321
67421
77321
86221

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
1.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
Compiler

Compiled 61 to 49 computations (19.7% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))

series37.0ms (1%)

Counts
3 → 72
Calls

3 calls:

23.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
8.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
6.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

rewrite60.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
532×log-prod_binary64
216×expm1-udef_binary64
216×log1p-udef_binary64
201×prod-diff_binary64
183×log-pow_binary64
Counts
3 → 85
Calls

3 calls:

58.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
58.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
58.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01245
126139
2288539
3514039

simplify55.0ms (1.4%)

Algorithm
egg-herbie
Rules
18×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
fma-neg_binary64
Counts
157 → 91
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0141080
1221080
2311080
3371080
4431080
5491080
6541080
7591080
8671080
9641080
10551080

prune47.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New90191
Fresh000
Picked011
Done000
Total90292
Error
0.0b
Counts
92 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
0.9b
(*.f64 2 (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))) (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))))))
Compiler

Compiled 1796 to 1153 computations (35.8% saved)

localize19.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
0.0b
(exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))
1.0b
(/.f64 (acos.f64 (/.f64 g h)) 3)
1.0b
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))

series805.0ms (21%)

Counts
4 → 96
Calls

4 calls:

755.0ms
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
24.0ms
(exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))
20.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))
5.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)

rewrite72.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
591×log-prod_binary64
240×expm1-udef_binary64
240×log1p-udef_binary64
212×log-pow_binary64
176×prod-diff_binary64
Counts
4 → 113
Calls

4 calls:

67.0ms
(cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
67.0ms
(exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))
67.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)
67.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01363
126863
2315063
3565863

simplify160.0ms (4.2%)

Algorithm
egg-herbie
Rules
540×fma-def_binary64
473×sqr-pow_binary64
434×unswap-sqr_binary64
301×*-commutative_binary64
299×pow-sqr_binary64
Counts
209 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0151536
1221536
2301512
3401512
4631512
51101512
62161512
75321512
812721512
917991512
1020771512
1124131512
1229921512
1349761512
1446861512

prune520.0ms (13.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3570357
Fresh000
Picked011
Done011
Total3572359
Error
0.0b
Counts
359 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
0.9b
(*.f64 2 (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))) (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))))) (log.f64 (cbrt.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))))))))
Compiler

Compiled 17767 to 11627 computations (34.6% saved)

regimes95.0ms (2.5%)

Accuracy

Total 1.3b remaining (97.4%)

Threshold costs 0b (0%)

Counts
5 → 1
Compiler

Compiled 1291 to 1051 computations (18.6% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01971
12171
22171

end98.0ms (2.6%)

Compiler

Compiled 147 to 109 computations (25.9% saved)

Profiling

Loading profile data...