Details

Time bar (total: 3.2s)

sample68.0ms

Algorithm
intervals
Results
11.0ms212×body80valid
7.0ms20×body2560valid
7.0ms14×body640valid
5.0ms23×body1280valid
4.0ms87×body80nan
1.0msbody320valid
0.0msbody5120valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.7b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
22.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0394773
11501683
25002673

prune156.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 7.2b

Counts
83 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (* b b) (* 4.0 (* a c)))
22.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
22.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
9.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify74.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0144474
1524446
22276444
35002442

prune144.0ms

Filtered
66 candidates to 50 candidates (24.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh077
Picked011
Done011
Total66975

Merged error: 7.2b

Counts
75 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
8.1b
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
23.4b
(cbrt (- (* b b) (* 4.0 (* a c))))
23.4b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div add-cbrt-cube
flip3-- flip--
pow1/3 sum-log
+-commutative neg-sub0 associate-+l- sub-neg flip3-+ diff-log neg-log flip-+
Counts
4 → 51
Calls
4 calls:
3.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series89.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
31.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
26.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify41.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0349804
11302725
25001702

prune172.0ms

Filtered
63 candidates to 56 candidates (11.1%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New62163
Fresh156
Picked011
Done022
Total63972

Merged error: 7.2b

Counts
72 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
16.1b
(+ (neg b) (* (fabs (pow (- (* b b) (* 4.0 (* a c))) 1/3)) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
23.4b
(cbrt (- (* b b) (* 4.0 (* a c))))
26.1b
(pow (- (* b b) (* 4.0 (* a c))) 1/3)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log
add-cbrt-cube
cbrt-prod unpow-prod-down pow-unpow
cbrt-div flip3-- sum-log flip--
+-commutative neg-sub0 pow-to-exp associate-+l- sub-neg pow-pow flip3-+ unpow1/3 pow1/3 diff-log neg-log pow-exp flip-+ sqr-pow
Counts
4 → 56
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(+ (neg b) (* (fabs (pow (- (* b b) (* 4.0 (* a c))) 1/3)) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(pow (- (* b b) (* 4.0 (* a c))) 1/3)

series88.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
31.0ms
(+ (neg b) (* (fabs (pow (- (* b b) (* 4.0 (* a c))) 1/3)) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
24.0ms
(pow (- (* b b) (* 4.0 (* a c))) 1/3)

simplify45.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0398787
11524700
25001677

prune150.0ms

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New67168
Fresh055
Picked101
Done033
Total68977

Merged error: 7.2b

Counts
77 → 9

regimes355.0ms

Accuracy

89.5% (2.8b remaining)

Error of 8.8b against oracle of 6.0b and baseline of 32.6b

bsearch116.0ms

Steps
ItersRangePoint
10
5.5981910563155256e+85
9.646889156889423e+104
9.075371034647116e+86
11
5.161507994152902e-229
1.548877845421406e-196
1.1260596000274454e-196
5
-4.3562246007774435e+118
-1.8745594453170666e+118
-3.926021394052593e+118

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04228
14428
24428

end0.0ms

sample1.4s

Algorithm
intervals
Results
332.0ms6323×body80valid
245.0ms839×body2560valid
183.0ms755×body1280valid
125.0ms2492×body80nan
70.0ms368×body640valid
32.0ms76×body5120valid
24.0ms167×body320valid
9.0ms96×body160valid

Profiling

Loading profile data...