Details

Time bar (total: 3.6s)

sample52.0ms

Algorithm
intervals
Results
10.0ms160×body160valid
9.0ms516×pre80true
8.0ms260×body80nan
3.0ms36×body320valid
2.0ms60×body80valid

simplify11.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: 43.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite120.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:
9.0ms
(- (* b b) (* (* 3.0 a) c))
67.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
17.0ms
(* (* 3.0 a) c)
25.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series261.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0449785
12075672
25002663

prune263.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 5.5b

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

prune37.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 5.5b

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

rewrite56.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:
17.0ms
(* -1.5 (/ (* a c) b))
13.0ms
(/ (* a c) b)
23.0ms
(/ (* -1.5 (/ (* a c) b)) (* 3.0 a))

series73.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0383531
12513389
25002389

prune183.0ms

Pruning

30 alts after pruning (29 fresh and 1 done)

Merged error: 5.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite65.0ms

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

series73.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0387586
12159442
25001442

prune132.0ms

Pruning

35 alts after pruning (34 fresh and 1 done)

Merged error: 5.5b

regimes577.0ms

Accuracy

26.4% (5.1b remaining)

Error of 10.2b against oracle of 5.1b and baseline of 12.1b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.5s

Algorithm
intervals
Results
307.0ms4883×body160valid
286.0ms16384×pre80true
251.0ms8384×body80nan
130.0ms1345×body320valid
56.0ms1772×body80valid