Details

Time bar (total: 20.0s)

sample76.0ms

Algorithm
intervals
Results
16.0ms114×body320valid
15.0ms519×pre80true
13.0ms263×body80nan
9.0ms91×body160valid
3.0ms16×body640valid
2.0ms35×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 51.8b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
46.0ms
(- (* b b) (* (* 4.0 a) c))
103.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify49.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25002674

prune172.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0.1b

Counts
83 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

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

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

series432.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
43.0ms
(- (* b b) (* (* 4.0 a) c))
173.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- 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))

simplify118.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06422664
131752400
250022388

prune378.0ms

Filtered
163 candidates to 106 candidates (65.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1576163
Fresh112
Picked011
Done000
Total1588166

Merged error: 0b

Counts
166 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ 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)))))
0.3b
(/ (* 2.0 a) (* 4.0 (* a c)))

rewrite55.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
14×add-sqr-sqrt
12×*-un-lft-identity
pow1
add-cube-cbrt rec-exp 1-exp
associate-*r*
add-log-exp
flip3-- times-frac associate-*l* associate-/r/ flip--
frac-times associate-*r/ associate-/l*
sub-neg div-inv
distribute-rgt-in pow-flip frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num associate-/r* distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in diff-log sqrt-prod *-commutative inv-pow unswap-sqr
Counts
4 → 139
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
18.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
7.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))

series282.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
140.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
84.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
12.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07952125
150011586

prune241.0ms

Filtered
151 candidates to 72 candidates (47.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1501151
Fresh156
Picked101
Done011
Total1527159

Merged error: 0b

Counts
159 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite953.0ms

Algorithm
rewrite-expression-head
Rules
20548×times-frac
9815×add-sqr-sqrt *-un-lft-identity
7499×add-cube-cbrt
1158×distribute-lft-out-- difference-of-squares
879×div-inv
621×associate-/l*
579×distribute-rgt-neg-in sqrt-prod
200×add-exp-log
169×div-exp
129×associate-/r/
54×add-cbrt-cube
37×cbrt-undiv
30×rec-exp 1-exp
20×associate-/r*
10×add-log-exp
pow1
flip3-- diff-log flip--
sub-neg frac-2neg clear-num associate-/l/
associate--l- neg-sub0 neg-log
Counts
4 → 5377
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
180.0ms
(/ (/ (/ 1 (/ 2.0 4.0)) (/ 1 c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
27.0ms
(/ (/ 1 (/ 2.0 4.0)) (/ 1 c))

series315.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
170.0ms
(/ (/ (/ 1 (/ 2.0 4.0)) (/ 1 c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
43.0ms
(- (* b b) (* (* 4.0 a) c))
25.0ms
(/ (/ 1 (/ 2.0 4.0)) (/ 1 c))

simplify1.5s

Algorithm
egg-herbie
Counts
5389 → 5389
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
05489146349

prune12.7s

Filtered
5389 candidates to 2864 candidates (53.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New538725389
Fresh235
Picked101
Done011
Total539065396

Merged error: 0b

Counts
5396 → 6

regimes87.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample2.2s

Algorithm
intervals
Results
506.0ms3675×body320valid
473.0ms16166×pre80true
385.0ms8166×body80nan
282.0ms2913×body160valid
96.0ms520×body640valid
43.0ms892×body80valid