Details

Time bar (total: 3.8s)

sample245.0ms

Algorithm
intervals
Results
194.0ms16×body1280valid
10.0ms180×body80valid
10.0ms38×body2560valid
4.0ms92×body80nan
2.0ms14×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify436.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04213
14213

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.4b
(- (* b_2 b_2) (* a c))
2.4b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 91
Calls
4 calls:
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
18.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify60.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052711600

prune140.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New958103
Fresh000
Picked101
Done000
Total968104

Merged error: 5.1b

Counts
104 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b_2 b_2) (* a c))
3.9b
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
8.5b
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
53×add-sqr-sqrt
40×*-un-lft-identity
28×add-cube-cbrt
18×add-exp-log add-cbrt-cube
13×associate-/l*
12×difference-of-squares
10×associate-/r/
associate-/r* sqrt-prod
cbrt-undiv flip3-- div-exp flip--
div-inv distribute-lft-out-- add-log-exp
pow1
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 124
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
42.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
53.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049912493
149912493

prune144.0ms

Filtered
102 candidates to 136 candidates (-33.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1333136
Fresh257
Picked011
Done000
Total1359144

Merged error: 5.0b

Counts
144 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

8.5b
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
11×sqrt-prod
add-exp-log add-cube-cbrt add-cbrt-cube
pow1
times-frac sqrt-div associate-/r*
flip3-- flip-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv div-exp associate-/r/ distribute-lft-out--
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 74
Calls
4 calls:
10.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series94.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
052431100

prune122.0ms

Filtered
68 candidates to 86 candidates (-26.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh077
Picked101
Done011
Total86995

Merged error: 5.0b

Counts
95 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

17.4b
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
23.4b
(sqrt (- (* b_2 b_2) (* a c)))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))
23.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite22.0ms

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

series50.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (exp (log (sqrt (- (* b_2 b_2) (* a c))))) b_2)
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04944849
14944849

prune94.0ms

Filtered
60 candidates to 73 candidates (-21.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh077
Picked011
Done011
Total73982

Merged error: 5.0b

Counts
82 → 9

regimes389.0ms

Accuracy

87.5% (3.4b remaining)

Error of 9.0b against oracle of 5.6b and baseline of 32.8b

bsearch108.0ms

Steps
ItersRangePoint
9
9.19707175362887e+95
2.4714310794775493e+104
1.3075888430516096e+99
10
-6.946099253110126e-99
-2.423551836712604e-110
-1.8522534889135243e-107
9
-1.6895740895715742e+90
-1.2960772298254508e+84
-1.666256126060147e+87

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03353
13353

end0.0ms

sample1.4s

Algorithm
intervals
Results
271.0ms1046×body2560valid
264.0ms5873×body80valid
183.0ms874×body1280valid
122.0ms2941×body80nan
75.0ms465×body640valid
30.0ms99×body5120valid
30.0ms226×body320valid
10.0ms120×body160valid

Profiling

Loading profile data...