Details

Time bar (total: 3.3s)

sample49.0ms

Algorithm
intervals
Results
9.0ms152×body160valid
8.0ms520×pre80true
7.0ms264×body80nan
4.0ms44×body320valid
2.0ms60×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: 44.9b

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

rewrite122.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))
17.0ms
(* (* 3.0 a) c)
68.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
25.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
17.0ms
(* (* 3.0 a) c)
98.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
73.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify60.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0449785
12075672
25002663

prune252.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.0b

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

prune30.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.0b

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

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

series61.0ms

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

prune179.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 5.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (/ (* a c) b) a)
0.2b
(/ (* a c) b)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
associate-/l*
cbrt-undiv div-exp
associate-/r* div-inv
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 73
Calls
2 calls:
13.0ms
(/ (/ (* a c) b) a)
10.0ms
(/ (* a c) b)

series25.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(/ (/ (* a c) b) a)
18.0ms
(/ (* a c) b)

simplify38.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0291399
11325355
25001331

prune153.0ms

Pruning

29 alts after pruning (28 fresh and 1 done)

Merged error: 5.0b

regimes478.0ms

Accuracy

25.3% (5.2b remaining)

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

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.4s

Algorithm
intervals
Results
297.0ms4842×body160valid
263.0ms16298×pre80true
236.0ms8298×body80nan
122.0ms1343×body320valid
57.0ms1815×body80valid