Details

Time bar (total: 1.5s)

analyze3.0ms

Algorithm
search

sample11.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0194
1414
2694
3904
41054
51474
62264
73684
84154
94154

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 0.253 (* x 0.12))
0.0b
(- 1.0 (* x (+ 0.253 (* x 0.12))))
0.1b
(* x (+ 0.253 (* x 0.12)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ associate-*r/ flip-+ associate--r+
+-commutative sub-neg flip3-- diff-log pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
Counts
3 → 47
Calls
3 calls:
2.0ms
(+ 0.253 (* x 0.12))
3.0ms
(- 1.0 (* x (+ 0.253 (* x 0.12))))
5.0ms
(* x (+ 0.253 (* x 0.12)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ 0.253 (* x 0.12))
3.0ms
(- 1.0 (* x (+ 0.253 (* x 0.12))))
6.0ms
(* x (+ 0.253 (* x 0.12)))

simplify35.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226274
1991253
25002253

prune89.0ms

Filtered
39 candidates to 56 candidates (-43.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh000
Picked101
Done000
Total49857

Merged error: 0.0b

Counts
57 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 0.253 (* x 0.12))
0.1b
(* x (/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12))))
0.2b
(/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12)))
0.3b
(* (* x 0.12) (* x 0.12))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
27×add-sqr-sqrt
25×times-frac
23×add-exp-log add-cbrt-cube
22×add-cube-cbrt *-un-lft-identity
19×associate-*r*
18×pow-prod-down
10×prod-exp cbrt-unprod
difference-of-squares
add-log-exp
flip3-- associate-*l* associate-/r/ pow-sqr pow-prod-up flip-- associate-/l*
associate-/r*
cbrt-undiv pow-plus div-exp *-commutative div-inv associate-/l/ unswap-sqr
pow2 sub-neg frac-2neg diff-log div-sub associate-*r/ swap-sqr clear-num
Counts
4 → 119
Calls
4 calls:
3.0ms
(- 0.253 (* x 0.12))
10.0ms
(* x (/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12))))
7.0ms
(/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12)))
6.0ms
(* (* x 0.12) (* x 0.12))

series30.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- 0.253 (* x 0.12))
12.0ms
(* x (/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12))))
11.0ms
(/ (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))) (- 0.253 (* x 0.12)))
3.0ms
(* (* x 0.12) (* x 0.12))

simplify83.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
04321058
12467888
25001828

prune189.0ms

Filtered
84 candidates to 131 candidates (-56.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh257
Picked011
Done000
Total1318139

Merged error: 0b

Counts
139 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 0.253 (* x 0.12))
0.1b
(* x (/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12))))
0.1b
(/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12)))
0.2b
(* 0.0144 (pow x 2))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity associate-*r*
19×times-frac
16×add-exp-log
13×add-cbrt-cube
pow1 associate-*l* add-log-exp unswap-sqr
prod-exp
unpow-prod-down flip3-- associate-/r/ flip--
associate-/r* cbrt-unprod associate-/l*
cbrt-undiv div-exp *-commutative div-inv associate-/l/ unpow2 sqr-pow
pow-to-exp sub-neg frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num
Counts
4 → 105
Calls
4 calls:
3.0ms
(- 0.253 (* x 0.12))
9.0ms
(* x (/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12))))
7.0ms
(/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12)))
6.0ms
(* 0.0144 (pow x 2))

series28.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- 0.253 (* x 0.12))
12.0ms
(* x (/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12))))
9.0ms
(/ (- (* 0.253 0.253) (* 0.0144 (pow x 2))) (- 0.253 (* x 0.12)))
3.0ms
(* 0.0144 (pow x 2))

simplify74.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0425947
12086846
25002846

prune207.0ms

Filtered
84 candidates to 117 candidates (-39.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh336
Picked011
Done101
Total1196125

Merged error: 0b

Counts
125 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (+ (* 0.12 (pow x 2)) (* 0.253 x)))
0.0b
(+ (* 0.12 (pow x 2)) (* 0.253 x))
0.2b
(* 0.12 (pow x 2))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-log-exp
add-exp-log *-un-lft-identity associate-*r*
add-cube-cbrt
add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 associate-*l* prod-exp
diff-log sum-log unpow2 sqr-pow
+-commutative pow-to-exp sub-neg flip3-- flip3-+ pow-exp *-commutative flip-- cbrt-unprod flip-+ associate--r+ distribute-lft-out-- difference-of-squares
Counts
3 → 54
Calls
3 calls:
5.0ms
(- 1.0 (+ (* 0.12 (pow x 2)) (* 0.253 x)))
4.0ms
(+ (* 0.12 (pow x 2)) (* 0.253 x))
5.0ms
(* 0.12 (pow x 2))

series15.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(- 1.0 (+ (* 0.12 (pow x 2)) (* 0.253 x)))
7.0ms
(+ (* 0.12 (pow x 2)) (* 0.253 x))
5.0ms
(* 0.12 (pow x 2))

simplify197.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (191.0ms)

IterNodesCost
0247340
1922317
24573311
35002309

prune76.0ms

Filtered
41 candidates to 63 candidates (-53.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New63063
Fresh044
Picked011
Done011
Total63669

Merged error: 0b

Counts
69 → 6

regimes40.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

analyze3.0ms

Algorithm
search

sample273.0ms

Algorithm
intervals
Results
192.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...