Details

Time bar (total: 5.1s)

sample44.0ms

Algorithm
intervals
Results
9.0ms28×body2560valid
7.0ms183×body80valid
5.0ms29×body1280valid
3.0ms89×body80nan
3.0ms22×body640valid
1.0msbody5120valid
0.0msbody160valid
0.0msbody320valid

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: 36.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
1.0b
(- (* b b) (* (* 4.0 a) c))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite104.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:
66.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
49.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25001674

prune224.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.5b

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.9b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
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))
58.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
158.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
198.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06512692
131392439
250022426

prune446.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.5b

localize18.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.5b
(/ (* 2.0 a) (* 4.0 (* a c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
*-un-lft-identity prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-cube-cbrt
sqrt-prod
flip3-- diff-log flip--
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 times-frac pow1/2 neg-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 70
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
25.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
85.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0429638
12471542
25003534

prune224.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 1) (* (* (/ 2.0 4.0) (/ 1 c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
1.0b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
295×add-exp-log
166×div-exp
119×prod-exp
64×1-exp
60×add-cbrt-cube
34×rec-exp
31×times-frac
26×cbrt-undiv
24×add-sqr-sqrt
23×*-un-lft-identity
19×add-cube-cbrt
18×cbrt-unprod
14×associate-/r/
13×associate-/l*
11×frac-times
10×add-log-exp
flip3-- flip--
associate-*l/
pow1 associate-*r/
sqrt-prod
diff-log un-div-inv div-inv
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 neg-log clear-num associate-/r* associate-/l/
Counts
4 → 179
Calls
4 calls:
67.0ms
(/ (/ 1 1) (* (* (/ 2.0 4.0) (/ 1 c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
25.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series400.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(/ (/ 1 1) (* (* (/ 2.0 4.0) (/ 1 c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
47.0ms
(- (* b b) (* (* 4.0 a) c))
84.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
78.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011722503
150012016

prune287.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 5.5b

regimes181.0ms

Accuracy

95% (1.2b remaining)

Error of 6.7b against oracle of 5.5b and baseline of 30.1b

bsearch226.0ms

Steps
ItersRangePoint
8
3.1248942757642245e+89
1.1714167766929137e+92
6.09240124692818e+90
12
-2.833440705943036e-251
-4.668939852252329e-295
-2.1023086245622604e-293
10
-7.651517840437919e+135
-3.890563902308465e+123
-4.739386840053889e+131

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05029
15029

end0.0ms

sample1.2s

Algorithm
intervals
Results
242.0ms1058×body2560valid
221.0ms5792×body80valid
167.0ms935×body1280valid
104.0ms2915×body80nan
71.0ms453×body640valid
27.0ms101×body5120valid
23.0ms225×body320valid
8.0ms113×body160valid