Details

Time bar (total: 4.3s)

sample46.0ms

Algorithm
intervals
Results
10.0ms186×body80valid
8.0ms40×body2560valid
5.0ms31×body1280valid
3.0ms96×body80nan
2.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
0.9b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
28.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
75.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
31.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series270.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
40.0ms
(- (* b b) (* 4.0 (* a c)))
73.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
67.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify77.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05903305
121012212
250022128

prune352.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 8.5b

localize7.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune19.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 8.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt b)
0.8b
(- (* b b) (* 4.0 (* a c)))
23.1b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
28.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod sqrt-prod
flip3-- sqrt-div flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg pow1/3 diff-log prod-diff fma-udef
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt b)
9.0ms
(- (* b b) (* 4.0 (* a c)))
0.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series414.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt b)
40.0ms
(- (* b b) (* 4.0 (* a c)))
138.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (sqrt (- (* b b) (* 4.0 (* a c))))))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify102.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0246491
1810444
23581426
35001423

prune263.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 8.5b

localize24.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* 4.0 (* a c)))
5.6b
(exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))
22.9b
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))))
28.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
log-prod exp-prod exp-sum sqrt-prod add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- log-pow flip--
log-div sqrt-pow1 pow1/2 exp-diff
sub-neg rem-sqrt-square fma-neg diff-log prod-diff fma-udef rem-exp-log
Counts
4 → 67
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
13.0ms
(exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))
0.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* 4.0 (* a c)))
67.0ms
(exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))
127.0ms
(fma (- (* (cbrt b) (cbrt b))) (cbrt b) (- (exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify95.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0262681
1782630
23362603
35001584

prune272.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 8.5b

regimes561.0ms

Accuracy

87.1% (4.4b remaining)

Error of 10.2b against oracle of 5.7b and baseline of 40.0b

bsearch97.0ms

Steps
ItersRangePoint
6
4.231934083523606e+52
2.717919616353272e+53
2.678238127073729e+53
9
-1.1345718484749e-82
-1.1127264026331332e-88
-1.3696943711263392e-83

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03820
13820

end0.0ms

sample1.2s

Algorithm
intervals
Results
237.0ms1050×body2560valid
222.0ms5880×body80valid
164.0ms921×body1280valid
94.0ms2795×body80nan
58.0ms426×body640valid
32.0ms111×body5120valid
24.0ms231×body320valid
7.0ms103×body160valid