Details

Time bar (total: 4.1s)

sample72.0ms

Algorithm
intervals
Results
16.0ms143×body160valid
15.0ms539×pre80true
13.0ms283×body80nan
5.0ms113×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08816
18816

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 29.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series54.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050051123

prune111.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh000
Picked011
Done000
Total82486

Merged error: 0.5b

Counts
86 → 4

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

rewrite52.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-*l* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*r* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* 3.0 (* a c))
17.0ms
(/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
18.0ms
(/ (/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series106.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049043674
149043674

prune266.0ms

Filtered
103 candidates to 169 candidates (-64.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1609169
Fresh202
Picked101
Done101
Total1649173

Merged error: 0.0b

Counts
173 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac
151×add-sqr-sqrt *-un-lft-identity
87×add-cube-cbrt
32×distribute-lft-out-- difference-of-squares
28×associate-/r*
22×add-exp-log
16×distribute-rgt-neg-in sqrt-prod add-cbrt-cube
10×pow1 associate-/l*
div-exp
div-inv add-log-exp
cbrt-undiv
associate-*l* pow-prod-down prod-exp cbrt-unprod
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/
sub-neg pow-flip diff-log div-sub associate-*r* associate-/r/ *-commutative inv-pow
Counts
4 → 200
Calls
4 calls:
10.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c)
3.0ms
(- (* b b) (* 3.0 (* a c)))
14.0ms
(/ 1 (/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c))
5.0ms
(* 3.0 (* a c))

series64.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
051694613

prune255.0ms

Filtered
111 candidates to 212 candidates (-91.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2084212
Fresh448
Picked101
Done000
Total2138221

Merged error: 0b

Counts
221 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
146×times-frac
142×add-sqr-sqrt
117×*-un-lft-identity
47×add-cube-cbrt
35×distribute-lft-out--
30×difference-of-squares
17×associate-/r*
15×distribute-rgt-neg-in
13×add-exp-log
11×add-cbrt-cube div-inv
10×pow1 sqrt-prod
add-log-exp
distribute-rgt-out--
associate-/r/
flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod associate-/l*
sub-neg diff-log div-exp frac-sub sub-div
cbrt-undiv associate--l- neg-sub0 rec-exp pow-flip frac-2neg 1-exp div-sub associate-*r* clear-num *-commutative inv-pow
Counts
4 → 150
Calls
4 calls:
38.0ms
(- (/ (neg b) c) (/ (sqrt (- (* b b) (* 3.0 (* a c)))) c))
4.0ms
(- (* b b) (* 3.0 (* a c)))
40.0ms
(/ 1 (- (/ (neg b) c) (/ (sqrt (- (* b b) (* 3.0 (* a c)))) c)))
5.0ms
(* 3.0 (* a c))

series63.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049613470
149613470

prune359.0ms

Filtered
91 candidates to 162 candidates (-78.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1611162
Fresh167
Picked011
Done000
Total1628170

Merged error: 0b

Counts
170 → 8

regimes193.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 (1.0ms)

IterNodesCost
01415
11415

end0.0ms

sample2.0s

Algorithm
intervals
Results
446.0ms16450×pre80true
426.0ms4494×body160valid
397.0ms8450×body80nan
169.0ms3506×body80valid

Profiling

Loading profile data...