Details

Time bar (total: 3.7s)

sample52.0ms

Algorithm
intervals
Results
9.0ms102×body320valid
8.0ms474×pre80true
6.0ms218×body80nan
6.0ms105×body160valid
2.0ms16×body640valid
1.0ms33×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 51.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite116.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:
10.0ms
(- (* b b) (* (* 3.0 a) c))
66.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
16.0ms
(* (* 3.0 a) c)
21.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
106.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
23.0ms
(* (* 3.0 a) c)
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify60.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0449785
12075672
25002663

prune246.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.9b

localize4.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

prune23.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.9b

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

rewrite54.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:
10.0ms
(/ (* a c) b)
17.0ms
(* -1.5 (/ (* a c) b))
24.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

series74.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0383531
12513389
25002389

prune172.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 2.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series304.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (* a c) b)
101.0ms
(* -1.5 (expm1 (log1p (/ (* a c) b))))
91.0ms
(expm1 (log1p (/ (* a c) b)))
88.0ms
(/ (* -1.5 (expm1 (log1p (/ (* a c) b)))) (* 3.0 a))

simplify51.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0379570
12061446
25001439

prune183.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 2.8b

regimes383.0ms

Accuracy

0% (3.5b remaining)

Error of 6.3b against oracle of 2.8b and baseline of 6.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062
162

end0.0ms

sample1.6s

Algorithm
intervals
Results
334.0ms3682×body320valid
269.0ms16032×pre80true
241.0ms8032×body80nan
179.0ms2934×body160valid
56.0ms449×body640valid
31.0ms935×body80valid