Details

Time bar (total: 7.2s)

sample75.0ms

Algorithm
intervals
Results
22.0ms123×body320valid
14.0ms291×body80nan
13.0ms127×body160valid
0.0msbody80valid

simplify118.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221
done500221

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.3b

localize17.0ms

Local error

Found 4 expressions with local error:

6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite83.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:
30.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
34.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series714.0ms

Counts
4 → 12
Calls
4 calls:
317.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
304.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
45.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify43.0ms

Counts
72 → 72
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0385766
11380724
25001718
done5001718

prune416.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.6b

localize20.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* g g) (* h h))
6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite59.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:
8.0ms
(- (* g g) (* h h))
32.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
315.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify38.0ms

Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0319569
11259537
25001533
done5001533

prune445.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.0b

localize19.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* g g) (* h h))
6.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite61.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:
8.0ms
(- (* g g) (* h h))
31.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
12.0ms
(sqrt (- (* g g) (* h h)))

series453.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
326.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
46.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify37.0ms

Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0319569
11259537
25001533
done5001533

prune430.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.0b

localize26.0ms

Local error

Found 4 expressions with local error:

32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp difference-of-squares
Counts
4 → 64
Calls
4 calls:
8.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(sqrt (- (* g g) (* h h)))
11.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series191.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))

simplify53.0ms

Counts
76 → 76
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
096424
1234412
2572412
31471412
45002412
done5002412

prune478.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 32.9b

regimes848.0ms

Accuracy

83.6% (0.6b remaining)

Error of 32.1b against oracle of 31.5b and baseline of 35.4b

bsearch124.0ms

Steps
ItersRangePoint
8
-8.976264522949468e-179
-1.4293628387956914e-182
-8.824957770492126e-179

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04365
14365
done4365

end0.0ms

sample1.9s

Algorithm
intervals
Results
599.0ms3790×body320valid
429.0ms4058×body160valid
388.0ms7987×body80nan
9.0ms152×body80valid