Details

Time bar (total: 5.6s)

sample34.0ms

Algorithm
intervals
Results
14.0ms274×body80valid
5.0ms99×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.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: 20.5b

Counts
2 → 1

localize123.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 distribute-rgt-neg-in neg-log
Counts
4 → 60
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify122.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (115.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune269.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New64872
Fresh000
Picked101
Done000
Total65873

Merged error: 8.5b

Counts
73 → 8

localize124.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.4b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
6.3b
(/ (* a c) b)
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

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

series364.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
188.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
19.0ms
(/ (* a c) b)
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0440738
12043649
25001646

prune334.0ms

Filtered
93 candidates to 65 candidates (69.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New86793
Fresh347
Picked101
Done000
Total9011101

Merged error: 7.6b

Counts
101 → 11

localize129.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.4b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
4.9b
(/ a (/ b c))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
61×*-un-lft-identity
54×add-sqr-sqrt
49×add-cube-cbrt
18×associate-/r*
14×add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 cbrt-undiv div-exp
sqrt-prod distribute-lft-out associate-/l*
distribute-rgt-neg-in associate-/r/
flip3-- frac-2neg sqrt-div diff-log clear-num flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log prod-exp cbrt-unprod flip-+
Counts
4 → 130
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
6.0ms
(/ a (/ b c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series366.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
187.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
21.0ms
(/ a (/ b c))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify76.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06621106
129531010
250011010

prune672.0ms

Filtered
142 candidates to 110 candidates (77.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1402142
Fresh1910
Picked101
Done000
Total14211153

Merged error: 7.6b

Counts
153 → 11

localize135.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.9b
(/ (* (cbrt a) (cbrt a)) (/ (* (cbrt b) (cbrt b)) (* (cbrt c) (cbrt c))))
4.4b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ (* (cbrt a) (cbrt a)) (/ (* (cbrt b) (cbrt b)) (* (cbrt c) (cbrt c)))) (/ (cbrt a) (/ (cbrt b) (cbrt c))))) b)))
24.2b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite71.0ms

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

series480.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
122.0ms
(/ (* (cbrt a) (cbrt a)) (/ (* (cbrt b) (cbrt b)) (* (cbrt c) (cbrt c))))
208.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ (* (cbrt a) (cbrt a)) (/ (* (cbrt b) (cbrt b)) (* (cbrt c) (cbrt c)))) (/ (cbrt a) (/ (cbrt b) (cbrt c))))) b)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify84.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07411857
134511522
250021456

prune462.0ms

Filtered
114 candidates to 73 candidates (64.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh01010
Picked101
Done000
Total11411125

Merged error: 7.6b

Counts
125 → 11

regimes232.0ms

Accuracy

91.2% (1.3b remaining)

Error of 7.9b against oracle of 6.6b and baseline of 20.9b

bsearch212.0ms

Steps
ItersRangePoint
8
3.6696373663460875e+72
1.716395662560696e+75
1.700743369447203e+75
10
-3.3972521543541393e+93
-2.6938476684742574e+82
-1.4465906485348473e+93

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075100
175100

end0.0ms

sample844.0ms

Algorithm
intervals
Results
454.0ms8743×body80valid
137.0ms2961×body80nan