Details

Time bar (total: 33.4s)

sample175.0ms

Algorithm
intervals
Results
64.0ms134×body160valid
53.0ms115×body320valid
37.0ms268×body80nan
1.0msbody80valid

simplify301.0ms

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

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 35.8b

localize46.0ms

Local error

Found 4 expressions with local error:

29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))
8.8b
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
5.7b
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))

rewrite103.0ms

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

series963.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
431.0ms
(cbrt (* (/ 1 (* 2 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
397.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
76.0ms
(sqrt (- (* g g) (* h h)))
58.0ms
(sqrt (- (* g g) (* h h)))

simplify5.4s

Counts
40 → 76
Calls
40 calls:
Slowest
653.0ms
(cbrt (* (/ 1 (* 2 a)) (- (pow (- g) 3) (pow (sqrt (- (* g g) (* h h))) 3))))
418.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
364.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ 1 a))) (log (/ 1 g))))) (cbrt -1/2))
305.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ -1 a))) (log (/ -1 g))))) (cbrt -1/2))
282.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.3s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 30.4b

localize87.0ms

Local error

Found 4 expressions with local error:

29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))
5.7b
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
3.4b
(- (* g g) (* h h))

rewrite89.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--
add-cbrt-cube sqrt-div add-exp-log insert-posit16
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 63
Calls
4 calls:
Slowest
53.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
14.0ms
(sqrt (- (* g g) (* h h)))
14.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(- (* g g) (* h h))

series571.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
391.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
73.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(- (* g g) (* h h))
54.0ms
(sqrt (- (* g g) (* h h)))

simplify3.9s

Counts
37 → 75
Calls
37 calls:
Slowest
639.0ms
(cbrt (* (/ 1 (* 2 a)) (- (pow (- g) 3) (pow (sqrt (- (* g g) (* h h))) 3))))
334.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ 1 a))) (log (/ 1 g))))) (cbrt -1/2))
250.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
246.0ms
(* (exp (* 1/3 (- (+ (log (sqrt -1)) (log h)) (log a)))) (cbrt -1/2))
236.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.4s

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 30.0b

localize55.0ms

Local error

Found 4 expressions with local error:

29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))
3.4b
(- (* g g) (* h h))
3.4b
(- (* g g) (* h h))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 *-un-lft-identity add-cube-cbrt
flip3-- add-cbrt-cube sqrt-div add-exp-log insert-posit16 flip-- difference-of-squares
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 diff-log
Counts
4 → 62
Calls
4 calls:
Slowest
17.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(- (* g g) (* h h))
14.0ms
(- (* g g) (* h h))
7.0ms
(sqrt (- (* g g) (* h h)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
73.0ms
(sqrt (- (* g g) (* h h)))
65.0ms
(sqrt (- (* g g) (* h h)))
61.0ms
(- (* g g) (* h h))
43.0ms
(- (* g g) (* h h))

simplify2.1s

Counts
34 → 74
Calls
34 calls:
Slowest
236.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
212.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))
184.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))
184.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
164.0ms
(/ (exp (* g g)) (exp (* h h)))

prune1.6s

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 30.0b

localize79.0ms

Local error

Found 4 expressions with local error:

29.6b
(sqrt (- (* g g) (* h h)))
29.6b
(sqrt (- (* g g) (* h h)))
5.7b
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
3.4b
(- (* g g) (* h h))

rewrite61.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--
add-cbrt-cube sqrt-div add-exp-log insert-posit16
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 63
Calls
4 calls:
Slowest
27.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
14.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(- (* g g) (* h h))

series478.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
325.0ms
(cbrt (* (/ 1 (* 2 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
57.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(- (* g g) (* h h))

simplify4.3s

Counts
37 → 75
Calls
37 calls:
Slowest
886.0ms
(cbrt (* (/ 1 (* 2 a)) (- (pow (- g) 3) (pow (sqrt (- (* g g) (* h h))) 3))))
349.0ms
(* (exp (* 1/3 (- (+ (log 2) (log (/ 1 a))) (log (/ 1 g))))) (cbrt -1/2))
313.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
309.0ms
(cbrt (* 1 (- (pow (- g) 3) (pow (sqrt (- (* g g) (* h h))) 3))))
251.0ms
(sqrt (- (pow (* g g) 3) (pow (* h h) 3)))

prune1.2s

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 30.0b

regimes922.0ms

Accuracy

0% (2.3b remaining)

Error of 31.9b against oracle of 29.7b and baseline of 31.9b

bsearch7.0ms

end0.0ms

sample7.9s

Algorithm
intervals
Results
3.4s3762×body320valid
2.1s8125×body80nan
1.9s4080×body160valid
58.0ms158×body80valid