Details

Time bar (total: 3.2s)

sample239.0ms

Algorithm
intervals
Results
194.0ms200×body80valid
9.0ms30×body2560valid
6.0ms31×body1280valid
4.0ms85×body80nan
2.0ms15×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.7b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.8b
(- (* b_2 b_2) (* a c))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
10.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
22.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
22.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune133.0ms

Filtered
92 candidates to 69 candidates (25.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New86692
Fresh000
Picked011
Done000
Total86793

Merged error: 5.1b

Counts
93 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.7b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.8b
(- (* b_2 b_2) (* a c))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

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

series56.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0428816
11923721
25001680

prune103.0ms

Filtered
96 candidates to 71 candidates (26.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh145
Picked011
Done011
Total967103

Merged error: 5.1b

Counts
103 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b_2 b_2) (* a c))
1.4b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
15.1b
(* (/ 1 a) (* a c))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

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

series35.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
2.0ms
(* (/ 1 a) (* a c))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0403531
11916427
25001419

prune104.0ms

Filtered
94 candidates to 63 candidates (33.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New92294
Fresh224
Picked011
Done022
Total947101

Merged error: 5.0b

Counts
101 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (* (/ 1 a) 0) c) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
0.8b
(- (* b_2 b_2) (* a c))
1.4b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
20.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/l*
sub-neg sqrt-div associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 92
Calls
4 calls:
15.0ms
(/ (+ (* (/ 1 a) 0) c) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (+ (* (/ 1 a) 0) c) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03891170
115501051
250021034

prune102.0ms

Filtered
104 candidates to 74 candidates (28.8%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1031104
Fresh123
Picked011
Done033
Total1047111

Merged error: 5.0b

Counts
111 → 7

regimes338.0ms

Accuracy

96.1% (0.9b remaining)

Error of 6.4b against oracle of 5.5b and baseline of 29.2b

bsearch95.0ms

Steps
ItersRangePoint
9
3.763859088204499e+91
2.271321644956683e+99
1.704059040904738e+99
8
-2.450180232760445e-303
-6.101116520471646e-307
-3.035384695936534e-304
9
-3.6502939682616286e+159
-2.0984588557191883e+153
-2.336606735933724e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04324
14324

end0.0ms

sample1.4s

Algorithm
intervals
Results
252.0ms1043×body2560valid
251.0ms5858×body80valid
180.0ms924×body1280valid
120.0ms2794×body80nan
74.0ms483×body640valid
33.0ms113×body5120valid
30.0ms237×body320valid
8.0ms99×body160valid

Profiling

Loading profile data...