Details

Time bar (total: 6.0s)

sample56.0ms

Algorithm
intervals
Results
13.0ms137×body160valid
11.0ms314×body80nan
10.0ms570×pre80true
4.0ms119×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
27.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite58.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)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
38.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series305.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
45.0ms
(- (* b b) (* (* 4.0 a) c))
107.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0405779
11563685
25002674

prune193.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.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:
3.0ms
(- (* b b) (* (* 4.0 a) c))
46.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
28.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
149.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
186.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify112.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06422664
131752400
250032388

prune441.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))
0.3b
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c))))))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
118×pow1
71×add-sqr-sqrt
66×pow-prod-down
48×*-un-lft-identity
47×times-frac
44×add-exp-log add-cbrt-cube
28×add-cube-cbrt
27×prod-exp cbrt-unprod difference-of-squares
11×associate-/r*
10×sqrt-prod distribute-lft-out--
pow-sqr pow-prod-up associate-/l*
add-log-exp
distribute-rgt-neg-in
unpow-prod-down associate-/r/ associate-/l/ sqr-pow
flip3-- pow-plus flip--
cbrt-undiv frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv
associate--l- pow2 neg-sub0 sub-neg div-sub swap-sqr associate-*r* associate-*l* neg-log *-commutative
Counts
4 → 174
Calls
4 calls:
38.0ms
(- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))
20.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
77.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c))))))
31.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))
91.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
227.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c))))))
40.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify166.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (140.0ms)

IterNodesCost
07583169
143632809
250012802

prune521.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c)))))))
0.4b
(* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
120×pow1
67×pow-prod-down
51×add-exp-log
47×add-cbrt-cube
44×*-un-lft-identity
42×add-sqr-sqrt
31×prod-exp
29×times-frac cbrt-unprod
23×add-cube-cbrt
16×associate-*r*
10×distribute-lft-out--
pow-sqr pow-prod-up
add-log-exp difference-of-squares
associate-*l*
associate-/r*
distribute-rgt-neg-in
flip3-- associate-/r/ flip--
pow-plus div-exp associate-/l* unswap-sqr
cbrt-undiv frac-times flip3-+ diff-log associate-*l/ *-commutative flip-+ div-inv associate-/l/
associate--l- pow2 neg-sub0 sub-neg unpow-prod-down rec-exp frac-2neg 1-exp associate-*r/ swap-sqr neg-log clear-num un-div-inv sqr-pow
Counts
4 → 165
Calls
4 calls:
8.0ms
(- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))))
17.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c)))))))
37.0ms
(* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))
31.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))))
225.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c)))))))
90.0ms
(* (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (/ 1 (+ (* b b) (* (* 4.0 a) c))))
40.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify182.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (159.0ms)

IterNodesCost
08002767
148052380
250012375

prune463.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes158.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
02613
12813
22813

end0.0ms

sample1.4s

Algorithm
intervals
Results
315.0ms4461×body160valid
294.0ms16802×pre80true
292.0ms8802×body80nan
124.0ms3538×body80valid
0.0msbody320valid