Details

Time bar (total: 33.1s)

sample129.0ms

Algorithm
intervals
Results
35.0ms268×body80nan
33.0ms113×body320valid
28.0ms137×body160valid
1.0msbody80valid

simplify11.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
01937
14437
212536
331436
463336
5102336
6132536
7162836
8298836
done500136

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.7b

localize37.0ms

Local error

Found 4 expressions with local error:

7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite176.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
453.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
435.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
67.0ms
(sqrt (- (* g g) (* h h)))
70.0ms
(sqrt (- (* g g) (* h h)))

simplify1.6s

Counts
80 → 80
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01831500
14031315
213631211
done50001166

prune612.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 29.8b

localize27.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
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))
69.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)))

series602.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* g g) (* h h))
430.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
52.0ms
(sqrt (- (* g g) (* h h)))
79.0ms
(sqrt (- (* g g) (* h h)))

simplify3.0s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
01441220
13111079
21051975
34408952
done5000952

prune710.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 29.3b

localize51.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
9.0ms
(- (* g g) (* h h))
58.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(sqrt (- (* g g) (* h h)))
24.0ms
(sqrt (- (* g g) (* h h)))

series700.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* g g) (* h h))
512.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
64.0ms
(sqrt (- (* g g) (* h h)))
69.0ms
(sqrt (- (* g g) (* h h)))

simplify2.9s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01441220
13111079
21051975
34408952
done5000952

prune682.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 29.2b

localize36.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
3.0b
(- (* g g) (* h h))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite61.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))
17.0ms
(- (* g g) (* h h))
12.0ms
(sqrt (- (* g g) (* h h)))
22.0ms
(sqrt (- (* g g) (* h h)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* g g) (* h h))
43.0ms
(- (* g g) (* h h))
66.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (- (* g g) (* h h)))

simplify1.4s

Counts
82 → 82
Iterations

Useful iterations: done (1.4s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune609.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 29.2b

regimes826.0ms

Accuracy

0% (1.7b remaining)

Error of 32.3b against oracle of 30.6b and baseline of 32.3b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02138
12538
done2538

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.3s3770×body320valid
1.3s4087×body160valid
1.2s7820×body80nan
16.0ms143×body80valid