Details

Time bar (total: 5.3s)

analyze467.0ms

Algorithm
search

sample45.0ms

Algorithm
intervals
Results
12.0ms40×body2560valid
8.0ms159×body80valid
7.0ms28×body1280valid
3.0ms14×body640valid
2.0msbody5120valid
1.0ms20×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.8b
(- (* b b) (* (* 3.0 a) c))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite24.0ms

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

series41.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
9.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0302469
11293428
25002417

prune147.0ms

Filtered
52 candidates to 72 candidates (-38.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New621072
Fresh000
Picked101
Done000
Total631073

Merged error: 11.5b

Counts
73 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
4.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.6b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series120.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
54.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06342580
131612341
250012328

prune317.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1528160
Fresh369
Picked011
Done000
Total15515170

Merged error: 11.0b

Counts
170 → 15

localize21.0ms

Local error

Found 4 expressions with local error:

9.9b
(- (neg b) (* (* (cbrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite18.0ms

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

series57.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (* (* (cbrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0221891
1842706
23724600
35002597

prune232.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New70171
Fresh11213
Picked011
Done011
Total711586

Merged error: 11.0b

Counts
86 → 15

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
4.3b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
8.9b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
21.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
19×cbrt-undiv div-exp
18×add-sqr-sqrt prod-exp cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
10×associate-*r/ associate-/r/
associate-/l*
flip3-- flip--
div-inv add-log-exp
pow1
associate-/r*
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 110
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
14.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
45.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
54.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify122.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
06791938
144781484
250011443

prune164.0ms

Filtered
81 candidates to 122 candidates (-50.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1157122
Fresh6612
Picked101
Done112
Total12314137

Merged error: 10.7b

Counts
137 → 14

regimes553.0ms

Accuracy

91.4% (1.9b remaining)

Error of 12.9b against oracle of 11.1b and baseline of 32.8b

bsearch633.0ms

Steps
ItersRangePoint
8
5.529174115348263e+141
2.4952871312398773e+145
2.5579717161169453e+143
8
-8.735454315335134e-251
-4.1469579703280705e-254
-4.220449130505682e-254
5
-3.4476901083492857e+134
-1.1361128371255774e+134
-3.4009313388987055e+134

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05349
15549
25549

end0.0ms

analyze457.0ms

Algorithm
search

sample1.3s

Algorithm
intervals
Results
350.0ms1106×body2560valid
280.0ms5098×body80valid
232.0ms894×body1280valid
96.0ms449×body640valid
37.0ms97×body5120valid
36.0ms230×body320valid
32.0ms630×body80nan
21.0ms386×body80invalid
13.0ms126×body160valid

Profiling

Loading profile data...