Details

Time bar (total: 8.6s)

sample54.0ms

Algorithm
intervals
Results
23.0ms290×body80valid
7.0ms105×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

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: 22.1b

Counts
2 → 1

localize137.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
27.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
27.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* 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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series381.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
95.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
91.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0248644
1898606
23863590
35001586

prune414.0ms

Filtered
75 candidates to 60 candidates (20.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New67875
Fresh000
Picked101
Done000
Total68876

Merged error: 8.0b

Counts
76 → 8

localize139.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.4b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
6.2b
(/ (* a c) b)
27.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

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

series295.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
23.0ms
(/ (* a c) b)
92.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0455639
12202559
25001553

prune563.0ms

Filtered
86 candidates to 65 candidates (24.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh257
Picked101
Done000
Total85994

Merged error: 6.4b

Counts
94 → 9

localize146.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.4b
(/ (* 2.0 c) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) (* 2 b)))
3.4b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
27.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
31×times-frac
30×add-exp-log
26×*-un-lft-identity
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
add-log-exp
pow1 associate-*l*
unswap-sqr
associate-/r* sqrt-prod div-inv
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 112
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(/ (* 2.0 c) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) (* 2 b)))
15.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series374.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
120.0ms
(/ (* 2.0 c) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) (* 2 b)))
61.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07501327
137841149
250011098

prune1.3s

Filtered
124 candidates to 91 candidates (26.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh088
Picked101
Done000
Total12211133

Merged error: 6.4b

Counts
133 → 11

localize155.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.1b
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
1.9b
(/ (* 2.0 c) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b)))) (/ (cbrt c) (cbrt (sqrt b))))) (* 2 b)))
27.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
30×add-sqr-sqrt
27×add-cbrt-cube
25×times-frac
17×*-un-lft-identity
16×prod-exp cbrt-unprod
14×cbrt-undiv div-exp
13×add-cube-cbrt associate-*r*
10×cbrt-prod
sqrt-prod add-log-exp unswap-sqr
pow1 associate-*l*
associate-/r* div-inv
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 111
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
25.0ms
(/ (* 2.0 c) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b)))) (/ (cbrt c) (cbrt (sqrt b))))) (* 2 b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series741.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
202.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b))))
340.0ms
(/ (* 2.0 c) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt (sqrt b)))) (/ (cbrt c) (cbrt (sqrt b))))) (* 2 b)))
95.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify103.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09562001
147101709
250011706

prune1.6s

Filtered
123 candidates to 92 candidates (25.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh1910
Picked101
Done000
Total12212134

Merged error: 6.4b

Counts
134 → 12

regimes431.0ms

Accuracy

92.5% (1.1b remaining)

Error of 7.9b against oracle of 6.8b and baseline of 21.2b

bsearch178.0ms

Steps
ItersRangePoint
4
3.1466272044128187e+123
6.05509838734878e+123
3.3833596292024335e+123
10
-8.56091843340189e+161
-1.1976703346365243e+147
-1.3658955203717612e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069104
169104

end0.0ms

sample1.2s

Algorithm
intervals
Results
566.0ms8732×body80valid
180.0ms2913×body80nan

Profiling

Loading profile data...