Details

Time bar (total: 6.2s)

sample50.0ms

Algorithm
intervals
Results
11.0ms201×body80valid
7.0ms24×body2560valid
7.0ms26×body1280valid
5.0ms97×body80nan
3.0ms13×body640valid
2.0ms14×body320valid
0.0msbody5120valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite110.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:
67.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
39.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
63.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438854
11702750
25001735

prune479.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite91.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-/r*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff neg-log prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 89
Calls
4 calls:
44.0ms
(/ (* 2.0 a) (+ (- 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))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
45.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
62.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0401830
11666721
25001704

prune478.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
add-exp-log distribute-rgt-neg-in
pow1 add-cbrt-cube
associate-/r*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod associate-/l*
flip3-- flip3-+ sqrt-div div-exp sum-log associate-/r/ flip-- flip-+
cbrt-undiv +-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square rec-exp pow-flip frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log 1-exp prod-diff neg-log clear-num div-inv inv-pow
Counts
4 → 103
Calls
4 calls:
39.0ms
(/ 1 (+ (- 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))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
40.0ms
(- (* b b) (* (* 4.0 a) c))
73.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
64.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0392978
11592874
25001836

prune507.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.1b

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
20×fma-def *-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt add-log-exp
distribute-rgt-neg-in
pow1 distribute-lft-neg-in sqrt-prod
add-exp-log expm1-log1p-u sqrt-div sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 88
Calls
4 calls:
22.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0ms
(+ (- b) (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)))

series274.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0234668
1888610
23709588
35001584

prune755.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 5.1b

regimes325.0ms

Accuracy

89.2% (3.2b remaining)

Error of 8.6b against oracle of 5.5b and baseline of 34.8b

bsearch209.0ms

Steps
ItersRangePoint
10
3.61186574816217e+49
1.3635073763102398e+60
4.738161845489164e+57
5
4.4786855603940777e-166
1.3508283474281595e-165
1.069406551145319e-165
5
-1.1878056610710861e+97
-3.0473552791360753e+96
-4.1614218427535572e+96

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04929
15129
25129

end0.0ms

sample1.5s

Algorithm
intervals
Results
336.0ms1081×body2560valid
304.0ms5776×body80valid
231.0ms912×body1280valid
158.0ms3053×body80nan
98.0ms483×body640valid
45.0ms114×body5120valid
40.0ms268×body320valid
10.0ms103×body160valid