Details

Time bar (total: 5.8s)

sample48.0ms

Algorithm
intervals
Results
10.0ms39×body2560valid
8.0ms180×body80valid
8.0ms35×body1280valid
4.0ms98×body80nan
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.9b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.4b
(- (* b b) (* (* 3.0 a) c))
22.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.0ms

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

series298.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
79.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
42.0ms
(- (* b b) (* (* 3.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0400780
11529686
25002675

prune204.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New73982
Fresh000
Picked011
Done000
Total731083

Merged error: 5.3b

Counts
83 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 3.0 a) c))
3.4b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
8.4b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite44.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))
19.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)))

series460.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
169.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
174.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06352579
130872333
250012320

prune380.0ms

Filtered
160 candidates to 106 candidates (66.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1573160
Fresh178
Picked011
Done011
Total15812170

Merged error: 5.3b

Counts
170 → 12

localize32.0ms

Local error

Found 4 expressions with local error:

6.1b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
9.1b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))))
23.4b
(cbrt (- (* b b) (* (* 3.0 a) c)))
23.4b
(cbrt (- (* b b) (* (* 3.0 a) c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log cbrt-prod add-cbrt-cube
pow1 cbrt-div flip3-- flip--
associate-/r* associate-/l*
pow1/3 diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 71
Calls
4 calls:
7.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))))
6.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
6.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series864.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
589.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))))
94.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
92.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06311757
129841588
250021580

prune357.0ms

Filtered
83 candidates to 77 candidates (92.8%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New83083
Fresh099
Picked011
Done022
Total831295

Merged error: 5.3b

Counts
95 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

13.6b
(cbrt (+ 0 (* 3.0 (* a c))))
13.6b
(cbrt (+ 0 (* 3.0 (* a c))))
13.6b
(cbrt (+ 0 (* 3.0 (* a c))))
22.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite12.0ms

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

series367.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
98.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
98.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0259531
1990490
25001456

prune243.0ms

Filtered
66 candidates to 61 candidates (92.4%)
Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New66066
Fresh088
Picked011
Done033
Total661278

Merged error: 5.3b

Counts
78 → 12

regimes481.0ms

Accuracy

88.3% (3.1b remaining)

Error of 8.8b against oracle of 5.7b and baseline of 32.3b

bsearch158.0ms

Steps
ItersRangePoint
9
1.7907836249739894e-10
2.3719878869137505e-05
2.2452070598618075e-05
9
3.766944934843166e-148
3.4590224569855256e-143
3.3079120607768106e-144
4
-4.3383718458983163e+130
-2.1702536439911652e+130
-4.2691218361104216e+130

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04629
14829
24829

end0.0ms

sample1.3s

Algorithm
intervals
Results
294.0ms1056×body2560valid
285.0ms5922×body80valid
197.0ms872×body1280valid
142.0ms2904×body80nan
76.0ms438×body640valid
39.0ms112×body5120valid
31.0ms232×body320valid
10.0ms107×body160valid

Profiling

Loading profile data...