Details

Time bar (total: 6.1s)

sample60.0ms

Algorithm
intervals
Results
15.0ms543×pre80true
12.0ms149×body160valid
12.0ms287×body80nan
4.0ms107×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: 29.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

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

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:
5.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 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))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
47.0ms
(- (* b b) (* (* 3.0 a) c))
106.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.5b

Counts
86 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

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

series355.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* 3.0 (* a c))
164.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
124.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify108.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07013124
131902612
250032569

prune420.0ms

Filtered
165 candidates to 104 candidates (63.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15510165
Fresh404
Picked101
Done000
Total16010170

Merged error: 0b

Counts
170 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
624×times-frac
363×add-sqr-sqrt *-un-lft-identity
167×add-cube-cbrt
155×distribute-rgt-neg-in
106×distribute-lft-neg-in neg-mul-1
98×distribute-lft-out-- difference-of-squares
54×associate-/l*
49×sqrt-prod
16×add-exp-log associate-/r/ add-cbrt-cube
13×associate-/r*
pow1 flip3-- flip-- div-inv
add-log-exp
cbrt-undiv div-exp
div-sub distribute-frac-neg associate-*r* pow-prod-down prod-exp cbrt-unprod
neg-sub0 frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 460
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.0ms
(/ (/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (neg (* 3.0 a)))

series403.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
472 → 472
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0152610150
150019892

prune966.0ms

Filtered
472 candidates to 289 candidates (61.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4675472
Fresh549
Picked101
Done000
Total4739482

Merged error: 0b

Counts
482 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series394.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (137.0ms)

IterNodesCost
06411392
143191185
250011144

prune235.0ms

Filtered
123 candidates to 83 candidates (67.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh178
Picked011
Done000
Total1239132

Merged error: 0b

Counts
132 → 9

regimes158.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02414
13214
23514
33514

end0.0ms

sample1.9s

Algorithm
intervals
Results
559.0ms8746×body80nan
450.0ms16746×pre80true
378.0ms4509×body160valid
154.0ms3490×body80valid
0.0msbody320valid

Profiling

Loading profile data...