Details

Time bar (total: 37.6s)

sample201.0ms

Algorithm
intervals
Results
88.0ms130×body320valid
47.0ms278×body80nan
40.0ms124×body160valid
0.0msbody80valid

simplify344.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
344.0ms
(+ (cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h)))))) (cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h)))))))

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 33.9b

localize49.0ms

Local error

Found 4 expressions with local error:

27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))
10.6b
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
7.4b
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
expm1-log1p-u frac-times flip3-- add-cbrt-cube sqrt-div associate-*r/ add-exp-log insert-posit16 log1p-expm1-u flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 72
Calls
4 calls:
Slowest
44.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
39.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
26.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series957.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
435.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
391.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
66.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (- (* g g) (* h h)))

simplify5.4s

Counts
40 → 84
Calls
40 calls:
Slowest
413.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
335.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ 1 a))) (log (/ 1 g))))) (cbrt -1/2))
295.0ms
(* (exp (* 1/3 (- (+ (log (sqrt -1)) (log h)) (log a)))) (cbrt -1/2))
280.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
277.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 27.8b

localize56.0ms

Local error

Found 4 expressions with local error:

27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))
7.4b
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
3.0b
(- (* g g) (* h h))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt add-log-exp
cbrt-div
expm1-log1p-u add-cbrt-cube sqrt-div add-exp-log insert-posit16 log1p-expm1-u
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 73
Calls
4 calls:
Slowest
34.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
10.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(- (* g g) (* h h))

series567.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
406.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
69.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))
43.0ms
(- (* g g) (* h h))

simplify4.3s

Counts
39 → 85
Calls
39 calls:
Slowest
455.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
345.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
334.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
281.0ms
(cbrt (* 1 (+ (pow (- g) 3) (pow (sqrt (- (* g g) (* h h))) 3))))
262.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))

prune1.6s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 27.3b

localize65.0ms

Local error

Found 4 expressions with local error:

27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))
7.4b
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
3.0b
(- (* g g) (* h h))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt add-log-exp
cbrt-div
expm1-log1p-u add-cbrt-cube sqrt-div add-exp-log insert-posit16 log1p-expm1-u
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 73
Calls
4 calls:
Slowest
58.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(- (* g g) (* h h))

series616.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
455.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
64.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(sqrt (- (* g g) (* h h)))
43.0ms
(- (* g g) (* h h))

simplify4.3s

Counts
39 → 85
Calls
39 calls:
Slowest
338.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
326.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
319.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
276.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (sqrt -1)) (log h)) (log a)))))
247.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))

prune1.6s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 27.3b

localize69.0ms

Local error

Found 4 expressions with local error:

27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))
10.6b
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
3.0b
(- (* g g) (* h h))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt add-log-exp
cbrt-div flip3-- flip--
expm1-log1p-u add-cbrt-cube sqrt-div add-exp-log insert-posit16 log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 73
Calls
4 calls:
Slowest
36.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
20.0ms
(sqrt (- (* g g) (* h h)))
13.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(- (* g g) (* h h))

series641.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
455.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
72.0ms
(sqrt (- (* g g) (* h h)))
72.0ms
(sqrt (- (* g g) (* h h)))
42.0ms
(- (* g g) (* h h))

simplify4.4s

Counts
39 → 85
Calls
39 calls:
Slowest
714.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
357.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ 1 a))) (log (/ 1 g))))) (cbrt -1/2))
307.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
267.0ms
(* (exp (* 1/3 (- (+ (log (sqrt -1)) (log h)) (log a)))) (cbrt -1/2))
250.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))

prune1.4s

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 27.3b

regimes1.3s

Accuracy

47% (2.0b remaining)

Error of 31.5b against oracle of 29.5b and baseline of 33.2b

bsearch409.0ms

end0.0ms

sample7.3s

Algorithm
intervals
Results
2.7s8185×body80nan
2.5s3740×body320valid
1.8s4115×body160valid
25.0ms145×body80valid