Details

Time bar (total: 4.1s)

sample85.0ms

Algorithm
intervals
Results
10.0ms206×body80valid
7.0ms26×body2560valid
5.0ms25×body1280valid
3.0ms75×body80nan
2.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

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: 32.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.4b
(- (* b b) (* (* 3.0 a) c))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.0ms

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

series283.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
42.0ms
(- (* b b) (* (* 3.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0433855
11670751
25001736

prune252.0ms

Filtered
102 candidates to 82 candidates (80.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh000
Picked101
Done000
Total958103

Merged error: 6.0b

Counts
103 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (* 3.0 a))
1.4b
(- (* b b) (* (* 3.0 a) c))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
15×add-exp-log
14×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-cbrt-cube
pow1
expm1-log1p-u distribute-rgt-neg-in div-exp log1p-expm1-u
distribute-lft-neg-in times-frac prod-exp sqrt-prod associate-/l*
cbrt-undiv rec-exp flip3-- pow-flip sqrt-div 1-exp sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff pow-prod-down neg-log clear-num associate-/r* cbrt-unprod flip-+ div-inv inv-pow
Counts
4 → 90
Calls
4 calls:
4.0ms
(/ 1 (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1 (* 3.0 a))
45.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0368554
11514497
25002477

prune210.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh077
Picked011
Done000
Total1028110

Merged error: 6.0b

Counts
110 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
1.4b
(- (* b b) (* (* 3.0 a) c))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in 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- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
50.0ms
(- (* b b) (* (* 3.0 a) c))
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0337530
11440479
25002467

prune196.0ms

Filtered
92 candidates to 71 candidates (77.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh156
Picked101
Done011
Total937100

Merged error: 6.0b

Counts
100 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (* a c))
1.4b
(- (* b b) (* 3.0 (* a c)))
1.4b
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite23.0ms

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

series245.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* 3.0 (* a c))
65.0ms
(- (* b b) (* 3.0 (* a c)))
91.0ms
(+ (- b) (sqrt (- (* b b) (* 3.0 (* a c)))))
68.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify42.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0330529
11217478
25001467

prune180.0ms

Filtered
92 candidates to 71 candidates (77.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh055
Picked011
Done011
Total92799

Merged error: 6.0b

Counts
99 → 7

regimes308.0ms

Accuracy

89.1% (3.1b remaining)

Error of 8.7b against oracle of 5.6b and baseline of 34.0b

bsearch161.0ms

Steps
ItersRangePoint
7
6.011887282010727e+43
5.675568733030414e+45
2.9359885461337045e+45
7
2.8088005691183282e-136
8.718282365388647e-135
6.102721236610262e-136
9
-3.270551254255918e+118
-2.1334538400483563e+110
-2.4928243975796524e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05030
15230
25230

end0.0ms

sample1.3s

Algorithm
intervals
Results
293.0ms1058×body2560valid
288.0ms5895×body80valid
200.0ms872×body1280valid
140.0ms2907×body80nan
84.0ms449×body640valid
36.0ms107×body5120valid
30.0ms228×body320valid
10.0ms110×body160valid

Profiling

Loading profile data...