Details

Time bar (total: 1.7s)

sample20.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
3.0ms256×pre80true

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
03112
116811
29659
350018

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.1b

Counts
2 → 2

localize8.0ms

Local error

Found 1 expressions with local error:

15.6b
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*l/ associate-/r/
pow1 add-sqr-sqrt add-cube-cbrt flip3-- frac-2neg *-un-lft-identity times-frac clear-num associate-/r* flip-- div-inv associate-/l* add-log-exp
Counts
1 → 27
Calls
1 calls:
14.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series80.0ms

Counts
1 → 3
Calls
1 calls:
80.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0311392
11550273
25001273

prune41.0ms

Filtered
30 candidates to 17 candidates (56.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New27330
Fresh101
Picked101
Done000
Total29332

Merged error: 0b

Counts
32 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
15.0b
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
31×times-frac
25×add-exp-log add-cbrt-cube
21×add-cube-cbrt *-un-lft-identity
18×associate-*l*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r* difference-of-squares
pow1 associate-/r* associate-/r/ unswap-sqr
div-inv associate-/l*
flip3-- flip-- add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 86
Calls
2 calls:
17.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
9.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

series157.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
79.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0530978
12493842
25001833

prune133.0ms

Filtered
92 candidates to 68 candidates (73.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done000
Total92395

Merged error: 0b

Counts
95 → 3

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 4.0 (pow i 6))
0.0b
(* 0.25 (pow i 2))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×associate-*r*
12×add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity
unswap-sqr
associate-*l* prod-exp add-cbrt-cube
sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod unpow2 add-log-exp
Counts
2 → 52
Calls
2 calls:
5.0ms
(* 4.0 (pow i 6))
6.0ms
(* 0.25 (pow i 2))

series73.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(* 4.0 (pow i 6))
27.0ms
(* 0.25 (pow i 2))

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0199202
1795176
25001167

prune104.0ms

Filtered
58 candidates to 35 candidates (60.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh011
Picked011
Done011
Total58361

Merged error: 0b

Counts
61 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 0.00390625 (/ 1 (pow i 4))) (+ (* 0.015625 (/ 1 (pow i 2))) 0.0625))
0.2b
(/ 1 (pow i 4))
0.6b
(/ 1 (pow i 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
21×add-exp-log
15×associate-/r*
12×div-exp
add-log-exp sqr-pow
add-cbrt-cube
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
frac-add unpow2
pow1 flip3-+ sum-log flip-+
cbrt-undiv pow-flip frac-2neg associate-*r/ clear-num un-div-inv div-inv inv-pow
+-commutative associate-+r+
Counts
3 → 127
Calls
3 calls:
13.0ms
(+ (* 0.00390625 (/ 1 (pow i 4))) (+ (* 0.015625 (/ 1 (pow i 2))) 0.0625))
5.0ms
(/ 1 (pow i 4))
5.0ms
(/ 1 (pow i 2))

series72.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* 0.00390625 (/ 1 (pow i 4))) (+ (* 0.015625 (/ 1 (pow i 2))) 0.0625))
27.0ms
(/ 1 (pow i 4))
16.0ms
(/ 1 (pow i 2))

simplify62.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0474797
12042702
25001626

prune148.0ms

Filtered
136 candidates to 57 candidates (41.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1360136
Fresh000
Picked011
Done022
Total1363139

Merged error: 0b

Counts
139 → 3

regimes18.0ms

Accuracy

100% (0.0b remaining)

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

bsearch47.0ms

Steps
ItersRangePoint
9
0.1950851657132723
62660.8124040843
192.907719225059

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03516
13516

end0.0ms

sample471.0ms

Algorithm
intervals
Results
274.0ms8000×body80valid
93.0ms8000×pre80true

Profiling

Loading profile data...