Details

Time bar (total: 7.9s)

sample68.0ms

Algorithm
intervals
Results
14.0ms140×body160valid
13.0ms529×pre80true
11.0ms273×body80nan
5.0ms116×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.8b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.4b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
27.6b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-log-exp
pow1
add-sqr-sqrt add-cube-cbrt
distribute-lft-out
times-frac associate-/l*
prod-exp cbrt-unprod
distribute-rgt-neg-in associate-*r* pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub associate-*l* neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 73
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series53.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(* (* 3.0 a) c)
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0417711
11922611
25001602

prune353.0ms

Filtered
85 candidates to 59 candidates (30.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New76985
Fresh000
Picked101
Done000
Total77986

Merged error: 0.5b

Counts
86 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* 3.0 (* a c))
0.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(* 3.0 (* a c))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series105.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
3.0ms
(* 3.0 (* a c))
55.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify159.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (131.0ms)

IterNodesCost
06282481
133222152
250022149

prune983.0ms

Filtered
169 candidates to 104 candidates (38.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15712169
Fresh808
Picked101
Done000
Total16612178

Merged error: 0.0b

Counts
178 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series105.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
3.0ms
(* (* 3.0 a) c)
54.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
44.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify102.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05712482
130602153
250032150

prune855.0ms

Filtered
169 candidates to 103 candidates (39.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1663169
Fresh5611
Picked011
Done000
Total17110181

Merged error: 0b

Counts
181 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.4b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
353×times-frac
264×add-sqr-sqrt
238×*-un-lft-identity
152×add-cube-cbrt
108×add-exp-log
88×associate-*r*
68×add-cbrt-cube
55×div-exp
42×distribute-lft-out-- difference-of-squares
30×cbrt-undiv
28×prod-exp
27×associate-*l* associate-/l*
21×distribute-rgt-neg-in sqrt-prod
18×cbrt-unprod
15×associate-/r/
13×div-inv
11×pow1
flip3-- flip-- unswap-sqr
add-log-exp
rec-exp 1-exp
pow-prod-down
associate-/r*
*-commutative
frac-times sub-neg frac-2neg diff-log associate-*r/ associate-*l/ clear-num associate-/l/
Counts
4 → 321
Calls
4 calls:
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
57.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series94.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
12.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(* (* 3.0 a) c)
44.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify79.0ms

Algorithm
egg-herbie
Counts
333 → 333
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015045275
150014597

prune2.5s

Filtered
333 candidates to 185 candidates (44.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3321333
Fresh268
Picked011
Done011
Total3349343

Merged error: 0b

Counts
343 → 9

regimes310.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01813
12013
22013

end0.0ms

sample1.8s

Algorithm
intervals
Results
421.0ms16569×pre80true
368.0ms4508×body160valid
355.0ms8569×body80nan
148.0ms3492×body80valid

Profiling

Loading profile data...