Details

Time bar (total: 6.0s)

sample52.0ms

Algorithm
intervals
Results
11.0ms180×body80valid
10.0ms39×body2560valid
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

prune3.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)))

rewrite51.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:
21.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series370.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
80.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
45.0ms
(- (* b b) (* (* 3.0 a) c))
108.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0391774
11518684
25001674

prune203.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

localize15.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)))

rewrite76.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:
6.0ms
(- (* b b) (* (* 3.0 a) c))
31.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
23.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series624.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 3.0 a) c))
233.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
270.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
06342580
131612341
250012328

prune365.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

localize20.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)))

rewrite21.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:
4.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c))))))
7.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))))
4.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series870.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))))))
584.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))))
97.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
99.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06311757
129841588
250021580

prune360.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

localize20.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)))

series387.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
102.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
101.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
76.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0257530
1981490
25002456

prune237.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

regimes477.0ms

Accuracy

88.3% (3.1b remaining)

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

bsearch165.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
295.0ms1056×body2560valid
295.0ms5922×body80valid
191.0ms872×body1280valid
133.0ms2904×body80nan
76.0ms438×body640valid
39.0ms112×body5120valid
31.0ms232×body320valid
9.0ms107×body160valid

Profiling

Loading profile data...