Details

Time bar (total: 4.2s)

sample56.0ms

Algorithm
intervals
Results
10.0ms36×body2560valid
10.0ms184×body80valid
5.0ms23×body1280valid
4.0ms89×body80nan
3.0ms18×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify9.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: 36.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(- (* b b) (* (* 3.0 a) c))
1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
25.1b
(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))
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series64.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0391774
11518684
25001674

prune170.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New721082
Fresh000
Picked011
Done000
Total721183

Merged error: 5.7b

Counts
83 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.9b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.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)))

series129.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* 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))
56.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
166 → 166
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06442693
131432447
250012434

prune475.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1642166
Fresh189
Picked011
Done011
Total16512177

Merged error: 5.6b

Counts
177 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

15.3b
(cbrt (+ 0 (* 3.0 (* a c))))
15.3b
(cbrt (+ 0 (* 3.0 (* a c))))
15.3b
(cbrt (+ 0 (* 3.0 (* a c))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

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

series64.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0257548
11011508
25001492

prune218.0ms

Filtered
61 candidates to 66 candidates (-8.2%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh099
Picked011
Done022
Total661278

Merged error: 5.6b

Counts
78 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

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

series40.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0302468
11299428
25002417

prune89.0ms

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

13 alts after pruning (9 fresh and 4 done)

PrunedKeptTotal
New71172
Fresh088
Picked011
Done033
Total711384

Merged error: 5.6b

Counts
84 → 13

regimes815.0ms

Accuracy

87.2% (3.5b remaining)

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

bsearch105.0ms

Steps
ItersRangePoint
7
7.012417207579252e+108
1.3633655355432952e+110
7.091702199968928e+108
10
2.6835842014060276e-138
1.2377688018938939e-119
1.2326174769211632e-137
9
-8.123118303304505e+80
-8.66777673642249e+74
-3.453036615513107e+80

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04629
14829
24829

end0.0ms

sample1.6s

Algorithm
intervals
Results
325.0ms1104×body2560valid
301.0ms5835×body80valid
202.0ms854×body1280valid
145.0ms2894×body80nan
88.0ms470×body640valid
39.0ms112×body5120valid
35.0ms234×body320valid
13.0ms124×body160valid

Profiling

Loading profile data...