Details

Time bar (total: 5.9s)

analyze432.0ms

Algorithm
search

sample68.0ms

Algorithm
intervals
Results
28.0ms115×body320valid
24.0ms137×body160valid
4.0ms50×body80nan
0.0msbody80valid

simplify113.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500121

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.3b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

8.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
8.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
28.6b
(sqrt (- (* g g) (* h h)))
28.6b
(sqrt (- (* g g) (* h h)))

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

series141.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0386766
11391724
25002718

prune263.0ms

Filtered
64 candidates to 72 candidates (-12.5%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New531972
Fresh000
Picked101
Done000
Total541973

Merged error: 30.9b

Counts
73 → 19

localize20.0ms

Local error

Found 4 expressions with local error:

2.0b
(+ (neg g) (sqrt (- (* g g) (* h h))))
8.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
28.6b
(sqrt (- (* g g) (* h h)))
28.6b
(sqrt (- (* g g) (* h h)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt
cbrt-div
add-exp-log sqrt-div add-cbrt-cube
flip3-+ flip-+
frac-times rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-*r/ sum-log flip-- distribute-lft-out difference-of-squares
+-commutative cbrt-prod neg-sub0 associate-+l- distribute-rgt-neg-in pow1/3 neg-log associate-*l/
Counts
4 → 61
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series86.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify37.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0331623
11178584
25001574

prune258.0ms

Filtered
64 candidates to 73 candidates (-14.1%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New64973
Fresh41418
Picked101
Done000
Total692392

Merged error: 29.8b

Counts
92 → 23

localize19.0ms

Local error

Found 4 expressions with local error:

1.8b
(- (* g g) (* h h))
2.0b
(+ (neg g) (sqrt (- (* g g) (* h h))))
28.6b
(sqrt (- (* g g) (* h h)))
28.6b
(sqrt (- (* g g) (* h h)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log flip-+
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series27.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify112.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0196426
1839397
23625387
35001386

prune248.0ms

Filtered
58 candidates to 72 candidates (-24.1%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh31922
Picked101
Done000
Total722395

Merged error: 29.8b

Counts
95 → 23

localize23.0ms

Local error

Found 4 expressions with local error:

2.0b
(+ (neg g) (sqrt (- (* g g) (* h h))))
3.0b
(exp (log (+ (neg g) (sqrt (- (* g g) (* h h))))))
28.6b
(sqrt (- (* g g) (* h h)))
28.6b
(sqrt (- (* g g) (* h h)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt sqrt-prod add-log-exp
pow1
log-prod exp-sum
add-exp-log exp-prod sqrt-div add-cbrt-cube distribute-lft-out
rem-sqrt-square log-div flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 exp-diff sum-log flip-- flip-+ difference-of-squares
+-commutative neg-sub0 associate-+l- neg-log log-pow rem-exp-log
Counts
4 → 66
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
9.0ms
(exp (log (+ (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
8.0ms
(exp (log (+ (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

simplify71.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0209530
1695493
22451466
35003454

prune152.0ms

Filtered
63 candidates to 78 candidates (-23.8%)
Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh02222
Picked011
Done000
Total7724101

Merged error: 29.7b

Counts
101 → 24

regimes994.0ms

Accuracy

56.7% (1.3b remaining)

Error of 32.0b against oracle of 30.7b and baseline of 33.6b

bsearch306.0ms

Steps
ItersRangePoint
9
-5.028002377220663e-156
-1.6187242891905996e-164
-1.5496967584585937e-162

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04155
14155

end0.0ms

analyze431.0ms

Algorithm
search

sample1.9s

Algorithm
intervals
Results
912.0ms3705×body320valid
682.0ms4124×body160valid
105.0ms1285×body80nan
14.0ms171×body80valid

Profiling

Loading profile data...