Details

Time bar (total: 6.3s)

sample69.0ms

Algorithm
intervals
Results
22.0ms130×body320valid
15.0ms266×body80nan
14.0ms122×body160valid
0.0msbody80valid

simplify128.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
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: 39.3b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

9.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
10.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.8b
(sqrt (- (* g g) (* h h)))
32.8b
(sqrt (- (* g g) (* h h)))

rewrite31.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))))))
5.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series723.0ms

Counts
4 → 12
Calls
4 calls:
307.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
321.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
44.0ms
(sqrt (- (* g g) (* h h)))
51.0ms
(sqrt (- (* g g) (* h h)))

simplify70.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
06171026
127871026
250011026

prune427.0ms

Filtered
68 candidates to 62 candidates (91.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New501868
Fresh000
Picked101
Done000
Total511869

Merged error: 34.5b

Counts
69 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
9.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.8b
(sqrt (- (* g g) (* h h)))
32.8b
(sqrt (- (* g g) (* h h)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
21×*-commutative
17×cbrt-div
12×difference-of-squares
10×frac-times
flip3-- flip--
sqrt-prod
associate-/r*
associate-*l/
sqrt-div prod-diff
cbrt-prod frac-2neg clear-num
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)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
309.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify48.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0405630
11808627
25001624

prune344.0ms

Filtered
61 candidates to 44 candidates (72.1%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New52961
Fresh10717
Picked101
Done000
Total631679

Merged error: 33.9b

Counts
79 → 16

localize22.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
3.2b
(- (* g g) (* h h))
32.8b
(sqrt (- (* g g) (* h h)))
32.8b
(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)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
36.0ms
(- (* g g) (* h h))
45.0ms
(sqrt (- (* g g) (* h h)))
52.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

prune258.0ms

Filtered
54 candidates to 28 candidates (51.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New52254
Fresh11415
Picked101
Done000
Total541670

Merged error: 33.9b

Counts
70 → 16

localize28.0ms

Local error

Found 4 expressions with local error:

3.2b
(- (* g g) (* h h))
3.2b
(- (* g g) (* h h))
32.8b
(sqrt (- (* g g) (* h h)))
32.8b
(sqrt (- (* g g) (* h h)))

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

series162.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
51.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))

simplify93.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
092234
1321228
2816222
32639196
45002196

prune363.0ms

Filtered
54 candidates to 28 candidates (51.9%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New54054
Fresh01515
Picked011
Done000
Total541670

Merged error: 33.9b

Counts
70 → 16

regimes597.0ms

Accuracy

53.4% (0.6b remaining)

Error of 31.9b against oracle of 31.3b and baseline of 32.6b

bsearch182.0ms

Steps
ItersRangePoint
12
9.882066756411172e-177
1.6329938810163285e-136
5.803774567702152e-156

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05243
15743
26143
36443
46443

end0.0ms

sample1.9s

Algorithm
intervals
Results
627.0ms3791×body320valid
456.0ms4069×body160valid
441.0ms8105×body80nan
8.0ms140×body80valid