Details

Time bar (total: 6.5s)

sample58.0ms

Algorithm
intervals
Results
13.0ms531×pre80true
11.0ms162×body160valid
9.0ms275×body80nan
4.0ms40×body320valid
2.0ms54×body80valid

simplify12.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: 43.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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)))
37.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series305.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25002674

prune194.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

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

rewrite91.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))
44.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)))))

series453.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.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))
182.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06422664
131752400
250032388

prune434.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
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)

rewrite148.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:
43.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
78.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))))
12.0ms
(* (* b b) (* b b))
6.0ms
(pow (* (* 4.0 a) c) 3)

series296.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2)))
127.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))))
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 (123.0ms)

IterNodesCost
07022174
138412029
250012015

prune635.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize42.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (pow b 6) (pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
0.5b
(* (* b b) (* b b))
2.0b
(pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3)))
4.4b
(pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
121×pow1
84×add-sqr-sqrt
48×times-frac difference-of-squares
47×unpow-prod-down
43×sqr-pow
36×*-un-lft-identity pow-prod-up
31×add-exp-log
28×add-cube-cbrt
26×pow-prod-down
22×pow-sqr
18×pow-plus add-cbrt-cube
16×associate-/l*
14×prod-exp
13×pow2
11×pow-exp
cbrt-unprod
pow-unpow
pow-pow distribute-lft-out-- add-log-exp
cbrt-prod pow-to-exp associate-/r*
associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative flip-- flip-+ div-inv unswap-sqr
Counts
4 → 190
Calls
4 calls:
86.0ms
(/ (- (pow b 6) (pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
12.0ms
(* (* b b) (* b b))
6.0ms
(pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3)))
3.0ms
(pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))

series692.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(/ (- (pow b 6) (pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))) (+ (* (* (* 4.0 a) c) (+ (* (* 4.0 a) c) (pow b 2))) (* (* b b) (* b b))))
36.0ms
(* (* b b) (* b b))
155.0ms
(pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3)))
216.0ms
(pow (pow (* (* 4.0 a) c) (* (cbrt 3) (cbrt 3))) (cbrt 3))

simplify97.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07753815
130313674
250013631

prune836.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes154.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04231
14431
24431

end0.0ms

sample1.5s

Algorithm
intervals
Results
343.0ms4789×body160valid
299.0ms16372×pre80true
283.0ms8372×body80nan
143.0ms1339×body320valid
67.0ms1872×body80valid