Details

Time bar (total: 3.5s)

sample46.0ms

Algorithm
intervals
Results
9.0ms523×pre80true
9.0ms141×body160valid
8.0ms267×body80nan
4.0ms115×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.3b

localize11.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))
28.2b
(+ (- 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:
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))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(* (* 3.0 a) c)
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify61.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0449785
12075672
25002663

prune259.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 9.3b

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

prune37.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 9.3b

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))

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

series71.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(* -1.5 (/ (* a c) b))
22.0ms
(/ (* a c) b)
21.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

prune184.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 9.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
34×sqrt-prod
32×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×pow1 times-frac
12×swap-sqr prod-exp cbrt-unprod
10×cbrt-undiv div-exp associate-*r* associate-*l*
sqrt-pow1 pow1/2 sqrt-div
associate-/r* div-inv
associate-*r/ pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num pow-sqr associate-/l/ associate-/l*
frac-times associate-*l/
pow2 pow-plus sqrt-unprod rem-square-sqrt *-commutative
Counts
4 → 142
Calls
4 calls:
5.0ms
(/ (* a c) b)
4.0ms
(/ (* a c) b)
18.0ms
(/ (* -1.5 (* (sqrt (/ (* a c) b)) (sqrt (/ (* a c) b)))) (* 3.0 a))
11.0ms
(* (sqrt (/ (* a c) b)) (sqrt (/ (* a c) b)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ (* a c) b)
20.0ms
(/ (* a c) b)
48.0ms
(/ (* -1.5 (* (sqrt (/ (* a c) b)) (sqrt (/ (* a c) b)))) (* 3.0 a))
58.0ms
(* (sqrt (/ (* a c) b)) (sqrt (/ (* a c) b)))

simplify92.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0427871
12772669
25001646

prune259.0ms

Pruning

28 alts after pruning (26 fresh and 2 done)

Merged error: 9.2b

regimes624.0ms

Accuracy

56.9% (5.8b remaining)

Error of 15.1b against oracle of 9.3b and baseline of 22.7b

bsearch4.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.3s

Algorithm
intervals
Results
306.0ms16600×pre80true
281.0ms4501×body160valid
257.0ms8600×body80nan
109.0ms3499×body80valid