Details

Time bar (total: 23.4s)

sample165.0ms

Algorithm
intervals
Results
69.0ms119×body320valid
29.0ms133×body160valid
27.0ms276×body80nan
0.0msbody80valid

simplify5.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01937
14337
212236
329836
459036
595936
6129436
7178936
8419236
done500136

prune25.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.2b

localize34.0ms

Local error

Found 4 expressions with local error:

7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
26.8b
(sqrt (- (* g g) (* h h)))
26.8b
(sqrt (- (* g g) (* h h)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
52.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
13.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series1.0s

Counts
4 → 12
Calls
4 calls:
409.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
479.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
80.0ms
(sqrt (- (* g g) (* h h)))
73.0ms
(sqrt (- (* g g) (* h h)))

simplify877.0ms

Counts
72 → 72
Iterations

Useful iterations: done (873.0ms)

IterNodesCost
01661416
13951249
213981135
done50011090

prune776.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 28.2b

localize24.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
26.8b
(sqrt (- (* g g) (* h h)))
26.8b
(sqrt (- (* g g) (* h h)))

rewrite115.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:
15.0ms
(- (* g g) (* h h))
75.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
13.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series745.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* g g) (* h h))
529.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
84.0ms
(sqrt (- (* g g) (* h h)))
90.0ms
(sqrt (- (* g g) (* h h)))

simplify1.0s

Counts
71 → 71
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01351112
1321991
21515887
done5000869

prune660.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 26.8b

localize25.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
26.8b
(sqrt (- (* g g) (* h h)))
26.8b
(sqrt (- (* g g) (* h h)))

rewrite96.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:
13.0ms
(- (* g g) (* h h))
56.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
15.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series662.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* g g) (* h h))
438.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
79.0ms
(sqrt (- (* g g) (* h h)))
89.0ms
(sqrt (- (* g g) (* h h)))

simplify1.1s

Counts
71 → 71
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01351112
1321991
21515887
done5000869

prune696.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 26.8b

localize57.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
26.8b
(sqrt (- (* g g) (* h h)))
26.8b
(sqrt (- (* g g) (* h h)))

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

series692.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* g g) (* h h))
512.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
62.0ms
(sqrt (- (* g g) (* h h)))
73.0ms
(sqrt (- (* g g) (* h h)))

simplify1.4s

Counts
71 → 71
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01371112
1343990
21591876
done5000857

prune586.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 26.8b

regimes1.0s

Accuracy

70.8% (1.1b remaining)

Error of 30.9b against oracle of 29.8b and baseline of 33.6b

bsearch336.0ms

Steps
ItersRangePoint
11
-4.1358965839418397e-138
-7.460458216569464e-159
-8.762222041795177e-159

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
035113
144113
done44113

end0.0ms

sample5.9s

Algorithm
intervals
Results
2.2s3795×body320valid
1.6s4054×body160valid
1.1s8155×body80nan
60.0ms151×body80valid