Details

Time bar (total: 6.1s)

sample277.0ms

Algorithm
intervals
Results
30.0ms127×body320valid
20.0ms127×body160valid
19.0ms246×body80nan
0.0msbody80valid

simplify116.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: 37.4b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

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

series144.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
65.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)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0386766
11391724
25002718

prune245.0ms

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

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New561672
Fresh000
Picked101
Done000
Total571673

Merged error: 30.7b

Counts
73 → 16

localize23.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (neg g) (sqrt (- (* g g) (* h h))))
9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite28.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 flip3-- sqrt-div add-cbrt-cube flip--
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ sum-log distribute-lft-out difference-of-squares
+-commutative cbrt-prod neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ pow1/3 neg-log associate-*l/ flip-+
Counts
4 → 61
Calls
4 calls:
8.0ms
(+ (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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
68.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)))

simplify121.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0318623
11140584
24911575
35001575

prune241.0ms

Filtered
63 candidates to 73 candidates (-15.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New68573
Fresh21315
Picked101
Done000
Total711889

Merged error: 29.8b

Counts
89 → 18

localize21.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (neg g) (sqrt (- (* g g) (* h h))))
9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite28.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 flip3-- sqrt-div add-cbrt-cube flip--
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ sum-log distribute-lft-out difference-of-squares
+-commutative cbrt-prod neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ pow1/3 neg-log associate-*l/ flip-+
Counts
4 → 61
Calls
4 calls:
8.0ms
(+ (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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series89.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
67.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)))

simplify121.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0318623
11140584
24911575
35001575

prune222.0ms

Filtered
63 candidates to 73 candidates (-15.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New72173
Fresh01717
Picked101
Done000
Total731891

Merged error: 29.8b

Counts
91 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (neg g) (sqrt (- (* g g) (* h h))))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite30.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:
10.0ms
(+ (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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (neg g) (sqrt (- (* g g) (* h h))))
61.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)))

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0331623
11178584
25001574

prune143.0ms

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

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh11617
Picked101
Done000
Total712091

Merged error: 29.7b

Counts
91 → 20

regimes1.1s

Accuracy

81.2% (0.6b remaining)

Error of 32.2b against oracle of 31.6b and baseline of 35.0b

bsearch127.0ms

Steps
ItersRangePoint
11
7.349802595259254e-163
6.5012542114282495e-139
1.335027141129708e-161

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04342
14542
24542

end0.0ms

sample2.8s

Algorithm
intervals
Results
882.0ms3681×body320valid
657.0ms4177×body160valid
647.0ms8152×body80nan
11.0ms142×body80valid

Profiling

Loading profile data...