Details

Time bar (total: 10.4s)

sample82.0ms

Algorithm
intervals
Results
15.0ms162×body160valid
14.0ms537×pre80true
13.0ms281×body80nan
5.0ms40×body320valid
3.0ms54×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune5.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: 43.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
40.5b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series561.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
196.0ms
(- (* b b) (* (* 4.0 a) c))
173.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
102.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0396773
11550683
25001673

prune346.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77582
Fresh000
Picked101
Done000
Total78583

Merged error: 0.2b

Counts
83 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
82×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
11×distribute-rgt-neg-in sqrt-prod
10×add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
flip3-- flip--
pow1 div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 151
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series792.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
59.0ms
(- (* b b) (* (* 4.0 a) c))
289.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
348.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify115.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06432666
132102408
250012396

prune946.0ms

Filtered
163 candidates to 106 candidates (35.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1549163
Fresh314
Picked101
Done000
Total15810168

Merged error: 0.0b

Counts
168 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))) (* 2.0 a))
0.4b
(* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log
39×add-sqr-sqrt
33×*-un-lft-identity
30×add-cbrt-cube
27×associate-*r*
24×times-frac
17×prod-exp
16×add-cube-cbrt div-exp
10×add-log-exp
cbrt-undiv cbrt-unprod
distribute-lft-out-- difference-of-squares
pow1 associate-/l/
frac-times distribute-rgt-neg-in flip3-+ associate-*l/ sqrt-prod flip-+
rec-exp flip3-- diff-log 1-exp associate-*l* flip-- unswap-sqr
sub-neg associate-*r/ associate-/r/ un-div-inv div-inv
associate--l- neg-sub0 frac-2neg pow-prod-down neg-log clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 119
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(/ (* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))) (* 2.0 a))
17.0ms
(* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

series788.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
54.0ms
(- (* b b) (* (* 4.0 a) c))
285.0ms
(/ (* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))) (* 2.0 a))
349.0ms
(* (+ 0 (* 4.0 (* a c))) (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify194.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (179.0ms)

IterNodesCost
07281753
147561423
250011407

prune713.0ms

Filtered
131 candidates to 82 candidates (37.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh189
Picked011
Done000
Total13110141

Merged error: 0b

Counts
141 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
389×times-frac
281×add-sqr-sqrt
255×*-un-lft-identity
169×add-cube-cbrt
117×add-exp-log
85×associate-*r*
77×add-cbrt-cube
62×div-exp
42×distribute-lft-out-- difference-of-squares
37×cbrt-undiv
33×associate-/l*
27×prod-exp
26×associate-*l*
21×distribute-rgt-neg-in sqrt-prod
19×div-inv
17×cbrt-unprod
16×associate-/r/
11×associate-/r*
unswap-sqr
flip3-- flip--
pow1
rec-exp 1-exp
add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 360
Calls
4 calls:
4.0ms
(/ 2.0 (* a c))
6.0ms
(/ 4.0 (/ 2.0 (* a c)))
14.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a)
54.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))

series538.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 2.0 (* a c))
23.0ms
(/ 4.0 (/ 2.0 (* a c)))
211.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a)
277.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))

simplify84.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014785494
150014891

prune2.6s

Filtered
372 candidates to 218 candidates (41.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3702372
Fresh268
Picked101
Done011
Total3739382

Merged error: 0b

Counts
382 → 9

regimes252.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
02914
13114
23114

end0.0ms

sample2.1s

Algorithm
intervals
Results
444.0ms4823×body160valid
416.0ms16248×pre80true
384.0ms8248×body80nan
190.0ms1393×body320valid
87.0ms1784×body80valid

Profiling

Loading profile data...