Details

Time bar (total: 11.3s)

sample66.0ms

Algorithm
intervals
Results
22.0ms117×body320valid
15.0ms136×body160valid
12.0ms246×body80nan
0.0msbody80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
01937
14337
211936
328436
452936
577236
694436
7114436
8247236
done500136

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.5b

localize21.0ms

Local error

Found 4 expressions with local error:

6.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
31.1b
(sqrt (- (* g g) (* h h)))
31.1b
(sqrt (- (* g g) (* h h)))

rewrite44.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 frac-times sqrt-div associate-*r/ add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 associate-*l/ difference-of-squares
Counts
4 → 60
Calls
4 calls:
16.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series709.0ms

Counts
4 → 12
Calls
4 calls:
303.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
314.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
43.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify480.0ms

Counts
72 → 72
Iterations

Useful iterations: done (478.0ms)

IterNodesCost
01771390
13921217
213641121
done50001088

prune399.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 32.4b

localize25.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* g g) (* h h))
8.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
31.1b
(sqrt (- (* g g) (* h h)))
31.1b
(sqrt (- (* g g) (* h h)))

rewrite30.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 sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series439.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
311.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
48.0ms
(sqrt (- (* g g) (* h h)))
44.0ms
(sqrt (- (* g g) (* h h)))

simplify1.5s

Counts
71 → 71
Iterations

Useful iterations: 3 (364.0ms)

IterNodesCost
01351086
1290956
2987870
33894859
done5000859

prune408.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 31.9b

localize20.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* g g) (* h h))
1.4b
(- (* g g) (* h h))
31.1b
(sqrt (- (* g g) (* h h)))
31.1b
(sqrt (- (* g g) (* h h)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
2.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
44.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify942.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
055808
1122744
2423640
31665640
done5001640

prune396.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.9b

localize22.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* g g) (* h h))
1.4b
(- (* g g) (* h h))
31.1b
(sqrt (- (* g g) (* h h)))
31.1b
(sqrt (- (* g g) (* h h)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
34.0ms
(- (* g g) (* h h))
43.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify939.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
055808
1122744
2423640
31665640
done5001640

prune336.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.9b

regimes591.0ms

Accuracy

65.6% (1.2b remaining)

Error of 31.6b against oracle of 30.3b and baseline of 33.9b

bsearch137.0ms

Steps
ItersRangePoint
9
-1.4950050582891928e-169
-1.4248292396361266e-175
-1.2934885954313043e-169

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03266
13966
done3966

end0.0ms

sample1.8s

Algorithm
intervals
Results
594.0ms3698×body320valid
453.0ms4149×body160valid
400.0ms7929×body80nan
12.0ms153×body80valid