Details

Time bar (total: 4.9s)

analyze474.0ms

Algorithm
search

sample44.0ms

Algorithm
intervals
Results
14.0ms47×body2560valid
8.0ms157×body80valid
5.0ms22×body1280valid
2.0ms11×body640valid
2.0ms12×body320valid
1.0msbody5120valid
1.0ms18×body80nan
1.0ms14×body80invalid
0.0msbody160valid

simplify10.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: 36.4b

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))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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))
6.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.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)))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0396773
11550683
25002673

prune158.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh000
Picked101
Done000
Total75883

Merged error: 7.1b

Counts
83 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
3.2b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.7b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

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

series122.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06372580
131842341
250012328

prune281.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1573160
Fresh167
Picked011
Done000
Total15810168

Merged error: 7.0b

Counts
168 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
3.3b
(* (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
10.7b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
46×times-frac
30×add-cube-cbrt
27×associate-*l* add-cbrt-cube
20×prod-exp
16×div-exp
14×distribute-lft-out-- difference-of-squares
10×sqrt-prod
cbrt-undiv cbrt-unprod
pow1 distribute-rgt-neg-in associate-*r* associate-/r*
add-log-exp
rec-exp flip3-- 1-exp associate-/r/ flip--
div-inv associate-/l*
sqrt-div associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 143
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series123.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
07292303
139531983
250011976

prune247.0ms

Filtered
98 candidates to 155 candidates (-58.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh088
Picked011
Done011
Total15510165

Merged error: 7.0b

Counts
165 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.4b
(- (* b b) (* (* 4.0 a) c))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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-/r*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 69
Calls
4 calls:
13.0ms
(/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series88.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
8.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)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0376757
11594658
25001645

prune105.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New79281
Fresh167
Picked011
Done022
Total801191

Merged error: 7.0b

Counts
91 → 11

regimes461.0ms

Accuracy

82.7% (4.7b remaining)

Error of 10.0b against oracle of 5.4b and baseline of 32.4b

bsearch502.0ms

Steps
ItersRangePoint
8
1.0121811463366305e-46
7.90619011418034e-44
4.2139677410752915e-45
8
-7.400135821921412e+97
-2.0353633612918009e+93
-3.9716980978113024e+95

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

analyze470.0ms

Algorithm
search

sample1.3s

Algorithm
intervals
Results
337.0ms1104×body2560valid
274.0ms5158×body80valid
219.0ms875×body1280valid
85.0ms434×body640valid
40.0ms109×body5120valid
33.0ms660×body80nan
29.0ms202×body320valid
21.0ms368×body80invalid
12.0ms118×body160valid

Profiling

Loading profile data...