Details

Time bar (total: 32.2s)

sample122.0ms

Algorithm
intervals
Results
47.0ms306×body80nan
31.0ms131×body320valid
18.0ms122×body160valid
0.0msbody80valid

simplify13.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
01937
14437
212536
331436
463336
5102336
6132536
7162836
8298836
done500136

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize25.0ms

Local error

Found 4 expressions with local error:

6.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
9.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite520.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- log1p-expm1-u add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 68
Calls
4 calls:
35.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
43.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
421.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
459.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
465.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
88.0ms
(sqrt (- (* g g) (* h h)))
58.0ms
(sqrt (- (* g g) (* h h)))

simplify1.2s

Counts
80 → 80
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01721528
14021345
213581225
done50011180

prune700.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 34.6b

localize57.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
6.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube 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 → 69
Calls
4 calls:
22.0ms
(- (* g g) (* h h))
68.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
22.0ms
(sqrt (- (* g g) (* h h)))
23.0ms
(sqrt (- (* g g) (* h h)))

series744.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* g g) (* h h))
530.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
77.0ms
(sqrt (- (* g g) (* h h)))
82.0ms
(sqrt (- (* g g) (* h h)))

simplify3.4s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
01461220
13341078
21124960
34776938
done5000938

prune741.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.0b

localize61.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
4.4b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite52.0ms

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

series233.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* g g) (* h h))
51.0ms
(- (* g g) (* h h))
71.0ms
(sqrt (- (* g g) (* h h)))
67.0ms
(sqrt (- (* g g) (* h h)))

simplify1.3s

Counts
82 → 82
Iterations

Useful iterations: done (1.3s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune621.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 34.0b

localize31.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
4.4b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite74.0ms

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

series260.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (* g g) (* h h))
52.0ms
(- (* g g) (* h h))
82.0ms
(sqrt (- (* g g) (* h h)))
71.0ms
(sqrt (- (* g g) (* h h)))

simplify1.1s

Counts
82 → 82
Iterations

Useful iterations: done (1.1s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune436.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

regimes831.0ms

Accuracy

67.3% (1.2b remaining)

Error of 31.9b against oracle of 30.8b and baseline of 34.3b

bsearch319.0ms

Steps
ItersRangePoint
12
-8.46579077171639e-185
-2.054593841555946e-229
-8.359356862874829e-185

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03484
14284
done4284

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.8s3717×body320valid
1.3s4133×body160valid
1.0s8068×body80nan
15.0ms150×body80valid