Details

Time bar (total: 5.4s)

sample68.0ms

Algorithm
intervals
Results
17.0ms501×pre80true
14.0ms157×body160valid
10.0ms245×body80nan
5.0ms42×body320valid
3.0ms57×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.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.7b

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

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

series244.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify60.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0419716
11930613
25002608

prune160.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New80585
Fresh000
Picked011
Done000
Total80686

Merged error: 0.2b

Counts
86 → 6

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

rewrite72.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))
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
31.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series330.0ms

Counts
4 → 12
Calls
4 calls:
19.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)))))
129.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify119.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06843100
133072567
250012533

prune409.0ms

Filtered
171 candidates to 106 candidates (62.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1629171
Fresh314
Picked101
Done101
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
(/ (+ (- (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))

rewrite72.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)
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
31.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series325.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
158.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
127.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 (86.0ms)

IterNodesCost
06273101
131392568
250012534

prune390.0ms

Filtered
171 candidates to 102 candidates (59.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1692171
Fresh189
Picked011
Done000
Total17011181

Merged error: 0b

Counts
181 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
65×add-sqr-sqrt
60×*-un-lft-identity
49×times-frac
37×add-cbrt-cube
32×add-cube-cbrt
28×associate-*l*
26×prod-exp
20×div-exp
14×pow1 distribute-lft-out-- difference-of-squares
12×cbrt-unprod
10×cbrt-undiv associate-*r*
associate-/r*
distribute-rgt-neg-in sqrt-prod
rec-exp 1-exp associate-/l*
pow-prod-down
associate-/r/ div-inv add-log-exp
flip3-- pow-flip frac-2neg clear-num *-commutative flip-- associate-/l/ unswap-sqr
frac-times associate-+l- flip3-+ div-sub associate-*r/ associate-*l/ un-div-inv flip-+ inv-pow
Counts
4 → 163
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(/ 1 (* 3.0 a))
24.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)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
15.0ms
(/ 1 (* 3.0 a))
157.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
124.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

simplify137.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
07312744
139882146
250022075

prune387.0ms

Filtered
175 candidates to 103 candidates (58.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1741175
Fresh279
Picked011
Done011
Total17610186

Merged error: 0b

Counts
186 → 10

regimes165.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
453.0ms16234×pre80true
423.0ms4777×body160valid
363.0ms8234×body80nan
179.0ms1364×body320valid
86.0ms1859×body80valid