Details

Time bar (total: 32.0s)

sample145.0ms

Algorithm
intervals
Results
44.0ms131×body320valid
44.0ms306×body80nan
27.0ms122×body160valid
0.0msbody80valid

simplify10.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
01937
14337
212236
329736
458336
589136
6107936
7130036
8249136
done500036

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize37.0ms

Local error

Found 4 expressions with local error:

6.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
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)))

rewrite134.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:
58.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
46.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(sqrt (- (* g g) (* h h)))
10.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
491.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
458.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
57.0ms
(sqrt (- (* g g) (* h h)))
55.0ms
(sqrt (- (* g g) (* h h)))

simplify979.0ms

Counts
72 → 72
Iterations

Useful iterations: done (976.0ms)

IterNodesCost
01771390
13851217
212811121
done50001072

prune714.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 34.6b

localize49.0ms

Local error

Found 4 expressions with local error:

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

rewrite116.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:
8.0ms
(- (* g g) (* h h))
70.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
18.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series710.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* g g) (* h h))
511.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
70.0ms
(sqrt (- (* g g) (* h h)))
72.0ms
(sqrt (- (* g g) (* h h)))

simplify2.1s

Counts
71 → 71
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01351086
1286956
2846870
33101859
done5000836

prune622.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 34.0b

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

rewrite48.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:
9.0ms
(- (* g g) (* h h))
9.0ms
(- (* g g) (* h h))
10.0ms
(sqrt (- (* g g) (* h h)))
17.0ms
(sqrt (- (* g g) (* h h)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* g g) (* h h))
36.0ms
(- (* g g) (* h h))
83.0ms
(sqrt (- (* g g) (* h h)))
96.0ms
(sqrt (- (* g g) (* h h)))

simplify3.8s

Counts
70 → 70
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
055808
1120744
2301640
3975640
44860640
done5000640

prune600.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

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

rewrite60.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:
10.0ms
(- (* g g) (* h h))
8.0ms
(- (* g g) (* h h))
19.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* g g) (* h h))
47.0ms
(- (* g g) (* h h))
88.0ms
(sqrt (- (* g g) (* h h)))
68.0ms
(sqrt (- (* g g) (* h h)))

simplify3.1s

Counts
70 → 70
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
055808
1120744
2301640
3975640
44860640
done5000640

prune422.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

regimes850.0ms

Accuracy

66.8% (1.2b remaining)

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

bsearch337.0ms

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

simplify8.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03483
14183
done4183

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.9s4133×body160valid
1.5s3717×body320valid
949.0ms8068×body80nan
15.0ms150×body80valid