Details

Time bar (total: 5.8s)

sample69.0ms

Algorithm
intervals
Results
15.0ms542×pre80true
14.0ms148×body160valid
13.0ms286×body80nan
6.0ms45×body320valid
3.0ms63×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.7b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(* (* 3.0 a) c)
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
39.4b
(+ (- 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
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* b b) (* (* 3.0 a) c))
21.0ms
(* (* 3.0 a) c)
114.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune195.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.2b

Counts
86 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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)
29.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* 3.0 (* a c))
30.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series353.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
174.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(* 3.0 (* a c))
133.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify113.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06843100
133072567
250012533

prune453.0ms

Filtered
171 candidates to 107 candidates (62.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1629171
Fresh314
Picked101
Done000
Total16610176

Merged error: 0b

Counts
176 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series352.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
174.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
133.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify106.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06273101
131392568
250012534

prune394.0ms

Filtered
171 candidates to 103 candidates (60.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1710171
Fresh099
Picked011
Done000
Total17110181

Merged error: 0b

Counts
181 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
238×add-sqr-sqrt
227×*-un-lft-identity
142×add-cube-cbrt
117×add-exp-log
86×associate-*r*
77×add-cbrt-cube
48×div-exp
42×distribute-lft-out-- difference-of-squares
41×prod-exp
28×associate-/l*
27×cbrt-undiv cbrt-unprod
21×distribute-rgt-neg-in sqrt-prod
14×associate-/r/
11×pow1 div-inv
10×associate-*l*
flip3-- flip--
associate-/r*
rec-exp 1-exp
pow-prod-down add-log-exp unswap-sqr
frac-2neg clear-num *-commutative
frac-times associate-*r/ associate-*l/ associate-/l/
Counts
4 → 309
Calls
4 calls:
6.0ms
(/ (* 3.0 (* a c)) 3.0)
16.0ms
(/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
9.0ms
(* 3.0 (* a c))
39.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series330.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ (* 3.0 (* a c)) 3.0)
126.0ms
(/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
20.0ms
(* 3.0 (* a c))
158.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify71.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012564905
150014302

prune648.0ms

Filtered
321 candidates to 168 candidates (52.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3201321
Fresh178
Picked011
Done011
Total32110331

Merged error: 0b

Counts
331 → 10

regimes185.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
02016
12016

end0.0ms

sample1.9s

Algorithm
intervals
Results
454.0ms16082×pre80true
444.0ms4876×body160valid
370.0ms8082×body80nan
180.0ms1335×body320valid
83.0ms1789×body80valid