Details

Time bar (total: 6.1s)

sample54.0ms

Algorithm
intervals
Results
11.0ms155×body160valid
10.0ms545×pre80true
10.0ms289×body80nan
3.0ms31×body320valid
3.0ms70×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: 41.3b

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.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
37.8b
(+ (- 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))
39.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
50.0ms
(- (* b b) (* (* 4.0 a) c))
109.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25002674

prune190.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
45.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
26.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series460.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.0ms
(- (* b b) (* (* 4.0 a) c))
151.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
185.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06422664
131752400
250032388

prune433.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))) (* 2.0 a))
0.2b
(/ (+ 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.4b
(/ (- (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)))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
130×add-sqr-sqrt times-frac
118×pow1
92×*-un-lft-identity
66×pow-prod-down
56×add-exp-log add-cbrt-cube
52×add-cube-cbrt
42×difference-of-squares
39×associate-/l*
29×prod-exp cbrt-unprod
20×sqrt-prod distribute-lft-out--
12×associate-/r*
10×distribute-rgt-neg-in
pow-sqr pow-prod-up
cbrt-undiv div-exp associate-/r/
div-inv associate-/l/
unpow-prod-down flip3-- flip-- add-log-exp sqr-pow
frac-2neg pow-plus clear-num
flip3-+ flip-+
pow2 div-sub swap-sqr associate-*r* associate-*l* *-commutative
Counts
4 → 235
Calls
4 calls:
112.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)))))) (* 2.0 a))
76.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))))))
20.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
30.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
190.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)))))) (* 2.0 a))
233.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))))))
91.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
43.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09935277
150014702

prune733.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
95×add-exp-log
69×times-frac
63×add-cbrt-cube
50×add-sqr-sqrt *-un-lft-identity
45×div-exp
31×prod-exp
27×cbrt-undiv
26×add-cube-cbrt
17×cbrt-unprod
13×associate-/r*
12×distribute-lft-out-- difference-of-squares
11×associate-/l*
1-exp
div-inv
distribute-rgt-neg-in sqrt-prod add-log-exp
pow1
frac-2neg clear-num associate-/l/
flip3-- flip--
sub-neg diff-log div-sub associate-*r/ associate-/r/
Counts
4 → 150
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
28.0ms
(/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))
34.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))

series448.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
130.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
170.0ms
(/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))
104.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))

simplify120.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09142511
149282068
250022068

prune356.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

regimes114.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13115
23115

end0.0ms

sample1.5s

Algorithm
intervals
Results
344.0ms4852×body160valid
305.0ms16218×pre80true
284.0ms8218×body80nan
142.0ms1351×body320valid
67.0ms1797×body80valid