Details

Time bar (total: 5.8s)

sample65.0ms

Algorithm
intervals
Results
13.0ms262×body80nan
13.0ms518×pre80true
12.0ms143×body160valid
6.0ms50×body320valid
3.0ms63×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.3b

Counts
2 → 1

localize10.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
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
37.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite31.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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series398.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
165.0ms
(* (* 3.0 a) c)
109.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
80.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419716
11930613
25002608

prune189.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.3b

Counts
86 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.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-- div-sub flip-- associate-/l/
associate-+l- frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
28.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
30.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series332.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* 3.0 (* a c))
22.0ms
(* (* 3.0 a) c)
164.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
126.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify115.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06843098
133092567
250012533

prune445.0ms

Filtered
171 candidates to 106 candidates (62.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1629171
Fresh415
Picked101
Done000
Total16710177

Merged error: 0.0b

Counts
177 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
317×times-frac
237×add-sqr-sqrt
226×*-un-lft-identity
141×add-cube-cbrt
113×add-exp-log
89×associate-*r*
73×add-cbrt-cube
45×div-exp
42×distribute-lft-out-- difference-of-squares
41×prod-exp
27×cbrt-unprod associate-/l*
24×cbrt-undiv
21×distribute-rgt-neg-in sqrt-prod
16×pow1
14×associate-/r/
11×associate-*l*
10×div-inv
flip3-- pow-prod-down flip--
rec-exp 1-exp
add-log-exp unswap-sqr
associate-/r* *-commutative
frac-times frac-2neg associate-*r/ associate-*l/ clear-num associate-/l/
Counts
4 → 304
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
16.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
43.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series311.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 3.0 (* a c))
22.0ms
(* (* 3.0 a) c)
119.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
150.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify69.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012864849
150024258

prune645.0ms

Filtered
316 candidates to 163 candidates (51.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3124316
Fresh459
Picked011
Done000
Total31610326

Merged error: 0b

Counts
326 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
159×times-frac
136×add-sqr-sqrt
121×*-un-lft-identity
113×add-exp-log
73×add-cbrt-cube
59×add-cube-cbrt associate-*l*
45×div-exp
41×prod-exp
30×distribute-lft-out-- difference-of-squares
26×cbrt-undiv
25×cbrt-unprod
18×div-inv
17×associate-*r*
16×pow1
15×distribute-rgt-neg-in sqrt-prod
pow-prod-down associate-/r* associate-/l*
unswap-sqr
rec-exp 1-exp
associate-/r/ add-log-exp
*-commutative
flip3-- flip--
frac-times frac-2neg associate-*r/ associate-*l/ clear-num un-div-inv associate-/l/
Counts
4 → 237
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
15.0ms
(/ (/ (* 3.0 (* a c)) 3.0) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
35.0ms
(* (/ (/ (* 3.0 (* a c)) 3.0) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 a))

series368.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* 3.0 (* a c))
19.0ms
(* (* 3.0 a) c)
180.0ms
(/ (/ (* 3.0 (* a c)) 3.0) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
150.0ms
(* (/ (/ (* 3.0 (* a c)) 3.0) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 a))

simplify60.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010873720
150023223

prune450.0ms

Filtered
249 candidates to 135 candidates (54.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2481249
Fresh178
Picked101
Done011
Total2509259

Merged error: 0b

Counts
259 → 9

regimes131.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample1.8s

Algorithm
intervals
Results
435.0ms16579×pre80true
408.0ms4881×body160valid
356.0ms8579×body80nan
174.0ms1359×body320valid
77.0ms1760×body80valid

Profiling

Loading profile data...