Details

Time bar (total: 5.7s)

sample327.0ms

Algorithm
intervals
Results
8.0ms196×body80valid
8.0ms33×body2560valid
6.0ms24×body1280valid
4.0ms87×body80nan
2.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.2b

Counts
2 → 1

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.2b
(- (* b_2 b_2) (* a c))
1.4b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.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:
11.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series354.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
39.0ms
(- (* b_2 b_2) (* a c))
88.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
90.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify140.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune404.0ms

Filtered
92 candidates to 69 candidates (25.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New84892
Fresh000
Picked101
Done000
Total85893

Merged error: 6.4b

Counts
93 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.2b
(- (* b_2 b_2) (* a c))
1.4b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite37.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:
13.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
3.0ms
(- (* b_2 b_2) (* a c))
9.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series384.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
39.0ms
(- (* b_2 b_2) (* a c))
85.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
77.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05642096
125531897
250011761

prune540.0ms

Filtered
174 candidates to 86 candidates (50.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1722174
Fresh167
Picked011
Done000
Total1739182

Merged error: 6.3b

Counts
182 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b_2 b_2) (* a c))
0.2b
(* (/ 1 a) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
1.4b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
18×*-un-lft-identity
13×add-exp-log add-cube-cbrt associate-*l*
11×times-frac
add-cbrt-cube
add-log-exp
pow1
associate-*r*
flip3-- sqrt-prod flip--
sub-neg prod-exp difference-of-squares
unswap-sqr
distribute-rgt-in frac-times distribute-lft-in sqrt-div diff-log associate-*r/ div-exp cbrt-unprod distribute-lft-out--
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 88
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(* (/ 1 a) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series386.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b_2 b_2) (* a c))
182.0ms
(* (/ 1 a) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
86.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
77.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0397791
11573705
25002697

prune373.0ms

Filtered
100 candidates to 72 candidates (28.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh077
Picked011
Done011
Total1009109

Merged error: 6.3b

Counts
109 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.4b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div sum-log add-cbrt-cube distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 60
Calls
4 calls:
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
8.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series324.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
85.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
76.0ms
(sqrt (- (* b_2 b_2) (* a c)))
77.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0205516
1740480
22640460
35002456

prune257.0ms

Filtered
72 candidates to 60 candidates (16.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh066
Picked011
Done022
Total72981

Merged error: 6.3b

Counts
81 → 9

regimes324.0ms

Accuracy

87.1% (3.7b remaining)

Error of 9.3b against oracle of 5.6b and baseline of 34.5b

bsearch170.0ms

Steps
ItersRangePoint
9
5.514542683406611e+77
2.3545344307669661e+86
6.682995118770345e+77
9
4.002345360978637e-156
6.88386589388666e-150
7.386415230288803e-155
5
-1.3813570841381999e+75
-4.543022443046418e+74
-1.1876632617279024e+75

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04124
14324
24324

end0.0ms

sample1.3s

Algorithm
intervals
Results
256.0ms1060×body2560valid
244.0ms5862×body80valid
176.0ms906×body1280valid
114.0ms2903×body80nan
72.0ms467×body640valid
34.0ms112×body5120valid
26.0ms228×body320valid
8.0ms104×body160valid

Profiling

Loading profile data...