Details

Time bar (total: 5.5s)

sample38.0ms

Algorithm
intervals
Results
18.0ms272×body80valid
4.0ms76×body80nan

simplify15.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: 21.8b

localize115.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
60×prod-diff
58×*-un-lft-identity
56×add-sqr-sqrt
50×add-cube-cbrt
37×sqrt-prod
26×distribute-rgt-neg-in
24×distribute-lft-neg-in
12×add-log-exp
10×fma-def fma-neg
neg-mul-1
pow1
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-- flip--
neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 151
Calls
4 calls:
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series304.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04183056
114712008
250011917

prune453.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 9.1b

localize122.0ms

Local error

Found 4 expressions with local error:

11.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
10×fma-neg prod-diff
sqrt-prod
add-log-exp
pow1
distribute-lft-neg-in distribute-rgt-neg-in sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
neg-mul-1 diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 88
Calls
4 calls:
5.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)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify183.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02831391
19981121
247231013
350011013

prune434.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 9.1b

localize124.0ms

Local error

Found 4 expressions with local error:

24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms

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

series350.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
100.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0215634
1688602
22689596
35001594

prune500.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.1b

localize131.0ms

Local error

Found 4 expressions with local error:

24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))
27.3b
(pow (- (* b b) (* (* 4.0 a) c)) 1/3)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
sqrt-prod
add-exp-log
expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod unpow-prod-down pow-unpow flip3-- flip--
rem-sqrt-square cbrt-div sqrt-pow1 pow1/2
pow-to-exp pow-pow unpow1/3 pow1/3 pow-exp sqr-pow
Counts
4 → 69
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 1/3)

series343.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
102.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 1/3)

simplify105.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0265623
1912561
23871553
35001553

prune498.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 9.1b

regimes196.0ms

Accuracy

92.8% (0.9b remaining)

Error of 8.9b against oracle of 8.0b and baseline of 20.2b

bsearch154.0ms

Steps
ItersRangePoint
6
1.7071993853452014e+98
1.0593861995340862e+99
1.0479007947857462e+99
10
-1.9904610772412422e+163
-4.4721271386820616e+151
-1.3393873985403924e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05159
15159

end0.0ms

sample880.0ms

Algorithm
intervals
Results
460.0ms8708×body80valid
146.0ms2858×body80nan