Details

Time bar (total: 3.7s)

sample100.0ms

Algorithm
intervals
Results
17.0ms119×body320valid
9.0ms312×pre80true
9.0ms92×body160valid
4.0ms23×body640valid
3.0ms56×body80nan
1.0ms22×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(* (* 3.0 a) c)
25.4b
(+ (neg 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))
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series54.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0417711
11922611
25002602

prune116.0ms

Filtered
85 candidates to 59 candidates (30.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh000
Picked101
Done000
Total83386

Merged error: 0.1b

Counts
86 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 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:
56.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(* 3.0 (* a c))
3.0ms
(* (* 3.0 a) c)
42.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify118.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06282482
133262152
250032149

prune259.0ms

Filtered
169 candidates to 104 candidates (38.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1645169
Fresh112
Picked101
Done000
Total1666172

Merged error: 0b

Counts
172 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
224×times-frac
162×add-sqr-sqrt
136×*-un-lft-identity
113×add-exp-log
98×add-cube-cbrt
88×associate-*r*
77×add-cbrt-cube
56×div-exp
34×cbrt-undiv
30×prod-exp
27×associate-*l*
20×cbrt-unprod
18×distribute-lft-out-- difference-of-squares
14×div-inv
11×pow1
distribute-rgt-neg-in sqrt-prod
associate-/r* associate-/r/ unswap-sqr
associate-/l*
rec-exp 1-exp pow-prod-down add-log-exp
flip3-- flip--
frac-2neg clear-num *-commutative
frac-times associate-*r/ associate-*l/
Counts
4 → 250
Calls
4 calls:
4.0ms
(/ 3.0 (* a c))
6.0ms
(/ 3.0 (/ 3.0 (* a c)))
5.0ms
(* (* 3.0 a) c)
58.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series53.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013353162
150012477

prune392.0ms

Filtered
262 candidates to 162 candidates (38.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2602262
Fresh235
Picked011
Done000
Total2626268

Merged error: 0b

Counts
268 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
11×pow1 *-un-lft-identity
10×associate-*r*
prod-exp cbrt-unprod
add-cube-cbrt
add-log-exp
cbrt-undiv associate-*r/ div-exp associate-*l* pow-prod-down
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-/r/ *-commutative distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in frac-2neg times-frac diff-log clear-num associate-/r* sqrt-prod div-inv associate-/l* unswap-sqr
Counts
4 → 81
Calls
4 calls:
11.0ms
(* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
13.0ms
(/ (* a c) (* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
5.0ms
(* (* 3.0 a) c)

series82.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0442827
12571641
25001631

prune115.0ms

Filtered
93 candidates to 59 candidates (36.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh224
Picked101
Done011
Total95499

Merged error: 0b

Counts
99 → 4

regimes193.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0208
1228
2228

end0.0ms

sample1.6s

Algorithm
intervals
Results
506.0ms3619×body320valid
288.0ms2993×body160valid
274.0ms9479×pre80true
93.0ms503×body640valid
74.0ms1479×body80nan
46.0ms885×body80valid

Profiling

Loading profile data...