Details

Time bar (total: 3.3s)

sample54.0ms

Algorithm
intervals
Results
11.0ms157×body160valid
10.0ms541×pre80true
9.0ms285×body80nan
5.0ms54×body320valid
2.0ms45×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

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

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
39.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-cube-cbrt fma-def add-log-exp
pow1
distribute-rgt-neg-in distribute-lft-out
times-frac associate-/l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg flip3-- frac-2neg fma-neg diff-log div-sub associate-*l* prod-diff neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 93
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
16.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
9.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
102.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify61.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0449785
12075672
25002663

prune243.0ms

Filtered
105 candidates to 78 candidates (74.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9114105
Fresh000
Picked101
Done000
Total9214106

Merged error: 5.0b

Counts
106 → 14

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune33.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01313
Picked011
Done000
Total01414

Merged error: 5.0b

Counts
14 → 14

localize7.0ms

Local error

Found 3 expressions with local error:

0.3b
(* -1.5 (/ (* a c) b))
0.3b
(/ (* a c) b)
0.4b
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log add-cbrt-cube
17×prod-exp cbrt-unprod
16×cbrt-undiv div-exp
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
times-frac associate-*r*
pow1
associate-/r*
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ clear-num associate-/l*
pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
3 → 84
Calls
3 calls:
7.0ms
(* -1.5 (/ (* a c) b))
7.0ms
(/ (* a c) b)
9.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

series67.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(* -1.5 (/ (* a c) b))
19.0ms
(/ (* a c) b)
21.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

simplify65.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0383531
12513389
25002389

prune165.0ms

Filtered
93 candidates to 54 candidates (58.1%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New831093
Fresh01212
Picked101
Done011
Total8423107

Merged error: 4.9b

Counts
107 → 23

localize7.0ms

Local error

Found 3 expressions with local error:

0.2b
(* a (/ c b))
0.3b
(* -1.5 (* a (/ c b)))
0.4b
(/ (* -1.5 (* a (/ c b))) (* 3.0 a))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log add-cbrt-cube
21×prod-exp cbrt-unprod
17×add-sqr-sqrt
14×associate-*r*
12×cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp
11×times-frac
10×pow1
associate-*l*
associate-*r/
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative div-inv unswap-sqr
frac-2neg clear-num associate-/r* associate-/l/ associate-/l*
Counts
3 → 89
Calls
3 calls:
7.0ms
(* a (/ c b))
6.0ms
(* -1.5 (* a (/ c b)))
12.0ms
(/ (* -1.5 (* a (/ c b))) (* 3.0 a))

series64.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* a (/ c b))
26.0ms
(* -1.5 (* a (/ c b)))
20.0ms
(/ (* -1.5 (* a (/ c b))) (* 3.0 a))

simplify72.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0425550
12901408
25002408

prune148.0ms

Filtered
98 candidates to 58 candidates (59.2%)
Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New93598
Fresh02121
Picked101
Done011
Total9427121

Merged error: 4.9b

Counts
121 → 27

regimes463.0ms

Accuracy

31.4% (4.7b remaining)

Error of 9.7b against oracle of 5.0b and baseline of 11.9b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.5s

Algorithm
intervals
Results
334.0ms4817×body160valid
309.0ms16002×pre80true
265.0ms8002×body80nan
145.0ms1390×body320valid
62.0ms1793×body80valid