Details

Time bar (total: 5.6s)

sample52.0ms

Algorithm
intervals
Results
12.0ms269×body80nan
10.0ms525×pre80true
9.0ms136×body160valid
4.0ms120×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.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
105.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
49.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25002674

prune192.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
7.0ms
(- (* b b) (* (* 4.0 a) c))
18.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series463.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
49.0ms
(- (* b b) (* (* 4.0 a) c))
148.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
186.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify117.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06422664
131752400
250032388

prune438.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

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.4b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
0.5b
(* (* b b) (* b b))
0.7b
(pow (* (* 4.0 a) c) 3)

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
130×pow1
49×add-sqr-sqrt
36×pow-prod-up
33×add-exp-log add-cbrt-cube
32×pow-prod-down
30×times-frac
29×*-un-lft-identity
24×difference-of-squares
22×pow-sqr
21×add-cube-cbrt sqr-pow
18×pow-plus
17×prod-exp cbrt-unprod
13×pow2
10×associate-/l*
unpow-prod-down
associate-*r* distribute-lft-out-- add-log-exp
pow-unpow pow-pow pow-exp associate-/r* rem-cube-cbrt
flip3-+ associate-*r/ associate-*l* associate-/r/ *-commutative flip-+ associate-/l/
cbrt-undiv distribute-rgt-in cube-mult pow-to-exp flip3-- frac-2neg distribute-lft-in unpow3 div-sub cube-prod swap-sqr div-exp clear-num flip-- div-inv unswap-sqr
Counts
4 → 173
Calls
4 calls:
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))))
14.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
9.0ms
(* (* b b) (* b b))
6.0ms
(pow (* (* 4.0 a) c) 3)

series298.0ms

Counts
4 → 12
Calls
4 calls:
130.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))))
76.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
31.0ms
(* (* b b) (* b b))
60.0ms
(pow (* (* 4.0 a) c) 3)

simplify145.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (125.0ms)

IterNodesCost
07022174
138412029
250012015

prune636.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (pow b 6) (* 64.0 (* (pow a 3) (pow c 3)))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
0.4b
(* (pow a 3) (pow c 3))
0.4b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
0.5b
(* (* b b) (* b b))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
124×pow1
43×add-sqr-sqrt
39×add-exp-log
36×pow-prod-up
30×pow-prod-down
29×add-cbrt-cube
23×prod-exp
22×pow-sqr
19×add-cube-cbrt *-un-lft-identity
18×pow-plus
17×unswap-sqr
16×associate-*r*
15×cbrt-unprod
14×unpow-prod-down cube-prod associate-*l*
13×pow2
10×sqr-pow
times-frac
pow-to-exp pow-exp
add-log-exp
associate-/r* *-commutative associate-/l*
cube-mult flip3-+ unpow3 associate-*r/ associate-/r/ flip-+ associate-/l/
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-sub swap-sqr div-exp clear-num flip-- div-inv
Counts
4 → 179
Calls
4 calls:
21.0ms
(/ (- (pow b 6) (* 64.0 (* (pow a 3) (pow c 3)))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
10.0ms
(* (pow a 3) (pow c 3))
13.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
9.0ms
(* (* b b) (* b b))

series303.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(/ (- (pow b 6) (* 64.0 (* (pow a 3) (pow c 3)))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
67.0ms
(* (pow a 3) (pow c 3))
78.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
32.0ms
(* (* b b) (* b b))

simplify146.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
06991558
143171399
250021399

prune641.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes178.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
04527
14727
24727

end0.0ms

sample1.4s

Algorithm
intervals
Results
322.0ms4500×body160valid
304.0ms16533×pre80true
286.0ms8533×body80nan
126.0ms3500×body80valid