Details

Time bar (total: 4.6s)

sample51.0ms

Algorithm
intervals
Results
10.0ms42×body2560valid
9.0ms30×body1280valid
8.0ms183×body80valid
4.0ms90×body80nan
3.0ms18×body640valid
1.0msbody5120valid
0.0msbody320valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
25.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
70.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series288.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0438854
11658750
25001735

prune327.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite45.0ms

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

series244.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
67.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
68.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0170564
1622537
22864531
35001524

prune320.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
0.6b
(- (* b b) (* 4.0 (* a c)))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite45.0ms

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

series217.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* 4.0 (* a c)))
45.0ms
(- (* b b) (* 4.0 (* a c)))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
67.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify90.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0170540
1622506
22864498
35001488

prune300.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* 4.0 (* a c)))
0.6b
(- (* b b) (* 4.0 (* a c)))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
26.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite45.0ms

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

series219.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* 4.0 (* a c)))
44.0ms
(- (* b b) (* 4.0 (* a c)))
64.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
68.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0170540
1622506
22864498
35001488

prune290.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 6.1b

regimes263.0ms

Accuracy

83.8% (4.7b remaining)

Error of 10.4b against oracle of 5.6b and baseline of 34.9b

bsearch130.0ms

Steps
ItersRangePoint
10
2.2777662256792016e-86
1.8614563384609176e-67
4.053820360384825e-79
9
-1.6984962234060193e+81
-8.8250320263031e+72
-1.5662716268246972e+80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03525
13525

end0.0ms

sample1.3s

Algorithm
intervals
Results
267.0ms1127×body2560valid
243.0ms5786×body80valid
190.0ms916×body1280valid
128.0ms2998×body80nan
67.0ms438×body640valid
30.0ms105×body5120valid
28.0ms222×body320valid
9.0ms117×body160valid