Details

Time bar (total: 32.4s)

sample208.0ms

Algorithm
intervals
Results
61.0ms306×body80nan
60.0ms131×body320valid
37.0ms122×body160valid
0.0msbody80valid

simplify11.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
01937
14337
212236
329736
458336
589136
6107936
7130036
8249136
done500036

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

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

rewrite161.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:
78.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
42.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
18.0ms
(sqrt (- (* g g) (* h h)))
20.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
463.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
453.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
62.0ms
(sqrt (- (* g g) (* h h)))
86.0ms
(sqrt (- (* g g) (* h h)))

simplify1.1s

Counts
72 → 72
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01771390
13851217
212811121
done50001072

prune642.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 34.6b

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

rewrite111.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))
82.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
10.0ms
(sqrt (- (* g g) (* h h)))
10.0ms
(sqrt (- (* g g) (* h h)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* g g) (* h h))
506.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
82.0ms
(sqrt (- (* g g) (* h h)))
85.0ms
(sqrt (- (* g g) (* h h)))

simplify1.9s

Counts
71 → 71
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01351086
1286956
2846870
33101859
done5000836

prune800.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 34.0b

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

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

series282.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* g g) (* h h))
38.0ms
(- (* g g) (* h h))
91.0ms
(sqrt (- (* g g) (* h h)))
97.0ms
(sqrt (- (* g g) (* h h)))

simplify3.6s

Counts
70 → 70
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
055808
1120744
2301640
3975640
44860640
done5000640

prune510.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

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

rewrite63.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:
13.0ms
(- (* g g) (* h h))
13.0ms
(- (* g g) (* h h))
14.0ms
(sqrt (- (* g g) (* h h)))
20.0ms
(sqrt (- (* g g) (* h h)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* g g) (* h h))
44.0ms
(- (* g g) (* h h))
64.0ms
(sqrt (- (* g g) (* h h)))
70.0ms
(sqrt (- (* g g) (* h h)))

simplify2.9s

Counts
70 → 70
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
055808
1120744
2301640
3975640
44860640
done5000640

prune391.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 34.0b

regimes958.0ms

Accuracy

66.8% (1.2b remaining)

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

bsearch358.0ms

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

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03483
14183
done4183

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.4s3717×body320valid
1.3s8068×body80nan
1.2s4133×body160valid
345.0ms150×body80valid