Details

Time bar (total: 4.5s)

analyze220.0ms (4.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
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.4s (32.3%)

Results
1.3s8256×body128valid
74.0ms522×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)

localize11.0ms (0.2%)

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)))

series34.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

21.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
7.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)

rewrite63.0ms (1.4%)

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:

61.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
61.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
61.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

simplify61.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

prune50.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh000
Picked011
Done000
Total89392
Error
0.0b
Counts
92 → 3
Alt Table
StatusErrorProgram
2.1b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
1.1b
(*.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))))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
Compiler

Compiled 1854 to 1197 computations (35.4% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))
0.0b
(cbrt.f64 (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)))

series780.0ms (17.4%)

Counts
4 → 96
Calls

4 calls:

748.0ms
(cbrt.f64 (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)))
7.0ms
(fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 g h)) 3))
5.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)

rewrite73.0ms (1.6%)

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 → 117
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01359
126859
2315059
3565859

simplify312.0ms (7%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
0141440
1211440
2301416
3401416
4631416
51101416
62161416
75321416
812721416
917991416
1020771416
1124131416
1229921416
1349761416
1446861416

prune465.0ms (10.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3690369
Fresh011
Picked011
Done011
Total3693372
Error
0.0b
Counts
372 → 3
Alt Table
StatusErrorProgram
2.1b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
1.1b
(*.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))))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))
Compiler

Compiled 18203 to 11917 computations (34.5% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(/.f64 (acos.f64 (/.f64 g h)) 3)
1.0b
(sin.f64 (*.f64 (PI.f64) 2/3))
1.0b
(*.f64 (PI.f64) 2/3)
1.6b
(cos.f64 (*.f64 (PI.f64) 2/3))

series0.0ms (0%)

Counts
3 → 0
Calls

3 calls:

0.0ms
(cos.f64 (*.f64 (PI.f64) 2/3))
0.0ms
(sin.f64 (*.f64 (PI.f64) 2/3))
0.0ms
(*.f64 (PI.f64) 2/3)

rewrite83.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
866×prod-diff_binary64
486×log1p-expm1-u_binary64
486×expm1-log1p-u_binary64
287×unpow-prod-down_binary64
257×log-prod_binary64
Counts
3 → 76
Calls

3 calls:

82.0ms
(sin.f64 (*.f64 (PI.f64) 2/3))
82.0ms
(*.f64 (PI.f64) 2/3)
82.0ms
(cos.f64 (*.f64 (PI.f64) 2/3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0619
111819
2128119
3487619
4612719

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune114.0ms (2.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1501151
Fresh000
Picked101
Done112
Total1522154
Error
0.0b
Counts
154 → 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))))
1.1b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))) (*.f64 (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) 2/3)))) (sin.f64 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
Compiler

Compiled 4967 to 3300 computations (33.6% saved)

localize20.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(sin.f64 (*.f64 (PI.f64) 2/3))
1.0b
(*.f64 (PI.f64) 2/3)
1.0b
(expm1.f64 (sin.f64 (*.f64 (PI.f64) 2/3)))
1.6b
(cos.f64 (*.f64 (PI.f64) 2/3))

series0.0ms (0%)

Counts
1 → 0
Calls

1 calls:

0.0ms
(expm1.f64 (sin.f64 (*.f64 (PI.f64) 2/3)))

rewrite73.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
684×prod-diff_binary64
476×log1p-expm1-u_binary64
476×expm1-log1p-u_binary64
286×unpow-prod-down_binary64
251×log-prod_binary64
Counts
1 → 33
Calls

1 calls:

72.0ms
(expm1.f64 (sin.f64 (*.f64 (PI.f64) 2/3)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11169
212549
349149
458519

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune120.0ms (2.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh000
Picked011
Done011
Total1262128
Error
0.0b
Counts
128 → 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))))
1.1b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))) (*.f64 (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) 2/3)))) (sin.f64 (/.f64 (acos.f64 (/.f64 g h)) 3)))))
Compiler

Compiled 4497 to 3181 computations (29.3% saved)

regimes402.0ms (9%)

Accuracy

Total 1.0b remaining (96.8%)

Threshold costs 1.0b (96.8%)

Counts
38 → 1
Compiler

Compiled 10521 to 8133 computations (22.7% saved)

simplify5.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
01421
12121
22521
32821
42921
52921

end85.0ms (1.9%)

Compiler

Compiled 76 to 63 computations (17.1% saved)

Profiling

Loading profile data...