Details

Time bar (total: 7.4s)

analyze1.1s (15.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
3%46.9%50%13
3.1%46.8%50%14
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample3.6s (48.9%)

Results
2.2s4083×body2048valid
828.0ms2082×body1024valid
321.0ms1087×body512valid
100.0ms507×body256valid
61.0ms497×body128valid
1.0msbody128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify129.0ms (1.7%)

Algorithm
egg-herbie
Rules
686×div-sub_binary64
546×sub-neg_binary64
397×neg-mul-1_binary64
344×neg-sub0_binary64
311×associate-/r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01019
13119
27217
320317
453217
5134017
6271017
7374817
8464317
9498117

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.6b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
Compiler

Compiled 53 to 36 computations (32.1% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))
0.6b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))
2.0ms
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

rewrite55.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
891×log1p-expm1-u_binary64
891×expm1-log1p-u_binary64
98×add-sqr-sqrt_binary64
91×add-cbrt-cube_binary64
90×add-log-exp_binary64
Counts
2 → 67
Calls

2 calls:

53.0ms
(/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))
53.0ms
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01032
119932
2227732
3549132
000
100

simplify75.0ms (1%)

Algorithm
egg-herbie
Rules
649×cancel-sign-sub-inv_binary64
494×fma-def_binary64
460×sub-neg_binary64
309×distribute-rgt-out_binary64
286×unswap-sqr_binary64
Counts
91 → 83
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
040380
1113362
2316359
3829359
42262359
54207359
64609359
74995359

prune88.0ms (1.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New78583
Fresh000
Picked101
Done000
Total79584
Error
0.6b
Counts
84 → 5
Alt Table
StatusErrorProgram
2.5b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (PI.f64) 2)) (cbrt.f64 (/.f64 (PI.f64) 2))) (cbrt.f64 (/.f64 (PI.f64) 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))))
2.1b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (PI.f64) 2)) (cbrt.f64 (/.f64 (PI.f64) 2))) (cbrt.f64 (/.f64 (PI.f64) 2)) (neg.f64 (*.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 1))) (fma.f64 (neg.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 1 (*.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 1)))
0.6b
(exp.f64 (log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.8b
(acos.f64 (fma.f64 4 (fma.f64 v v (pow.f64 v 4)) -1))
1.6b
(cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))
Compiler

Compiled 2765 to 2025 computations (26.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))
0.0b
(log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
0.0b
(exp.f64 (log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.6b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

series463.0ms (6.2%)

Counts
2 → 24
Calls

2 calls:

461.0ms
(log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
2.0ms
(exp.f64 (log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))

rewrite57.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
471×log-prod_binary64
272×pow2_binary64
190×pow1/3_binary64
187×expm1-udef_binary64
187×log1p-udef_binary64
Counts
2 → 69
Calls

2 calls:

55.0ms
(log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
55.0ms
(exp.f64 (log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01236
121536
2244836
3492536
000
100

simplify126.0ms (1.7%)

Algorithm
egg-herbie
Rules
862×fma-neg_binary64
850×unsub-neg_binary64
557×sub-neg_binary64
476×distribute-neg-in_binary64
388×neg-sub0_binary64
Counts
93 → 72
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011432
118432
225432
334432
452432
579432
6134432
7270432
8527432
91633432
102720432
113905432
124474432
134642432
144925432
154845432

prune143.0ms (1.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1514155
Fresh404
Picked101
Done000
Total1564160
Error
0.6b
Counts
160 → 4
Alt Table
StatusErrorProgram
1.0b
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))
2.5b
(+.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 (PI.f64) 2)) 2) (cbrt.f64 (/.f64 (PI.f64) 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2))))
2.1b
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
3.1b
(exp.f64 (pow.f64 (cbrt.f64 (log.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) 3))
Compiler

Compiled 4720 to 3517 computations (25.5% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1)))
0.0b
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))
0.6b
(acos.f64 (fma.f64 4 (*.f64 v v) -1))

series401.0ms (5.4%)

Counts
3 → 36
Calls

3 calls:

397.0ms
(log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1)))
2.0ms
(acos.f64 (fma.f64 4 (*.f64 v v) -1))
2.0ms
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))

rewrite111.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
614×log1p-expm1-u_binary64
614×expm1-log1p-u_binary64
295×log-prod_binary64
132×pow3_binary64
130×expm1-udef_binary64
Counts
3 → 94
Calls

3 calls:

105.0ms
(log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1)))
105.0ms
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))
105.0ms
(acos.f64 (fma.f64 4 (*.f64 v v) -1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0932
115532
2159332
3496432
4499532
5493132
000
100

simplify173.0ms (2.3%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
434×unswap-sqr_binary64
Counts
130 → 64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09384
116384
226384
345384
491384
5223384
6706384
71167384
81174384
91322384
101492384
111674384
121897384
132182384
142601384
153166384
163852384
174070384
184314384
194396384
204429384
214450384
225019384

prune46.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh123
Picked011
Done000
Total64468
Error
0.6b
Counts
68 → 4
Alt Table
StatusErrorProgram
1.0b
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))
2.5b
(+.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 (PI.f64) 2)) 2) (cbrt.f64 (/.f64 (PI.f64) 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2))))
3.5b
(exp.f64 (pow.f64 (cbrt.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1)))) 3))
2.1b
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
Compiler

Compiled 1434 to 1048 computations (26.9% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
0.6b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
1.0b
(cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))
1.0b
(pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3)

series18.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

13.0ms
(pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3)
2.0ms
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
2.0ms
(cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))

rewrite73.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
542×log-prod_binary64
216×expm1-udef_binary64
216×log1p-udef_binary64
187×log-pow_binary64
124×add-sqr-sqrt_binary64
Counts
3 → 115
Calls

3 calls:

69.0ms
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
69.0ms
(cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))
69.0ms
(pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01554
126154
2287754
3487354
000
100

simplify112.0ms (1.5%)

Algorithm
egg-herbie
Rules
856×fma-neg_binary64
623×unsub-neg_binary64
363×distribute-neg-in_binary64
362×unswap-sqr_binary64
323×fma-def_binary64
Counts
151 → 74
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
012648
127648
239648
357648
495648
5175648
6405648
7840648
81087648
92311648
103383648
114319648
124756648
134801648

prune116.0ms (1.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh022
Picked011
Done011
Total1104114
Error
0.6b
Counts
114 → 4
Alt Table
StatusErrorProgram
1.0b
(exp.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1))))
2.5b
(+.f64 (fma.f64 (pow.f64 (cbrt.f64 (/.f64 (PI.f64) 2)) 2) (cbrt.f64 (/.f64 (PI.f64) 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2)))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2))))
3.5b
(exp.f64 (pow.f64 (cbrt.f64 (log.f64 (acos.f64 (fma.f64 4 (*.f64 v v) -1)))) 3))
2.1b
(exp.f64 (log.f64 (cbrt.f64 (pow.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) 3))))
Compiler

Compiled 4290 to 3213 computations (25.1% saved)

regimes317.0ms (4.3%)

Accuracy

Total 0.0b remaining (1.3%)

Threshold costs 0.0b (1.3%)

Counts
69 → 1
Compiler

Compiled 7196 to 5429 computations (24.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01425
11725
21625

end121.0ms (1.6%)

Compiler

Compiled 177 to 136 computations (23.2% saved)

Profiling

Loading profile data...