Details

Time bar (total: 4.2s)

sample293.0ms

Algorithm
intervals
Results
7.0ms201×body80valid
5.0ms31×body1280valid
4.0ms21×body2560valid
3.0ms103×body80nan
2.0msbody5120valid
2.0ms13×body640valid
1.0msbody320valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.0b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
42.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
11.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series271.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
72.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
38.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0358790
11261727
25001705

prune241.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
123×add-sqr-sqrt
96×*-un-lft-identity
70×add-cube-cbrt
26×difference-of-squares
24×associate-/r*
16×sqrt-prod
15×add-exp-log
13×distribute-lft-out--
associate-/r/ add-cbrt-cube
add-log-exp
flip3-- div-exp flip--
pow1
div-inv
cbrt-undiv associate-/l*
sub-neg rec-exp sqrt-div diff-log 1-exp
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 162
Calls
4 calls:
28.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
18.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
36.0ms
(- (* b_2 b_2) (* a c))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05692100
125611900
250021763

prune282.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.4b

localize11.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b_2 b_2) (* a c))
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
2.0ms
(- (* b_2 b_2) (* a c))
3.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series191.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* b_2 b_2) (* a c))
33.0ms
(- (* b_2 b_2) (* a c))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify54.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0140390
1455366
21490364
35002360

prune213.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt a)
1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
*-un-lft-identity add-log-exp
add-cube-cbrt
pow1
add-exp-log sqrt-prod add-cbrt-cube
cbrt-prod flip3-- flip--
sub-neg sqrt-div diff-log difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 distribute-lft-out--
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt a)
18.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series348.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt a)
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
33.0ms
(- (* b_2 b_2) (* a c))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0235375
1707351
22346346
35002342

prune185.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 4.4b

regimes258.0ms

Accuracy

86.9% (3.7b remaining)

Error of 9.2b against oracle of 5.5b and baseline of 34.1b

bsearch85.0ms

Steps
ItersRangePoint
2
3.9431530817676045e+109
4.557375181159837e+109
4.019930844191633e+109
10
9.294290849485744e-131
6.48544897696183e-121
1.9238883452280037e-130
3
-2.4188752133425037e+101
-1.756824163423226e+101
-2.377497022722549e+101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03924
14124
24124

end0.0ms

sample1.0s

Algorithm
intervals
Results
211.0ms1102×body2560valid
199.0ms5848×body80valid
148.0ms920×body1280valid
96.0ms2883×body80nan
57.0ms453×body640valid
25.0ms103×body5120valid
21.0ms227×body320valid
8.0ms123×body160valid