Details

Time bar (total: 4.5s)

analyze445.0ms

Algorithm
search

sample42.0ms

Algorithm
intervals
Results
8.0ms165×body80valid
8.0ms28×body2560valid
8.0ms32×body1280valid
3.0ms14×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms19×body80nan
1.0ms13×body80invalid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.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.6b
(- (* b b) (* 4.0 (* a c)))
1.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.0ms

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

series58.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0398888
11466803
25001798

prune168.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New791089
Fresh000
Picked011
Done000
Total791190

Merged error: 6.2b

Counts
90 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.6b
(- (* b b) (* 4.0 (* a c)))
1.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

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

series55.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0463989
12033868
25001860

prune153.0ms

Filtered
64 candidates to 97 candidates (-51.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh369
Picked101
Done011
Total999108

Merged error: 6.2b

Counts
108 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.6b
(- (* b b) (* 4.0 (* a c)))
1.6b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
13.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify72.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05381801
125731602
250021528

prune159.0ms

Filtered
73 candidates to 137 candidates (-87.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1352137
Fresh167
Picked011
Done011
Total13610146

Merged error: 6.2b

Counts
146 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
11.1b
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
22.7b
(cbrt (- (* b b) (* 4.0 (* a c))))
22.7b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite16.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 flip3-- add-cbrt-cube flip--
diff-log
sub-neg pow1/3
associate--l- neg-sub0 neg-log
Counts
4 → 52
Calls
4 calls:
4.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))))

series92.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0344834
11265755
25001736

prune160.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh077
Picked011
Done022
Total641074

Merged error: 6.2b

Counts
74 → 10

regimes402.0ms

Accuracy

88% (3.5b remaining)

Error of 8.6b against oracle of 5.2b and baseline of 34.0b

bsearch593.0ms

Steps
ItersRangePoint
5
3.3306943787406174e+83
9.404629383220504e+83
9.28588074484076e+83
9
-1.645336086641096e-205
-4.462308124153642e-215
-2.119498678969391e-207
7
-1.1292777164845942e+58
-4.962791110830647e+55
-1.1156211331137129e+56

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04330
14330

end0.0ms

analyze446.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
324.0ms1065×body2560valid
260.0ms5085×body80valid
222.0ms909×body1280valid
90.0ms462×body640valid
37.0ms104×body5120valid
35.0ms242×body320valid
34.0ms653×body80nan
19.0ms376×body80invalid
13.0ms133×body160valid

Profiling

Loading profile data...