Details

Time bar (total: 2.1s)

analyze224.0ms (10.8%)

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.5s (72.8%)

Results
1.4s8256×body128valid
88.0ms585×body128invalid
Compiler

Compiled 56 to 50 computations (10.7% saved)

simplify9.0ms (0.4%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01526
12623
24021
35121
45821
57021
68221
79821
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.2%)

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.6%)

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

series41.0ms (2%)

Counts
3 → 72
Calls

3 calls:

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

rewrite50.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
216×expm1-udef_binary64
216×log1p-udef_binary64
201×prod-diff_binary64
183×log-pow_binary64
133×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01245
126139
2337539
Stop Event
node limit
Counts
3 → 76
Calls

3 calls:

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

simplify55.0ms (2.6%)

Algorithm
egg-herbie
Rules
18×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0141080
1221080
2321080
3381080
4441080
5521080
6601080
7701080
8781080
9921080
Stop Event
saturated
Counts
148 → 82

prune60.0ms (2.9%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done000
Total82183
Error
1.0b
Counts
83 → 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 1473 to 957 computations (35% saved)

regimes63.0ms (3.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
4 → 1
Compiler

Compiled 711 to 609 computations (14.3% saved)

simplify3.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
Stop Event
saturated

end46.0ms (2.2%)

Compiler

Compiled 45 to 39 computations (13.3% saved)

Profiling

Loading profile data...