Details

Time bar (total: 4.8s)

sample42.0ms

Algorithm
intervals
Results
9.0ms40×body2560valid
7.0ms194×body80valid
6.0ms76×body80nan
5.0ms28×body1280valid
1.0ms10×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

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: 34.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(* (* 4.0 a) c)
0.4b
(- (* b b) (* (* 4.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

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

series217.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.0ms
(* (* 4.0 a) c)
49.0ms
(- (* b b) (* (* 4.0 a) c))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0337530
11440479
25002467

prune396.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 10.8b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
0.4b
(- (* b b) (* (* 4.0 a) c))
3.6b
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
add-log-exp
log-prod exp-sum
expm1-log1p-u exp-prod log1p-expm1-u
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
log-div flip3-- exp-diff sqrt-div flip-- distribute-lft-out
sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff log-pow *-commutative flip-+ rem-exp-log
Counts
4 → 74
Calls
4 calls:
6.0ms
(* (* 4.0 a) c)
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 4.0 a) c)
45.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0348595
11424539
25001514

prune232.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 10.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(* (* 4.0 a) c)
0.4b
(- (* b b) (* (* 4.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(* (* 4.0 a) c)
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.0ms
(* (* 4.0 a) c)
46.0ms
(- (* b b) (* (* 4.0 a) c))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0337530
11440479
25002467

prune248.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 10.7b

localize17.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.5b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.4b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
16.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
42.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
25.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series464.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
142.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
172.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify144.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
08295119
137633863
250013860

prune543.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 10.4b

regimes339.0ms

Accuracy

93.9% (1.4b remaining)

Error of 12.5b against oracle of 11.1b and baseline of 34.2b

bsearch234.0ms

Steps
ItersRangePoint
9
2.647536716108924e+78
2.3096554450659235e+83
8.145866994051403e+82
9
5.147670875442886e-182
5.782915581029284e-176
5.22428457242377e-176
11
-1.829086240692416e+154
-2.187052964502477e+134
-1.3358786167585806e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05441
15841
25841

end0.0ms

sample1.1s

Algorithm
intervals
Results
259.0ms1104×body2560valid
233.0ms5868×body80valid
171.0ms910×body1280valid
104.0ms2861×body80nan
60.0ms422×body640valid
27.0ms96×body5120valid
23.0ms212×body320valid
9.0ms120×body160valid