Details

Time bar (total: 5.3s)

sample45.0ms

Algorithm
intervals
Results
8.0ms35×body2560valid
8.0ms198×body80valid
6.0ms15×body640valid
4.0ms24×body1280valid
3.0ms92×body80nan
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite62.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:
39.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series374.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
106.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
53.0ms
(- (* b b) (* (* 4.0 a) c))
89.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0438854
11702750
25001735

prune371.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series360.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) a)
97.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
53.0ms
(- (* b b) (* (* 4.0 a) c))
88.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0402977
11530896
25001874

prune396.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.8b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
13×add-exp-log associate-*r*
11×times-frac
10×fma-def add-log-exp
add-cbrt-cube
pow1
distribute-rgt-neg-in associate-*l*
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
distribute-lft-neg-in flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- sqrt-div div-exp associate-*l/ sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 fma-neg diff-log 1-exp associate-*r/ prod-diff pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 104
Calls
4 calls:
54.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 a))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series389.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 a))
106.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
58.0ms
(- (* b b) (* (* 4.0 a) c))
91.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04911027
12221894
25001853

prune423.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 6.8b

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.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:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (* b b) (* (* 4.0 a) c))
64.0ms
(- (* b b) (* (* 4.0 a) c))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0170540
1665506
22968498
35001488

prune324.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 6.8b

regimes428.0ms

Accuracy

83.7% (4.8b remaining)

Error of 10.2b against oracle of 5.4b and baseline of 34.6b

bsearch151.0ms

Steps
ItersRangePoint
9
3.6106127752583374e-71
6.7695755698382385e-65
9.390367471089922e-69
9
-2.7171447498643977e+47
-1.283394309384587e+40
-2.6737765706499252e+47

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04119
14119

end0.0ms

sample1.2s

Algorithm
intervals
Results
260.0ms1117×body2560valid
240.0ms5730×body80valid
172.0ms928×body1280valid
109.0ms2856×body80nan
69.0ms473×body640valid
28.0ms100×body5120valid
27.0ms244×body320valid
8.0ms108×body160valid