Details

Time bar (total: 4.9s)

analyze238.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.6s (33%)

Results
1.5s8256×body128valid
90.0ms572×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
(cos.f64 (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)

series37.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

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

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 51
Calls

3 calls:

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

simplify129.0ms (2.6%)

Algorithm
egg-herbie
Rules
516×distribute-rgt-in_binary64
515×fma-neg_binary64
508×associate-/l/_binary64
495×distribute-lft-in_binary64
420×distribute-rgt-out_binary64
Counts
123 → 97
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01052186
11502070
22462070
34112070
48742070
521992070
646842070
751092070

prune98.0ms (2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New96197
Fresh000
Picked101
Done000
Total97198
Error
1.0b
Counts
98 → 1
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
Compiler

Compiled 2027 to 1135 computations (44% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series438.0ms (9%)

Counts
4 → 72
Calls

4 calls:

294.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
75.0ms
(fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))
69.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
0.0ms
(/.f64 1 (sqrt.f64 3))

rewrite34.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt_binary64
76×times-frac_binary64
51×*-un-lft-identity_binary64
45×add-cube-cbrt_binary64
41×sqrt-prod_binary64
Counts
4 → 152
Calls

4 calls:

16.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
3.0ms
(/.f64 1 (sqrt.f64 3))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
0.0ms
(fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))

simplify226.0ms (4.6%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
551×fma-def_binary64
469×times-frac_binary64
379×associate-/l*_binary64
296×*-commutative_binary64
Counts
224 → 206
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01604593
13303862
29333699
321323651
426603651
542633651
649373651
751743651

prune224.0ms (4.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2051206
Fresh000
Picked011
Done000
Total2052207
Error
1.0b
Counts
207 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
1.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
Compiler

Compiled 5584 to 3882 computations (30.5% saved)

localize28.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(sin.f64 (*.f64 (PI.f64) 2/3))
1.0b
(/.f64 1 (sqrt.f64 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
(*.f64 (PI.f64) 2/3)
0.0ms
(sin.f64 (*.f64 (PI.f64) 2/3))

rewrite7.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 → 38
Calls

3 calls:

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

simplify89.0ms (1.8%)

Algorithm
egg-herbie
Rules
603×unswap-sqr_binary64
428×associate-*l/_binary64
378×associate-*r/_binary64
293×log-div_binary64
277×*-commutative_binary64
Counts
38 → 42
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
055383
183337
2169337
3229337
4293337
5442337
6806337
71343337
83492337
94632337
104833337
114757337

prune166.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1611162
Fresh000
Picked101
Done011
Total1622164
Error
0b
Counts
164 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) 2/3)))) (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
Compiler

Compiled 7577 to 5553 computations (26.7% saved)

localize29.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(/.f64 1 (sqrt.f64 3))
1.0b
(*.f64 (PI.f64) 2/3)
1.0b
(sin.f64 (expm1.f64 (log1p.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
(sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) 2/3))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

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

simplify150.0ms (3.1%)

Algorithm
egg-herbie
Rules
1333×sqr-pow_binary64
715×pow-sqr_binary64
529×cube-prod_binary64
481×fabs-mul_binary64
362×unswap-sqr_binary64
Counts
10 → 17
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
024140
130125
232125
337125
442125
551125
671125
7124125
8299125
9604125
10608125
11738125
12892125
131060125
141289125
151590125
161938125
172413125
183031125
193227125
203401125
213515125
223562125
233614125
244492125
254797125

prune238.0ms (4.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh000
Picked011
Done011
Total1692171
Error
0b
Counts
171 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))) (*.f64 (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) 2/3)))) (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
Compiler

Compiled 8194 to 6090 computations (25.7% saved)

regimes975.0ms (20%)

Accuracy

Total 0.0b remaining (72.7%)

Threshold costs 0.0b (72.7%)

Counts
93 → 1
Compiler

Compiled 21095 to 17533 computations (16.9% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02871
14671
25871
36771
47271
57371
67271

end102.0ms (2.1%)

Compiler

Compiled 154 to 128 computations (16.9% saved)

Profiling

Loading profile data...