Details

Time bar (total: 12.8s)

sample98.0ms

Algorithm
intervals
Results
37.0ms256×body80valid
28.0ms230×body80nan

simplify42.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
01416
12116
22516
32915
43215
53315
done3315

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize51.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))
1.0b
(/ (acos (/ (- g) h)) 3.0)
1.0b
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
div-sub fma-udef
cbrt-undiv acos-neg acos-asin cos-sum frac-2neg distribute-frac-neg div-exp clear-num div-inv
Counts
3 → 51
Calls
3 calls:
0.0ms
(fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))
6.0ms
(/ (acos (/ (- g) h)) 3.0)
3.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))

series212.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))
21.0ms
(/ (acos (/ (- g) h)) 3.0)
138.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))

simplify1.4s

Counts
60 → 60
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
0103842
1158818
2374740
31586740
done5001740

prune231.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0)))
0.0b
(/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))
0.0b
(/ (acos (/ (- g) h)) (sqrt 3.0))
1.0b
(cos (fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
276×times-frac
156×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
144×sqrt-prod
25×associate-/l*
12×associate-/r*
11×add-exp-log add-cbrt-cube
div-inv
div-sub
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
acos-neg acos-asin frac-2neg distribute-frac-neg clear-num fma-udef
cos-sum associate-/l/
Counts
4 → 242
Calls
4 calls:
0.0ms
(fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0)))
29.0ms
(/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))
8.0ms
(/ (acos (/ (- g) h)) (sqrt 3.0))
3.0ms
(cos (fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))))

series586.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0)))
107.0ms
(/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))
77.0ms
(/ (acos (/ (- g) h)) (sqrt 3.0))
253.0ms
(cos (fma (/ 2.0 3.0) PI (/ (/ (acos (/ (- g) h)) (sqrt 3.0)) (sqrt 3.0))))

simplify1.5s

Counts
254 → 254
Iterations

Useful iterations: done (1.4s)

IterNodesCost
03015628
16294955
223494696
done50004606

prune827.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 1.0b

localize29.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3))
1.0b
(/ (acos (/ (- g) h)) 3.0)
1.0b
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
1.0b
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×cbrt-prod
times-frac
add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-/r* associate-/l*
cube-mult unpow3 div-sub sqr-pow
cbrt-undiv acos-neg acos-asin pow-to-exp cos-sum pow-pow frac-2neg pow1/3 distribute-frac-neg div-exp pow-exp clear-num rem-cbrt-cube fma-udef div-inv rem-cube-cbrt
Counts
4 → 89
Calls
4 calls:
3.0ms
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3))
6.0ms
(/ (acos (/ (- g) h)) 3.0)
3.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
4.0ms
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3)

series534.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3))
13.0ms
(/ (acos (/ (- g) h)) 3.0)
142.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
231.0ms
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 3)

simplify1.1s

Counts
101 → 101
Iterations

Useful iterations: 2 (197.0ms)

IterNodesCost
01371921
12741721
212201509
done50011509

prune483.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

1.0b
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
1.0b
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
1.0b
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2)
1.0b
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow
cos-sum fma-udef unpow2 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp
Counts
4 → 58
Calls
4 calls:
2.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
2.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
4.0ms
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2)
3.0ms
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2))

series759.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
141.0ms
(cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)))
174.0ms
(pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2)
300.0ms
(cbrt (pow (cos (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0))) 2))

simplify1.1s

Counts
70 → 70
Iterations

Useful iterations: 3 (321.0ms)

IterNodesCost
0831452
11691307
24241209
314281204
done50011204

prune378.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes174.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02035
12435
done2435

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.4s8149×body80nan
1.2s8000×body80valid