Details

Time bar (total: 5.7s)

analyze581.0ms

Algorithm
search
sampling

Space saved by range analysis: 99.998267%

Space saved by search: 99.999093%

Guaranteed chance to sample good point: 88.065532%

sample44.0ms

Algorithm
intervals
Results
15.0ms160×body160valid
8.0ms38×body320valid
7.0ms267×pre80true
3.0ms58×body80valid
1.0ms11×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.0b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.2b
(- (* b b) (* (* 4.0 a) c))
37.6b
(+ (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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series68.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
9.0ms
(- (* b b) (* (* 4.0 a) c))
18.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0396773
11550683
25001673

prune130.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77582
Fresh000
Picked101
Done000
Total78583

Merged error: 0.2b

Counts
83 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(- (* 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)))))

rewrite49.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))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
17.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series135.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(- (* b b) (* (* 4.0 a) c))
47.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
63.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify112.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06432666
132102408
250012396

prune312.0ms

Filtered
106 candidates to 163 candidates (-53.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1549163
Fresh314
Picked101
Done000
Total15810168

Merged error: 0.0b

Counts
168 → 10

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
0.3b
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
0.5b
(* (* b b) (* b b))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
121×pow1
89×add-sqr-sqrt
58×times-frac
57×*-un-lft-identity
36×pow-prod-up difference-of-squares
33×add-cube-cbrt
26×add-exp-log pow-prod-down add-cbrt-cube
22×pow-sqr
21×sqr-pow
18×pow-plus
13×pow2 associate-/l*
12×distribute-lft-out--
11×prod-exp associate-/r* cbrt-unprod
unpow-prod-down
sqrt-prod
distribute-rgt-neg-in associate-/r/ associate-/l/ add-log-exp
pow-unpow pow-pow pow-exp rem-cube-cbrt
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv
cube-mult pow-to-exp unpow3 div-sub cube-prod swap-sqr associate-*r* associate-*l* *-commutative unswap-sqr
Counts
4 → 199
Calls
4 calls:
46.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
24.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
9.0ms
(* (* b b) (* b b))
8.0ms
(pow (* (* 4.0 a) c) 3)

series147.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
34.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
3.0ms
(* (* b b) (* b b))
9.0ms
(pow (* (* 4.0 a) c) 3)

simplify167.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (131.0ms)

IterNodesCost
07853873
139383628
250013623

prune610.0ms

Filtered
118 candidates to 211 candidates (-78.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2092211
Fresh189
Picked101
Done000
Total21110221

Merged error: 0.0b

Counts
221 → 10

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
0.3b
(* (pow (* 4.0 a) 3) (pow c 3))
0.3b
(/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
0.5b
(* (* b b) (* b b))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
115×pow1
67×add-sqr-sqrt
45×*-un-lft-identity
40×add-exp-log
37×times-frac
36×pow-prod-up
29×add-cube-cbrt
24×pow-prod-down
23×prod-exp
22×pow-sqr add-cbrt-cube
18×pow-plus
13×pow2 associate-*r*
12×difference-of-squares
11×associate-/r*
10×pow-exp
associate-*l* cbrt-unprod unswap-sqr
sqrt-prod distribute-lft-out-- sqr-pow
pow-to-exp
unpow-prod-down cube-prod associate-/l*
distribute-rgt-neg-in associate-/r/ associate-/l/ add-log-exp
cbrt-undiv cube-mult flip3-- frac-2neg flip3-+ unpow3 div-exp clear-num *-commutative flip-- flip-+ div-inv
div-sub swap-sqr
Counts
4 → 196
Calls
4 calls:
32.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
9.0ms
(* (pow (* 4.0 a) 3) (pow c 3))
20.0ms
(/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
9.0ms
(* (* b b) (* b b))

series153.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b)))))))
13.0ms
(* (pow (* 4.0 a) 3) (pow c 3))
37.0ms
(/ (- (pow b 6) (* (pow (* 4.0 a) 3) (pow c 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
3.0ms
(* (* b b) (* b b))

simplify160.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
07573274
141303017
250012989

prune669.0ms

Filtered
115 candidates to 208 candidates (-80.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2062208
Fresh279
Picked101
Done000
Total2099218

Merged error: 0b

Counts
218 → 9

regimes249.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04337
14537
24537

end0.0ms

analyze575.0ms

Algorithm
search
sampling

Space saved by range analysis: 99.998267%

Space saved by search: 99.999093%

Guaranteed chance to sample good point: 88.065532%

sample1.2s

Algorithm
intervals
Results
473.0ms4832×body160valid
250.0ms8535×pre80true
197.0ms1354×body320valid
90.0ms1814×body80valid
26.0ms535×body80nan

Profiling

Loading profile data...