Details

Time bar (total: 5.3s)

analyze664.0ms

Algorithm
search

sample48.0ms

Algorithm
intervals
Results
13.0ms42×body2560valid
10.0ms151×body80valid
7.0ms29×body1280valid
4.0ms19×body640valid
2.0msbody5120valid
1.0ms20×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody160valid

simplify11.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: 35.4b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

series66.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0396773
11550683
25002673

prune156.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 6.1b

Counts
83 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.4b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.8b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite50.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))))
20.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
42.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
59.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06462693
131632447
250032434

prune288.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1642166
Fresh257
Picked011
Done011
Total1669175

Merged error: 6.0b

Counts
175 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 4.0 (/ 2.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.6b
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite89.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:
6.0ms
(/ 4.0 (/ 2.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
57.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)))

series78.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
013953426
150012945

prune441.0ms

Filtered
165 candidates to 256 candidates (-55.2%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2560256
Fresh066
Picked011
Done022
Total2569265

Merged error: 6.0b

Counts
265 → 9

localize13.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.2b
(- (* b b) (* (* 4.0 a) c))
0.6b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
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))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series73.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05281585
125961372
250011305

prune127.0ms

Filtered
71 candidates to 126 candidates (-77.5%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1251126
Fresh145
Picked011
Done033
Total1269135

Merged error: 6.0b

Counts
135 → 9

regimes416.0ms

Accuracy

88.6% (3.1b remaining)

Error of 8.3b against oracle of 5.1b and baseline of 32.5b

bsearch546.0ms

Steps
ItersRangePoint
8
1.1344596947434557e+44
1.7587978671157717e+47
6.803825997763841e+46
4
1.0383840758260193e-138
1.6537116651443586e-138
1.0527671810604839e-138
5
-2.4082024510636466e+117
-1.0457114575651237e+117
-2.334250401022177e+117

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04628
14828
24828

end0.0ms

analyze454.0ms

Algorithm
search

sample1.3s

Algorithm
intervals
Results
346.0ms1112×body2560valid
262.0ms5086×body80valid
230.0ms926×body1280valid
87.0ms438×body640valid
37.0ms96×body5120valid
33.0ms233×body320valid
33.0ms631×body80nan
20.0ms387×body80invalid
11.0ms109×body160valid

Profiling

Loading profile data...