Details

Time bar (total: 4.3s)

sample64.0ms

Algorithm
intervals
Results
16.0ms158×body160valid
15.0ms531×pre80true
12.0ms275×body80nan
4.0ms98×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 30.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.4b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
30.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite33.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)
14.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series251.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
104.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 (51.0ms)

IterNodesCost
0449785
12075672
25002663

prune259.0ms

Filtered
105 candidates to 78 candidates (74.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New8619105
Fresh000
Picked101
Done000
Total8719106

Merged error: 9.7b

Counts
106 → 19

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

prune47.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01818
Picked011
Done000
Total01919

Merged error: 9.7b

Counts
19 → 19

localize7.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ (* a c) b)
0.3b
(* -1.5 (/ (* a c) b))
0.3b
(/ (* -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))
8.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

series69.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0383531
12513389
25002389

prune192.0ms

Filtered
93 candidates to 54 candidates (58.1%)
Pruning

30 alts after pruning (29 fresh and 1 done)

PrunedKeptTotal
New811293
Fresh01717
Picked101
Done011
Total8230112

Merged error: 9.6b

Counts
112 → 30

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
20×associate-*r*
17×add-sqr-sqrt
15×sqrt-prod
14×prod-exp cbrt-unprod
13×add-cube-cbrt *-un-lft-identity
11×pow1
10×times-frac
sqrt-div
cbrt-undiv div-exp
associate-*r/
expm1-log1p-u associate-*l* pow-prod-down associate-/r* log1p-expm1-u div-inv add-log-exp
associate-/l/
frac-times frac-2neg associate-*l/ clear-num *-commutative associate-/l* unswap-sqr
Counts
4 → 112
Calls
4 calls:
4.0ms
(/ (* a c) b)
7.0ms
(* -1.5 (sqrt (/ (* a c) b)))
11.0ms
(* (* -1.5 (sqrt (/ (* a c) b))) (sqrt (/ (* a c) b)))
13.0ms
(/ (* (* -1.5 (sqrt (/ (* a c) b))) (sqrt (/ (* a c) b))) (* 3.0 a))

series196.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* a c) b)
61.0ms
(* -1.5 (sqrt (/ (* a c) b)))
68.0ms
(* (* -1.5 (sqrt (/ (* a c) b))) (sqrt (/ (* a c) b)))
45.0ms
(/ (* (* -1.5 (sqrt (/ (* a c) b))) (sqrt (/ (* a c) b))) (* 3.0 a))

simplify74.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0444878
12868674
25001658

prune207.0ms

Filtered
124 candidates to 81 candidates (65.3%)
Pruning

32 alts after pruning (31 fresh and 1 done)

PrunedKeptTotal
New1195124
Fresh22628
Picked101
Done011
Total12232154

Merged error: 9.6b

Counts
154 → 32

regimes887.0ms

Accuracy

53.6% (6.5b remaining)

Error of 15.5b against oracle of 9.0b and baseline of 23.0b

bsearch4.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.7s

Algorithm
intervals
Results
456.0ms16443×pre80true
381.0ms4407×body160valid
373.0ms8443×body80nan
165.0ms3593×body80valid

Profiling

Loading profile data...