Details

Time bar (total: 6.4s)

sample43.0ms

Algorithm
intervals
Results
20.0ms285×body80valid
6.0ms96×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

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

Counts
2 → 1

localize113.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

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

series255.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0236533
1919501
23961487
35001484

prune253.0ms

Filtered
69 candidates to 55 candidates (79.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New62769
Fresh000
Picked101
Done000
Total63770

Merged error: 7.8b

Counts
70 → 7

localize116.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.5b
(/ (* a c) b)
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.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 distribute-lft-out--
distribute-rgt-neg-in 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* difference-of-squares
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 80
Calls
4 calls:
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
5.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
172.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
18.0ms
(/ (* a c) b)
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0454719
12113629
25001621

prune307.0ms

Filtered
92 candidates to 67 candidates (72.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New88492
Fresh246
Picked101
Done000
Total91899

Merged error: 7.4b

Counts
99 → 8

localize124.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
4.0b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×*-un-lft-identity times-frac
30×add-exp-log
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*
associate-/r* unswap-sqr
distribute-lft-out--
distribute-rgt-neg-in sqrt-prod div-inv
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out difference-of-squares
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 118
Calls
4 calls:
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
15.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series406.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
52.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
207.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07511431
136801244
250011199

prune524.0ms

Filtered
130 candidates to 96 candidates (73.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1273130
Fresh077
Picked101
Done000
Total12810138

Merged error: 7.4b

Counts
138 → 10

localize126.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))
2.2b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac
172×add-sqr-sqrt
90×cbrt-prod
78×*-un-lft-identity
67×associate-*l*
66×add-cube-cbrt
48×sqrt-prod
41×add-exp-log
31×associate-*r*
28×unswap-sqr
27×add-cbrt-cube
16×cbrt-undiv div-exp
12×div-inv
11×prod-exp cbrt-unprod
add-log-exp
pow1
associate-/r*
distribute-lft-out--
distribute-rgt-neg-in
flip3-- sqrt-div sum-log associate-/r/ flip-- distribute-lft-out difference-of-squares
+-commutative neg-sub0 frac-times associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num *-commutative flip-+ associate-/l*
Counts
4 → 213
Calls
4 calls:
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))
9.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series828.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
151.0ms
(* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))
530.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (* (/ (/ a (* (cbrt b) (cbrt b))) (cbrt (sqrt b))) (/ c (cbrt (sqrt b))))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012653451
150023192

prune1.0s

Filtered
225 candidates to 167 candidates (74.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2232225
Fresh189
Picked101
Done000
Total22510235

Merged error: 7.4b

Counts
235 → 10

regimes269.0ms

Accuracy

88.3% (1.7b remaining)

Error of 8.8b against oracle of 7.1b and baseline of 21.5b

bsearch169.0ms

Steps
ItersRangePoint
6
2087876908255263.8
9946277058360104.0
9787957843074626.0
9
-3.1093417089968686e+156
-2.796615923212647e+151
-1.3570665871440235e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06678
16678

end0.0ms

sample1.0s

Algorithm
intervals
Results
596.0ms8705×body80valid
183.0ms2829×body80nan

Profiling

Loading profile data...