Details

Time bar (total: 1.2m)

sample210.0ms

Algorithm
intervals
Results
96.0ms133×body320valid
46.0ms119×body160valid
42.0ms216×body80nan
1.0msbody80valid

simplify326.0ms

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

prune31.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 34.0b

localize54.0ms

Local error

Found 4 expressions with local error:

27.9b
(sqrt (- (* g g) (* h h)))
27.9b
(sqrt (- (* g g) (* h h)))
8.3b
(cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (* a 2)))
7.6b
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))

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

series950.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
460.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
354.0ms
(cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (* a 2)))
77.0ms
(sqrt (- (* g g) (* h h)))
59.0ms
(sqrt (- (* g g) (* h h)))

simplify17.2s

Counts
112 → 89
Calls
112 calls:
Slowest
414.0ms
(* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (+ (log (/ 1 g)) (log -1/2))) (* 2 (log (/ 1 h)))))))
379.0ms
(- (+ (* 1/18 (* (cbrt 1/2) (* (exp (* 1/3 (- (log (/ 1 (sqrt -1))) (+ (* 5 (log h)) (log a))))) (pow g 2)))) (* (cbrt 1/2) (exp (* 1/3 (- (+ (log (sqrt -1)) (log h)) (log a)))))) (* 1/3 (* (cbrt 1/2) (* g (exp (* 1/3 (- (log -1) (+ (* 2 (log h)) (log a)))))))))
349.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
307.0ms
(cbrt (+ (* g g) (- (* (sqrt (- (* g g) (* h h))) (sqrt (- (* g g) (* h h)))) (* g (sqrt (- (* g g) (* h h)))))))
306.0ms
(sqrt (+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h)))))

prune1.5s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 28.5b

localize75.0ms

Local error

Found 4 expressions with local error:

27.9b
(sqrt (- (* g g) (* h h)))
27.9b
(sqrt (- (* g g) (* h h)))
7.6b
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
5.0b
(- (* g g) (* h h))

rewrite46.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
15.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
11.0ms
(sqrt (- (* g g) (* h h)))
10.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(- (* g g) (* h h))

series582.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
415.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (- (* g g) (* h h))))))
65.0ms
(sqrt (- (* g g) (* h h)))
63.0ms
(sqrt (- (* g g) (* h h)))
40.0ms
(- (* g g) (* h h))

simplify14.1s

Counts
102 → 85
Calls
102 calls:
Slowest
665.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
489.0ms
(sqrt (sqrt (- (* g g) (* h h))))
339.0ms
(cbrt (* (/ -1/2 a) (+ (pow g 3) (pow (sqrt (- (* g g) (* h h))) 3))))
325.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
324.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))

prune1.6s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 28.1b

localize81.0ms

Local error

Found 4 expressions with local error:

27.9b
(sqrt (- (* g g) (* h h)))
27.9b
(sqrt (- (* g g) (* h h)))
5.0b
(- (* g g) (* h h))
5.0b
(- (* g g) (* h h))

rewrite59.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)))
17.0ms
(sqrt (- (* g g) (* h h)))
15.0ms
(- (* g g) (* h h))
8.0ms
(- (* g g) (* h h))

series211.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
66.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(- (* g g) (* h h))
40.0ms
(- (* g g) (* h h))

simplify11.1s

Counts
102 → 86
Calls
102 calls:
Slowest
752.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
539.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
348.0ms
(- (* (* g g) (* g g)) (* (* h h) (* h h)))
312.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
303.0ms
(+ (* (* g g) (* g g)) (+ (* (* h h) (* h h)) (* (* g g) (* h h))))

prune1.8s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 28.1b

localize82.0ms

Local error

Found 4 expressions with local error:

27.9b
(sqrt (- (* g g) (* h h)))
27.9b
(sqrt (- (* g g) (* h h)))
5.0b
(- (* g g) (* h h))
5.0b
(- (* g g) (* h h))

rewrite57.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
19.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(- (* g g) (* h h))
8.0ms
(- (* g g) (* h h))

series234.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
79.0ms
(sqrt (- (* g g) (* h h)))
71.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(- (* g g) (* h h))
37.0ms
(- (* g g) (* h h))

simplify11.7s

Counts
102 → 86
Calls
102 calls:
Slowest
670.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
576.0ms
(* (* (- (* g g) (* h h)) (- (* g g) (* h h))) (- (* g g) (* h h)))
546.0ms
(log1p (sqrt (- (* g g) (* h h))))
337.0ms
(sqrt (- (* (* g g) (* g g)) (* (* h h) (* h h))))
328.0ms
(- (* (* g g) (* g g)) (* (* h h) (* h h)))

prune1.6s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 28.1b

regimes761.0ms

Accuracy

54% (1.6b remaining)

Error of 31.4b against oracle of 29.8b and baseline of 33.3b

bsearch300.0ms

end0.0ms

sample7.9s

Algorithm
intervals
Results
2.7s3744×body320valid
2.7s8052×body80nan
2.0s4100×body160valid
31.0ms156×body80valid