Details

Time bar (total: 33.4s)

sample184.0ms

Algorithm
intervals
Results
74.0ms131×body320valid
34.0ms306×body80nan
34.0ms122×body160valid
1.0msbody80valid

simplify13.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
01937
14437
212536
331436
463336
5102336
6132536
7162836
8298836
done500136

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize22.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)))

rewrite122.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:
39.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
44.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
25.0ms
(sqrt (- (* g g) (* h h)))
12.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
492.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
478.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
64.0ms
(sqrt (- (* g g) (* h h)))
72.0ms
(sqrt (- (* g g) (* h h)))

simplify1.7s

Counts
80 → 80
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01721528
14021345
213581225
done50011180

prune773.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 34.6b

localize38.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)))

rewrite113.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:
18.0ms
(- (* g g) (* h h))
67.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
12.0ms
(sqrt (- (* g g) (* h h)))
13.0ms
(sqrt (- (* g g) (* h h)))

series663.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (* g g) (* h h))
456.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
89.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (- (* g g) (* h h)))

simplify3.3s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
01461220
13341078
21124960
34776938
done5000938

prune822.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.0b

localize62.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)))

rewrite56.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:
17.0ms
(- (* g g) (* h h))
9.0ms
(- (* g g) (* h h))
11.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(sqrt (- (* g g) (* h h)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (* g g) (* h h))
60.0ms
(- (* g g) (* h h))
66.0ms
(sqrt (- (* g g) (* h h)))
68.0ms
(sqrt (- (* g g) (* h h)))

simplify1.7s

Counts
82 → 82
Iterations

Useful iterations: done (1.6s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune679.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 34.0b

localize24.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)))

rewrite49.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:
9.0ms
(- (* g g) (* h h))
9.0ms
(- (* g g) (* h h))
18.0ms
(sqrt (- (* g g) (* h h)))
12.0ms
(sqrt (- (* g g) (* h h)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
33.0ms
(- (* g g) (* h h))
48.0ms
(sqrt (- (* g g) (* h h)))
51.0ms
(sqrt (- (* g g) (* h h)))

simplify1.1s

Counts
82 → 82
Iterations

Useful iterations: done (1.1s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune522.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

regimes975.0ms

Accuracy

67.3% (1.2b remaining)

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

bsearch392.0ms

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

simplify7.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03484
14284
done4284

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.4s3717×body320valid
1.1s8068×body80nan
1.0s4133×body160valid
16.0ms150×body80valid