Details

Time bar (total: 5.9s)

analyze427.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%68.6%18.9%6
18.7%62.4%18.9%7
18.7%59.3%22%8
28.1%39%32.9%9
32.8%34.3%32.9%10
32.8%32%35.3%11
38.2%20.7%41.1%12
41%17.9%41.1%13
41%16.6%42.5%14

sample97.0ms

Algorithm
intervals
Results
31.0ms124×body320valid
20.0ms129×body160valid
0.0msbody80valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0488136
1488136

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.7b

Counts
2 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

9.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
10.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
31.5b
(sqrt (- (* g g) (* h h)))
31.5b
(sqrt (- (* g g) (* h h)))

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

series139.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
053601068

prune256.0ms

Filtered
65 candidates to 72 candidates (-10.8%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New551772
Fresh101
Picked101
Done000
Total571774

Merged error: 33.0b

Counts
74 → 17

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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))))
13.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)))

series85.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05423893

prune235.0ms

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

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New66773
Fresh51116
Picked101
Done000
Total721890

Merged error: 32.0b

Counts
90 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

9.2b
(+ (neg g) (sqrt (- (* g g) (* h h))))
10.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
31.5b
(sqrt (- (* g g) (* h h)))
31.5b
(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:
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)))

series85.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05423893

prune221.0ms

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

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh21517
Picked101
Done000
Total721991

Merged error: 32.0b

Counts
91 → 19

localize31.0ms

Local error

Found 4 expressions with local error:

31.5b
(sqrt (- (* g g) (* h h)))
31.5b
(sqrt (- (* g g) (* h h)))
31.5b
(sqrt (- (* g g) (* h h)))
31.5b
(sqrt (- (* g g) (* h h)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp difference-of-squares
Counts
4 → 64
Calls
4 calls:
5.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series26.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04827700
14827700

prune150.0ms

Filtered
64 candidates to 76 candidates (-18.8%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New75176
Fresh11718
Picked011
Done000
Total761995

Merged error: 32.0b

Counts
95 → 19

regimes848.0ms

Accuracy

64.7% (1.2b remaining)

Error of 31.8b against oracle of 30.6b and baseline of 34.0b

bsearch108.0ms

Steps
ItersRangePoint
10
-4.50162297351933e-199
-3.348195611444925e-215
-4.392140817029095e-199

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
012171
112171

end0.0ms

sample2.7s

Algorithm
intervals
Results
894.0ms3802×body320valid
629.0ms4056×body160valid
11.0ms142×body80valid

Profiling

Loading profile data...