Details

Time bar (total: 5.0s)

sample57.0ms

Algorithm
intervals
Results
13.0ms561×pre80true
10.0ms152×body160valid
10.0ms305×body80nan
4.0ms40×body320valid
2.0ms64×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: 44.0b

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
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
38.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

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

series249.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
108.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
78.0ms
(+ (- 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

prune166.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh000
Picked101
Done000
Total83386

Merged error: 0.2b

Counts
86 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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.3b
(/ (/ (+ (- (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
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)
26.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))
33.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series334.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
165.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* 3.0 (* a c))
130.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- 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
06843100
133072567
250012533

prune425.0ms

Filtered
171 candidates to 107 candidates (62.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1629171
Fresh112
Picked101
Done000
Total16410174

Merged error: 0b

Counts
174 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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
(* (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))
0.3b
(* 3.0 (* a c))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
61×add-exp-log
59×*-un-lft-identity
46×times-frac
37×add-cbrt-cube
31×add-cube-cbrt associate-*l*
26×prod-exp
16×pow1 div-exp
14×cbrt-unprod distribute-lft-out-- difference-of-squares
11×associate-*r*
cbrt-undiv
distribute-rgt-neg-in pow-prod-down associate-/r* sqrt-prod
rec-exp 1-exp associate-/r/ add-log-exp
*-commutative div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times associate-+l- frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ clear-num un-div-inv flip-+
Counts
4 → 153
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
26.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
35.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))
5.0ms
(* 3.0 (* a c))

series331.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
162.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
129.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))
20.0ms
(* 3.0 (* a c))

simplify141.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
07702724
140102117
250022061

prune388.0ms

Filtered
165 candidates to 99 candidates (60.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1632165
Fresh279
Picked101
Done000
Total1669175

Merged error: 0b

Counts
175 → 9

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)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
61×add-exp-log
59×*-un-lft-identity
46×times-frac
37×add-cbrt-cube
31×add-cube-cbrt
29×associate-*l*
26×prod-exp
16×pow1 div-exp
14×cbrt-unprod distribute-lft-out-- difference-of-squares
13×associate-*r*
cbrt-undiv
distribute-rgt-neg-in pow-prod-down associate-/r* sqrt-prod
rec-exp 1-exp associate-/r/ add-log-exp
*-commutative div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times associate-+l- frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ clear-num un-div-inv flip-+
Counts
4 → 153
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
34.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 3.0 a) c)
19.0ms
(* (* 3.0 a) c)
163.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
126.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

simplify132.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
07132725
138412127
250022062

prune328.0ms

Filtered
165 candidates to 100 candidates (60.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1650165
Fresh088
Picked011
Done000
Total1659174

Merged error: 0b

Counts
174 → 9

regimes169.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02517
12517

end0.0ms

sample1.4s

Algorithm
intervals
Results
318.0ms4839×body160valid
307.0ms16200×pre80true
258.0ms8200×body80nan
130.0ms1336×body320valid
61.0ms1825×body80valid