Details

Time bar (total: 5.9s)

sample55.0ms

Algorithm
intervals
Results
9.0ms137×body160valid
9.0ms540×pre80true
9.0ms284×body80nan
4.0ms119×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.4b

localize11.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))
28.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

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

series281.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
40.0ms
(- (* b b) (* (* 4.0 a) c))
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
73.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

prune192.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.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 b) (* (* 4.0 a) c))
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
84.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
59.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series427.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
142.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
169.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify116.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06422664
131752400
250032388

prune434.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (- (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.8b
(pow (* (* 4.0 a) c) 3)

rewrite313.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:
159.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))))
99.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
32.0ms
(* (* b b) (* b b))
16.0ms
(pow (* (* 4.0 a) c) 3)

series277.0ms

Counts
4 → 12
Calls
4 calls:
121.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))))
72.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
30.0ms
(* (* b b) (* b b))
55.0ms
(pow (* (* 4.0 a) c) 3)

simplify146.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (125.0ms)

IterNodesCost
07022174
138412029
250012015

prune643.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
152×add-exp-log
92×add-cbrt-cube
73×prod-exp
46×div-exp
41×cbrt-unprod
26×cbrt-undiv
18×add-sqr-sqrt
16×*-un-lft-identity
pow1
add-cube-cbrt rec-exp 1-exp add-log-exp
associate-*r*
flip3-- times-frac associate-*l* associate-/r/ flip--
frac-times associate-*r/ associate-/l* distribute-lft-out-- difference-of-squares
sub-neg div-inv
distribute-rgt-in pow-flip distribute-rgt-neg-in frac-2neg distribute-lft-in diff-log pow-prod-down associate-*l/ clear-num associate-/r* sqrt-prod
associate--l- neg-sub0 neg-log *-commutative inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
130.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
129.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series308.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
10.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
143.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
81.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
07732238
146331689
250011671

prune267.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes134.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02211
12211

end0.0ms

sample1.4s

Algorithm
intervals
Results
285.0ms4389×body160valid
280.0ms16772×pre80true
279.0ms8772×body80nan
122.0ms3610×body80valid
0.0msbody320valid