Details

Time bar (total: 5.4s)

sample52.0ms

Algorithm
intervals
Results
10.0ms193×body80valid
10.0ms34×body2560valid
7.0ms30×body1280valid
6.0ms85×body80nan
2.0ms13×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.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:
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series307.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
107.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
79.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25001674

prune210.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75782
Fresh000
Picked011
Done000
Total75883

Merged error: 7.0b

Counts
83 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.8b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
17.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
16.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
150.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
181.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06512692
131012439
250012426

prune387.0ms

Filtered
166 candidates to 111 candidates (66.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1633166
Fresh246
Picked011
Done011
Total1659174

Merged error: 6.9b

Counts
174 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* (* 4.0 a) c))
0.2b
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.6b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
16×*-un-lft-identity
13×add-cbrt-cube
11×add-sqr-sqrt
10×prod-exp add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*l*
div-exp cbrt-unprod distribute-lft-out
flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- distribute-rgt-neg-in sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
106.0ms
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
80.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0481920
12189790
25001777

prune203.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New91192
Fresh156
Picked011
Done022
Total929101

Merged error: 6.9b

Counts
101 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(/ 4.0 (/ 2.0 (* a c)))
16.4b
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
221×times-frac
165×add-sqr-sqrt
138×*-un-lft-identity
103×add-exp-log
96×add-cube-cbrt
85×associate-*r*
67×add-cbrt-cube
54×div-exp
32×cbrt-undiv
26×associate-*l* prod-exp
20×distribute-lft-out-- difference-of-squares
16×cbrt-unprod
13×sqrt-prod div-inv
10×distribute-rgt-neg-in
associate-/r/ add-log-exp unswap-sqr
pow1 associate-/r*
flip3-- flip--
rec-exp 1-exp
associate-/l*
sqrt-div diff-log
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative
Counts
4 → 244
Calls
4 calls:
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(/ 4.0 (/ 2.0 (* a c)))
59.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ 4.0 (/ 2.0 (* a c)))
151.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013963426
150012942

prune579.0ms

Filtered
256 candidates to 165 candidates (64.5%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2551256
Fresh145
Picked011
Done123
Total2578265

Merged error: 6.9b

Counts
265 → 8

regimes243.0ms

Accuracy

85.8% (3.8b remaining)

Error of 9.4b against oracle of 5.6b and baseline of 32.4b

bsearch224.0ms

Steps
ItersRangePoint
10
2.564731655063431e+70
8.71581363662453e+81
2.1868634635914353e+71
11
3.073059094578084e-151
9.813570662590159e-116
3.288204035546746e-123
6
-1.555584016455579e+44
-1.807486675368764e+43
-1.5338208594244521e+44

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04327
14327

end0.0ms

sample1.5s

Algorithm
intervals
Results
349.0ms1112×body2560valid
321.0ms5838×body80valid
230.0ms917×body1280valid
153.0ms2863×body80nan
90.0ms447×body640valid
43.0ms113×body5120valid
35.0ms222×body320valid
12.0ms118×body160valid

Profiling

Loading profile data...