Details

Time bar (total: 5.1s)

sample324.0ms

Algorithm
intervals
Results
7.0ms33×body2560valid
6.0ms186×body80valid
4.0ms28×body1280valid
2.0ms86×body80nan
2.0ms15×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
1.8b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
64.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (* b_2 b_2) (* a c))
20.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
30.0ms
(- (* b_2 b_2) (* a c))
65.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
67.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0358790
11261727
25001705

prune237.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.2b

localize11.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.1b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
11.4b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
158×add-sqr-sqrt
157×*-un-lft-identity
89×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
20×sqrt-prod
17×distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
add-log-exp
flip3-- flip--
div-inv
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 206
Calls
4 calls:
22.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
78.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
54.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series395.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
125.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
152.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07413477
133293295
250013269

prune502.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.1b

localize15.0ms

Local error

Found 4 expressions with local error:

3.1b
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
22.4b
(sqrt (- (* b_2 b_2) (* a c)))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
55×add-sqr-sqrt
52×*-un-lft-identity
36×add-cube-cbrt
29×add-exp-log
28×cbrt-prod
20×add-cbrt-cube
16×associate-/l*
15×cbrt-undiv div-exp
13×sqrt-prod
cbrt-div associate-/r/ distribute-lft-out-- difference-of-squares
pow1 flip3-- flip--
sqrt-div
div-inv
distribute-rgt-neg-in prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r*
frac-2neg clear-num associate-/l/
Counts
4 → 135
Calls
4 calls:
111.0ms
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
54.0ms
(sqrt (- (* b_2 b_2) (* a c)))
55.0ms
(sqrt (- (* b_2 b_2) (* a c)))
52.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06973506
131983279
250023261

prune469.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b_2 b_2) (* a c))
1.4b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
16.0b
(/ a (* a c))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt
pow1
sqrt-prod
flip3-- times-frac diff-log flip-- associate-/l*
cbrt-undiv sub-neg sqrt-div div-exp 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 prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 66
Calls
4 calls:
8.0ms
(- (* b_2 b_2) (* a c))
22.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(/ a (* a c))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series152.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* b_2 b_2) (* a c))
63.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(/ a (* a c))
54.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify136.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0294462
11070416
24891406
35002406

prune175.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 6.1b

regimes278.0ms

Accuracy

83.8% (4.3b remaining)

Error of 9.9b against oracle of 5.6b and baseline of 32.0b

bsearch82.0ms

Steps
ItersRangePoint
10
7.028227535098625e-82
3.98361551741597e-66
9.800093806317492e-70
8
-5.3591540899030606e+132
-7.727081080122102e+128
-4.2967115055034046e+132

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample995.0ms

Algorithm
intervals
Results
181.0ms5865×body80valid
179.0ms1051×body2560valid
129.0ms933×body1280valid
77.0ms2810×body80nan
52.0ms457×body640valid
28.0ms113×body5120valid
19.0ms232×body320valid
7.0ms120×body160valid