Details

Time bar (total: 10.8s)

sample123.0ms

Algorithm
intervals
Results
58.0ms256×body80valid
46.0ms256×body80nan

simplify32.0ms

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

prune34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

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

rewrite17.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
10.0ms
(/ (acos (/ (- g) h)) 3)
4.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
0.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))

series178.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
127.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
37.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))
15.0ms
(/ (acos (/ (- g) h)) 3)

simplify1.1s

Counts
36 → 63
Calls
36 calls:
Slowest
204.0ms
(/ (* (* (acos (/ (- g) h)) (acos (/ (- g) h))) (acos (/ (- g) h))) (* (* 3 3) 3))
71.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
69.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
66.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
57.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))

prune677.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt sqrt-prod
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
cos-sum
Counts
4 → 54
Calls
4 calls:
Slowest
3.0ms
(cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))
1.0ms
(sqrt (acos (/ (- g) h)))
1.0ms
(sqrt (acos (/ (- g) h)))
0.0ms
(fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3)))

series197.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
133.0ms
(cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))
34.0ms
(fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3)))
15.0ms
(sqrt (acos (/ (- g) h)))
15.0ms
(sqrt (acos (/ (- g) h)))

simplify738.0ms

Counts
23 → 66
Calls
23 calls:
Slowest
72.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
69.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
65.0ms
(* (cos (* 2/3 PI)) (cos (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))
65.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
60.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune874.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 1.0b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt log1p-expm1-u
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 add-log-exp
sqrt-prod
rem-sqrt-square cos-sum log1p-udef expm1-log1p sqrt-pow1 pow1/2 log1p-expm1 fma-udef expm1-udef
Counts
4 → 51
Calls
4 calls:
Slowest
4.0ms
(cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))
2.0ms
(sqrt (acos (/ (- g) h)))
1.0ms
(expm1 (cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3)))))
0.0ms
(log1p (expm1 (cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))))

series573.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
209.0ms
(expm1 (cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3)))))
206.0ms
(log1p (expm1 (cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))))
141.0ms
(cos (fma 2/3 PI (* (sqrt (acos (/ (- g) h))) (/ (sqrt (acos (/ (- g) h))) 3))))
18.0ms
(sqrt (acos (/ (- g) h)))

simplify1.1s

Counts
20 → 63
Calls
20 calls:
Slowest
111.0ms
(- (exp (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))) 1)
109.0ms
(- (exp (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))) 1)
101.0ms
(- (exp (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))) 1)
97.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
78.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune820.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 1.0b

regimes157.0ms

Accuracy

0% (0.0b remaining)

Error of 1.0b against oracle of 1.0b and baseline of 1.0b

bsearch3.0ms

end0.0ms

sample4.0s

Algorithm
intervals
Results
2.2s8226×body80nan
1.5s8000×body80valid