Details

Time bar (total: 6.3s)

sample70.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
8500221

prune3.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

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

rewrite34.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))))))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
5.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (- (* g g) (* h h)))

series725.0ms

Counts
4 → 12
Calls
4 calls:
317.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
310.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))

simplify66.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
06171026
127871026
250021026

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

rewrite26.0ms

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

series618.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0451630
12105627
25003624

prune319.0ms

Filtered
61 candidates to 44 candidates (72.1%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New501161
Fresh8715
Picked101
Done000
Total591877

Merged error: 30.7b

Counts
77 → 18

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

rewrite21.0ms

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

series154.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
47.0ms
(sqrt (- (* g g) (* h h)))
43.0ms
(sqrt (- (* g g) (* h h)))

simplify88.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
092234
1321228
2816222
32639196
45002196

prune233.0ms

Filtered
54 candidates to 28 candidates (51.9%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New52254
Fresh11617
Picked011
Done000
Total531972

Merged error: 30.6b

Counts
72 → 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)))

rewrite21.0ms

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

series157.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
35.0ms
(- (* g g) (* h h))
43.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify84.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
092234
1321228
2816222
32639196
45002196

prune177.0ms

Filtered
54 candidates to 28 candidates (51.9%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New52254
Fresh31417
Picked101
Done011
Total561773

Merged error: 30.6b

Counts
73 → 17

regimes604.0ms

Accuracy

61.6% (0.5b remaining)

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

bsearch293.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04341
14341

end0.0ms

sample1.9s

Algorithm
intervals
Results
642.0ms3794×body320valid
463.0ms4048×body160valid
450.0ms8099×body80nan
9.0ms158×body80valid