Details

Time bar (total: 1.2m)

sample203.0ms

Algorithm
intervals
Results
85.0ms116×body320valid
48.0ms136×body160valid
44.0ms272×body80nan
1.0msbody80valid

simplify296.0ms

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

prune30.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 33.7b

localize47.0ms

Local error

Found 4 expressions with local error:

27.3b
(sqrt (- (* g g) (* h h)))
27.3b
(sqrt (- (* g g) (* h h)))
7.8b
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
7.8b
(cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (* a 2)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×cbrt-prod
10×*-un-lft-identity
sqrt-prod
add-cube-cbrt
pow1 cbrt-div times-frac
expm1-log1p-u add-cbrt-cube sqrt-div add-exp-log insert-posit16 log1p-expm1-u add-log-exp difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ flip3-- pow1/2 pow1/3 associate-*r/ flip-+ flip--
associate-*l/ div-inv distribute-lft-out--
Counts
4 → 77
Calls
4 calls:
Slowest
30.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
20.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))
15.0ms
(cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (* a 2)))

series802.0ms

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

simplify18.3s

Counts
112 → 89
Calls
112 calls:
Slowest
535.0ms
(log (cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (* a 2))))
400.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
366.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
347.0ms
(cbrt (* (/ -1/2 a) (+ (pow g 3) (pow (sqrt (- (* g g) (* h h))) 3))))
339.0ms
(sqrt (+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h)))))

prune1.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 28.2b

localize40.0ms

Local error

Found 4 expressions with local error:

27.3b
(sqrt (- (* g g) (* h h)))
27.3b
(sqrt (- (* g g) (* h h)))
7.8b
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
3.2b
(- (* g g) (* h h))

rewrite88.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
35.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
18.0ms
(sqrt (- (* g g) (* h h)))
17.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(- (* g g) (* h h))

series574.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
365.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
84.0ms
(sqrt (- (* g g) (* h h)))
79.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(- (* g g) (* h h))

simplify14.0s

Counts
102 → 85
Calls
102 calls:
Slowest
643.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
376.0ms
(- (* (* g g) (* g g)) (* (* h h) (* h h)))
359.0ms
(cbrt (+ (* g g) (- (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h)))) (* g (sqrt (- (* g g) (* h h)))))))
327.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
314.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.5s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 28.0b

localize56.0ms

Local error

Found 4 expressions with local error:

27.3b
(sqrt (- (* g g) (* h h)))
27.3b
(sqrt (- (* g g) (* h h)))
3.2b
(- (* g g) (* h h))
3.2b
(- (* g g) (* h h))

rewrite45.0ms

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

series263.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
87.0ms
(sqrt (- (* g g) (* h h)))
73.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(- (* g g) (* h h))
48.0ms
(- (* g g) (* h h))

simplify12.0s

Counts
102 → 86
Calls
102 calls:
Slowest
711.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
655.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
585.0ms
(/ (exp (* g g)) (exp (* h h)))
327.0ms
(+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h))))
318.0ms
(sqrt (+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h)))))

prune1.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 28.0b

localize77.0ms

Local error

Found 4 expressions with local error:

27.3b
(sqrt (- (* g g) (* h h)))
27.3b
(sqrt (- (* g g) (* h h)))
3.2b
(- (* g g) (* h h))
3.2b
(- (* 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
expm1-log1p-u flip3-- add-cbrt-cube sqrt-div add-exp-log insert-posit16 log1p-expm1-u flip-- difference-of-squares
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 74
Calls
4 calls:
Slowest
18.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(sqrt (- (* g g) (* h h)))
13.0ms
(- (* g g) (* h h))
8.0ms
(- (* g g) (* h h))

series230.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
65.0ms
(sqrt (- (* g g) (* h h)))
56.0ms
(- (* g g) (* h h))
55.0ms
(- (* g g) (* h h))
54.0ms
(sqrt (- (* g g) (* h h)))

simplify11.5s

Counts
102 → 86
Calls
102 calls:
Slowest
752.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
716.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
330.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
318.0ms
(+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h))))
308.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 28.0b

regimes607.0ms

Accuracy

46% (2.0b remaining)

Error of 31.4b against oracle of 29.3b and baseline of 33.1b

bsearch447.0ms

end0.0ms

sample7.6s

Algorithm
intervals
Results
2.8s3751×body320valid
2.2s8117×body80nan
2.1s4102×body160valid
60.0ms147×body80valid