Details

Time bar (total: 5.2s)

sample52.0ms

Algorithm
intervals
Results
30.0ms282×body80valid
6.0ms79×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.7b

localize114.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
2.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)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
61×prod-diff
53×add-sqr-sqrt
51×*-un-lft-identity
47×add-cube-cbrt
37×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
neg-mul-1
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
diff-log
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 neg-log
Counts
4 → 140
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04062988
114311956
250021869

prune379.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.2b

localize118.0ms

Local error

Found 4 expressions with local error:

9.6b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

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

series287.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify121.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0249756
1969641
24038626
35001624

prune404.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 6.2b

localize118.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
3.4b
(/ (* a c) b)
3.5b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
times-frac add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u associate-/l*
flip3-- sqrt-prod flip--
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod div-inv associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff
Counts
4 → 82
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(/ (* a c) b)
18.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(/ (* a c) b)
79.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0454650
12083569
25001564

prune343.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.6b

localize113.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.3b
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.4b
(- (* b b) (* (* 4.0 a) c))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series381.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
189.0ms
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
43.0ms
(- (* b b) (* (* 4.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0400830
11671721
25002704

prune338.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.5b

regimes162.0ms

Accuracy

92.9% (1.0b remaining)

Error of 7.5b against oracle of 6.5b and baseline of 21.1b

bsearch165.0ms

Steps
ItersRangePoint
9
1.0966316111626227e+109
8.247031634266059e+117
1.2199100360588728e+112
7
-1.6124847451767553e+146
-7.05891254188438e+144
-7.021208029070988e+145

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05951
15951

end0.0ms

sample1.3s

Algorithm
intervals
Results
813.0ms8735×body80valid
248.0ms2992×body80nan