Details

Time bar (total: 6.1s)

sample67.0ms

Algorithm
intervals
Results
20.0ms119×body320valid
15.0ms132×body160valid
14.0ms255×body80nan
0.0msbody80valid

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.8b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
11.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.4b
(sqrt (- (* g g) (* h h)))
29.4b
(sqrt (- (* g g) (* h h)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
34×cbrt-div
20×frac-times
16×*-commutative
12×associate-/r*
10×associate-*l/
flip3-- sqrt-prod flip-- difference-of-squares
cbrt-prod frac-2neg flip3-+ clear-num flip-+
sqrt-div associate-*r/
pow1/2 pow1/3 associate-*l* div-inv
Counts
4 → 56
Calls
4 calls:
9.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
9.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

series730.0ms

Counts
4 → 12
Calls
4 calls:
321.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
312.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
50.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify65.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
06061032
126781032
250011032

prune404.0ms

Filtered
68 candidates to 62 candidates (91.2%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New521668
Fresh000
Picked101
Done000
Total531669

Merged error: 31.8b

Counts
69 → 16

localize23.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (* g g) (* h h))
8.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.4b
(sqrt (- (* g g) (* h h)))
29.4b
(sqrt (- (* g g) (* h h)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×cbrt-div
16×*-commutative
12×difference-of-squares
10×frac-times
sqrt-prod
flip3-+ associate-/r* flip-+
associate-*l/
sqrt-div
cbrt-prod flip3-- frac-2neg clear-num flip--
pow1/2 associate-*r/
sub-neg pow1/3 associate-*l* div-inv
Counts
4 → 43
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
9.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series455.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0440610
12012606
25002606

prune325.0ms

Filtered
55 candidates to 42 candidates (76.4%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New451055
Fresh7815
Picked101
Done000
Total531871

Merged error: 30.7b

Counts
71 → 18

localize19.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (* g g) (* h h))
2.4b
(- (* g g) (* h h))
29.4b
(sqrt (- (* g g) (* h h)))
29.4b
(sqrt (- (* g g) (* h h)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×*-commutative difference-of-squares
sqrt-prod
flip3-- sqrt-div flip--
sub-neg pow1/2
Counts
4 → 30
Calls
4 calls:
8.0ms
(- (* g g) (* h h))
5.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
32.0ms
(- (* g g) (* h h))
52.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify80.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083188
1274180
2673180
32286180
45001180

prune228.0ms

Filtered
42 candidates to 24 candidates (57.1%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh11617
Picked011
Done000
Total411960

Merged error: 30.6b

Counts
60 → 19

localize22.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (* g g) (* h h))
2.4b
(- (* g g) (* h h))
29.4b
(sqrt (- (* g g) (* h h)))
29.4b
(sqrt (- (* g g) (* h h)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×*-commutative difference-of-squares
sqrt-prod
flip3-- sqrt-div flip--
sub-neg pow1/2
Counts
4 → 30
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
4.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series160.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083188
1274180
2673180
32286180
45001180

prune156.0ms

Filtered
42 candidates to 24 candidates (57.1%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh31417
Picked101
Done011
Total441761

Merged error: 30.6b

Counts
61 → 17

regimes625.0ms

Accuracy

61.6% (0.5b remaining)

Error of 31.3b against oracle of 30.8b and baseline of 32.0b

bsearch312.0ms

Steps
ItersRangePoint
10
7.424835646178562e-156
3.9734604320333723e-140
5.531706596038948e-148
11
-1.006330366555798e-157
-1.5871482242209944e-186
-3.503330331902463e-160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04341
14341

end0.0ms

sample1.9s

Algorithm
intervals
Results
618.0ms3794×body320valid
452.0ms4048×body160valid
436.0ms8099×body80nan
9.0ms158×body80valid