Details

Time bar (total: 3.1s)

sample54.0ms

Algorithm
intervals
Results
13.0ms191×body80valid
7.0ms24×body2560valid
6.0ms27×body1280valid
5.0ms106×body80nan
3.0ms15×body640valid
2.0ms11×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.6b
(- (* b b) (* (* 4.0 a) c))
20.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)))

series65.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0396773
11550683
25001673

prune154.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983

Merged error: 4.6b

Counts
83 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.6b
(- (* b b) (* (* 4.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*l* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* (* 4.0 a) c)
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 4.0 a) c)
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0302468
11299428
25002417

prune111.0ms

Filtered
52 candidates to 72 candidates (-38.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh088
Picked011
Done000
Total72981

Merged error: 4.6b

Counts
81 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (* b b) (* (* 4.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.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:
4.0ms
(- (* b b) (* (* 4.0 a) c))
3.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)))

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

simplify77.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0147474
1570446
22550444
35001442

prune145.0ms

Filtered
50 candidates to 66 candidates (-32.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh077
Picked011
Done011
Total66975

Merged error: 4.6b

Counts
75 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 4.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

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

series51.0ms

Counts
4 → 12
Calls
4 calls:
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)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0147505
1570483
22550480
35001477

prune170.0ms

Filtered
55 candidates to 69 candidates (-25.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh066
Picked011
Done022
Total69978

Merged error: 4.6b

Counts
78 → 9

regimes279.0ms

Accuracy

86.4% (3.9b remaining)

Error of 9.3b against oracle of 5.4b and baseline of 33.8b

bsearch110.0ms

Steps
ItersRangePoint
9
1.4207218227508602e+125
1.7687561556963888e+130
3.1899052552331176e+125
9
1.4140249174076056e-267
1.6486910309601152e-261
4.1502694039604683e-262
10
-3.692428373978256e+65
-2.9514001404867553e+50
-6.741241628846222e+60

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05029
15229
25229

end0.0ms

sample1.5s

Algorithm
intervals
Results
313.0ms1063×body2560valid
296.0ms5894×body80valid
211.0ms887×body1280valid
138.0ms2829×body80nan
85.0ms443×body640valid
35.0ms100×body5120valid
33.0ms213×body320valid
11.0ms117×body160valid

Profiling

Loading profile data...