Details

Time bar (total: 30.2s)

sample92.0ms

Algorithm
intervals
Results
42.0ms255×body80nan
32.0ms256×body80valid

simplify58.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
58.0ms
(* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3))))

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize50.0ms

Local error

Found 3 expressions with local error:

1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(/ (acos (/ (- g) h)) 3)
0.0b
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))

rewrite11.0ms

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

series183.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
134.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
33.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))
16.0ms
(/ (acos (/ (- g) h)) 3)

simplify1.4s

Counts
36 → 63
Calls
36 calls:
Slowest
243.0ms
(/ (* (* (acos (/ (- g) h)) (acos (/ (- g) h))) (acos (/ (- g) h))) (* (* 3 3) 3))
92.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
88.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
79.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
78.0ms
(/ (* (cbrt (acos (/ (- g) h))) (cbrt (acos (/ (- g) h)))) (* (cbrt 3) (cbrt 3)))

prune752.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.9b

localize49.0ms

Local error

Found 4 expressions with local error:

1.0b
(log1p (expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(/ (acos (/ (- g) h)) 3)
0.9b
(expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
log1p-expm1-u
expm1-log1p-u pow1 insert-posit16 add-log-exp
associate-/r* associate-/l*
div-sub
acos-asin cbrt-undiv acos-neg cos-sum log1p-udef expm1-log1p clear-num frac-2neg div-exp log1p-expm1 distribute-frac-neg fma-udef div-inv expm1-udef
Counts
4 → 67
Calls
4 calls:
Slowest
9.0ms
(/ (acos (/ (- g) h)) 3)
4.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0ms
(expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))
1.0ms
(log1p (expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))

series610.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
245.0ms
(log1p (expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
187.0ms
(expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))
166.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
12.0ms
(/ (acos (/ (- g) h)) 3)

simplify1.6s

Counts
41 → 79
Calls
41 calls:
Slowest
276.0ms
(/ (* (* (acos (/ (- g) h)) (acos (/ (- g) h))) (acos (/ (- g) h))) (* (* 3 3) 3))
96.0ms
(- (exp (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))) 1)
82.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
81.0ms
(- (exp (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))) 1)
78.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.9b

localize62.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3 swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
cos-sum fma-udef
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 76
Calls
4 calls:
Slowest
11.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
2.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
2.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
2.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

series649.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
256.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
160.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
128.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
105.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

simplify3.7s

Counts
59 → 88
Calls
59 calls:
Slowest
508.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
450.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
422.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
97.0ms
(* (* (cbrt (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))) (cbrt (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))) (* (cbrt (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))) (cbrt (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))))
94.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune1.1s

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize67.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (* (* (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))))
1.0b
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))

rewrite275.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
49×cbrt-prod
28×*-un-lft-identity add-cube-cbrt
25×pow1
19×pow1/3
18×swap-sqr associate-*r* associate-*l*
12×unswap-sqr
10×add-exp-log
pow-prod-down pow-sqr pow-prod-up
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp
pow2 pow-plus prod-exp *-commutative cbrt-unprod
pow3 rem-cbrt-cube
Counts
4 → 142
Calls
4 calls:
Slowest
210.0ms
(cbrt (* (* (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))))
22.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
21.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
20.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
Slowest
303.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
300.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
299.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
289.0ms
(cbrt (* (* (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))) (* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))))

simplify10.7s

Counts
146 → 154
Calls
146 calls:
Slowest
531.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
504.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
496.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
478.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
461.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)

prune2.2s

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes252.0ms

Accuracy

0% (0.1b remaining)

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

bsearch10.0ms

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.6s8000×body80valid
1.5s7993×body80nan