Details

Time bar (total: 4.6s)

analyze225.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 (34.4%)

Results
1.4s8256×body128valid
85.0ms544×body128invalid
Compiler

Compiled 56 to 50 computations (10.7% saved)

simplify8.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))
0.9b
(/.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)))

series38.0ms (0.8%)

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))
7.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

rewrite8.0ms (0.2%)

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

simplify134.0ms (2.9%)

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

prune145.0ms (3.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92597
Fresh000
Picked101
Done000
Total93598
Error
0.9b
Counts
98 → 5
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (cbrt.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 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 2225 to 1285 computations (42.2% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
0.9b
(*.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))

series183.0ms (3.9%)

Counts
4 → 72
Calls

4 calls:

97.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)))))
69.0ms
(*.f64 (/.f64 1 (sqrt.f64 3)) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
16.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
0.0ms
(/.f64 1 (sqrt.f64 3))

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt_binary64
94×times-frac_binary64
66×*-un-lft-identity_binary64
60×add-cube-cbrt_binary64
53×sqrt-prod_binary64
Counts
4 → 185
Calls

4 calls:

17.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))
3.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (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)))))

simplify220.0ms (4.8%)

Algorithm
egg-herbie
Rules
794×fma-def_binary64
500×times-frac_binary64
416×associate-/l*_binary64
322×*-commutative_binary64
314×fma-neg_binary64
Counts
257 → 252
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01795264
13524590
29934409
322954361
426914361
534794361
644414361
748864361

prune360.0ms (7.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2511252
Fresh134
Picked101
Done000
Total2534257
Error
0.9b
Counts
257 → 4
Alt Table
StatusErrorProgram
1.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))) (*.f64 (sin.f64 (*.f64 (PI.f64) 2/3)) (sin.f64 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))))
1.0b
(*.f64 2 (cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
1.0b
(*.f64 2 (log.f64 (exp.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
1.0b
(*.f64 2 (log1p.f64 (expm1.f64 (cos.f64 (fma.f64 (PI.f64) 2/3 (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))))))
Compiler

Compiled 7035 to 4810 computations (31.6% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))
0.9b
(*.f64 (log.f64 (exp.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 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
1.0b
(/.f64 1 (sqrt.f64 3))

series157.0ms (3.4%)

Counts
2 → 48
Calls

2 calls:

94.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))
63.0ms
(*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))

rewrite43.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
38×times-frac_binary64
37×add-sqr-sqrt_binary64
29×*-un-lft-identity_binary64
29×add-cube-cbrt_binary64
26×associate-*l*_binary64
Counts
2 → 77
Calls

2 calls:

34.0ms
(*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))
1.0ms
(cos.f64 (fma.f64 (PI.f64) 2/3 (*.f64 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3)))))

simplify166.0ms (3.6%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
481×fma-def_binary64
266×associate-/l*_binary64
261×associate-*l/_binary64
250×*-commutative_binary64
Counts
125 → 122
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422824
12652494
27402270
317002221
419922221
531432221
642322221
748912221
849032221

prune174.0ms (3.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2371238
Fresh303
Picked011
Done000
Total2402242
Error
0b
Counts
242 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 (cos.f64 (*.f64 (PI.f64) 2/3)) (cos.f64 (*.f64 (log.f64 (exp.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 (log.f64 (exp.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 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
Compiler

Compiled 6966 to 4896 computations (29.7% 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))

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

simplify87.0ms (1.9%)

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

prune267.0ms (5.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh000
Picked011
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 (log.f64 (exp.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 (log.f64 (exp.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 (log.f64 (exp.f64 (/.f64 1 (sqrt.f64 3)))) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) (sqrt.f64 3))))))
Compiler

Compiled 8184 to 6168 computations (24.6% saved)

regimes591.0ms (12.8%)

Accuracy

Total 0.0b remaining (61.6%)

Threshold costs 0.0b (61.6%)

Counts
49 → 1
Compiler

Compiled 9914 to 8428 computations (15% 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
03175
14975
26175
37075
47575
57675
67575

end106.0ms (2.3%)

Compiler

Compiled 162 to 136 computations (16% saved)

Profiling

Loading profile data...