Details

Time bar (total: 4.2s)

sample71.0ms

Algorithm
intervals
Results
17.0ms550×pre80true
14.0ms162×body160valid
13.0ms294×body80nan
6.0ms45×body320valid
2.0ms49×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.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.4b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite34.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:
6.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series243.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify62.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0449785
12075672
25002663

prune238.0ms

Filtered
105 candidates to 78 candidates (74.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9411105
Fresh000
Picked101
Done000
Total9511106

Merged error: 4.5b

Counts
106 → 11

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune27.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01010
Picked011
Done000
Total01111

Merged error: 4.5b

Counts
11 → 11

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
4.0ms
(/ (* a c) b)
6.0ms
(* -1.5 (/ (* a c) b))
9.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

series68.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0383531
12513389
25002389

prune173.0ms

Filtered
93 candidates to 54 candidates (58.1%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New801393
Fresh099
Picked101
Done011
Total8123104

Merged error: 4.4b

Counts
104 → 23

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
207×times-frac
109×sqrt-prod
99×add-sqr-sqrt
91×add-cube-cbrt *-un-lft-identity
77×add-exp-log add-cbrt-cube
64×associate-*r*
32×cbrt-undiv div-exp
22×prod-exp cbrt-unprod
17×div-inv
13×associate-/r*
12×associate-/l*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*l* clear-num unswap-sqr
associate-*r/ associate-/l/
pow-prod-down *-commutative
Counts
4 → 250
Calls
4 calls:
24.0ms
(* -1.5 (/ (/ (* a c) (sqrt b)) (sqrt b)))
9.0ms
(/ (/ (* a c) (sqrt b)) (sqrt b))
5.0ms
(/ (* a c) (sqrt b))
15.0ms
(/ (* -1.5 (/ (/ (* a c) (sqrt b)) (sqrt b))) (* 3.0 a))

series186.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* -1.5 (/ (/ (* a c) (sqrt b)) (sqrt b)))
40.0ms
(/ (/ (* a c) (sqrt b)) (sqrt b))
51.0ms
(/ (* a c) (sqrt b))
41.0ms
(/ (* -1.5 (/ (/ (* a c) (sqrt b)) (sqrt b))) (* 3.0 a))

simplify45.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09072265
150011758

prune378.0ms

Filtered
262 candidates to 140 candidates (53.4%)
Pruning

30 alts after pruning (29 fresh and 1 done)

PrunedKeptTotal
New24913262
Fresh51621
Picked101
Done011
Total25530285

Merged error: 4.4b

Counts
285 → 30

regimes562.0ms

Accuracy

5% (6.8b remaining)

Error of 11.8b against oracle of 5.0b and baseline of 12.2b

bsearch25.0ms

Steps
ItersRangePoint
3
161.36140140009005
198.23528609084283
163.6660191932621
0
2.0779875425291263
2.108565746924454
2.09327664472679
0
0.0034809726387666114
0.0034879961460735657
0.0034844843924200885

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03336
13618
23918
33918

end0.0ms

sample1.9s

Algorithm
intervals
Results
450.0ms16276×pre80true
433.0ms4813×body160valid
366.0ms8276×body80nan
178.0ms1361×body320valid
86.0ms1826×body80valid

Profiling

Loading profile data...