Details

Time bar (total: 7.0s)

sample64.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999783%

Guaranteed chance to sample good point: 0%

Results
15.0ms522×pre80true
12.0ms266×body80nan
12.0ms124×body160valid
6.0ms132×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.9b

Counts
2 → 1

localize22.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))
25.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

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

series53.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0417711
11922611
25001602

prune126.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.5b

Counts
86 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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
associate-*l* pow-prod-down associate-/l/
frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*r* *-commutative flip-+
Counts
4 → 151
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* 3.0 (* a c))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series114.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
06512507
133122195
250012183

prune302.0ms

Filtered
102 candidates to 163 candidates (-59.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1549163
Fresh404
Picked101
Done000
Total1599168

Merged error: 0.0b

Counts
168 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
880×times-frac
380×add-sqr-sqrt *-un-lft-identity
236×add-cube-cbrt
198×add-exp-log
122×div-exp
120×associate-/l*
90×add-cbrt-cube
72×distribute-lft-out-- difference-of-squares
51×cbrt-undiv
36×distribute-rgt-neg-in prod-exp sqrt-prod
31×associate-/r*
27×div-inv
15×rec-exp 1-exp
14×cbrt-unprod
add-log-exp
pow1
frac-2neg clear-num associate-/r/
div-sub associate-/l/
sub-neg flip3-- pow-flip diff-log flip-- inv-pow
Counts
4 → 475
Calls
4 calls:
21.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c)))
4.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))
31.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))) (* 3.0 a))

series113.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
487 → 487
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
017548758
150027871

prune888.0ms

Filtered
242 candidates to 487 candidates (-101.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4843487
Fresh268
Picked011
Done000
Total48610496

Merged error: 0b

Counts
496 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
1619×times-frac
972×add-sqr-sqrt
953×*-un-lft-identity
651×add-cube-cbrt
244×associate-*l*
150×distribute-lft-out-- difference-of-squares
142×add-exp-log
83×associate-/l*
79×div-exp
75×distribute-rgt-neg-in sqrt-prod
72×add-cbrt-cube
36×div-inv
35×cbrt-undiv
32×prod-exp
28×associate-/r*
16×cbrt-unprod
10×rec-exp 1-exp
associate-/r/
pow1 associate-*r*
add-log-exp unswap-sqr
frac-2neg clear-num
frac-times sub-neg flip3-- pow-flip diff-log associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- associate-/l/ inv-pow
Counts
4 → 785
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
70.0ms
(* (/ (/ 1 (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0)) 3.0) (/ (* a c) a))
14.0ms
(/ 1 (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0))
29.0ms
(/ (/ 1 (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0)) 3.0)

series102.0ms

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

simplify172.0ms

Algorithm
egg-herbie
Counts
797 → 797
Iterations

Useful iterations: 1 (50.0ms)

IterNodesCost
0262214293
1500113061

prune2.1s

Filtered
401 candidates to 797 candidates (-98.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New7970797
Fresh088
Picked011
Done011
Total79710807

Merged error: 0b

Counts
807 → 10

regimes232.0ms

Accuracy

0% (0.5b 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
02413
12413

end0.0ms

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999783%

Guaranteed chance to sample good point: 0%

Results
468.0ms16337×pre80true
427.0ms4406×body160valid
389.0ms8337×body80nan
182.0ms3594×body80valid

Profiling

Loading profile data...