Details

Time bar (total: 1.6s)

sample25.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
3.0ms256×pre80true

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
03112
116811
29659
350018

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
17.3b
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp
add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt flip3-- *-un-lft-identity associate-*l/ associate-/r/ flip--
sub-neg frac-2neg times-frac diff-log clear-num associate-/r* div-inv associate-/l* difference-of-squares
Counts
2 → 40
Calls
2 calls:
10.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
13.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series11.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0342496
11633364
25001364

prune63.0ms

Filtered
46 candidates to 29 candidates (37.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh000
Picked101
Done000
Total43447

Merged error: 0b

Counts
47 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
0.6b
(/ i (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i))
16.2b
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-exp-log add-cbrt-cube
22×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
10×cbrt-undiv div-exp associate-/r*
prod-exp cbrt-unprod div-inv
add-log-exp
associate-/l*
pow1
flip3-- frac-2neg associate-*l/ clear-num flip-- associate-/l/
sub-neg diff-log associate-/r/ difference-of-squares
Counts
3 → 88
Calls
3 calls:
6.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
11.0ms
(/ i (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i))
12.0ms
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i)

series20.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
5.0ms
(/ i (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i))
9.0ms
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i)

simplify66.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04831066
12407906
25001899

prune112.0ms

Filtered
97 candidates to 71 candidates (26.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done000
Total974101

Merged error: 0b

Counts
101 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 4.0 (pow i 2)) 1.0)
0.0b
(* 4.0 (pow i 2))
17.3b
(/ (* i i) (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log
26×add-cbrt-cube
12×add-sqr-sqrt prod-exp
10×cbrt-unprod
associate-*r*
cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp
add-log-exp
unpow-prod-down unswap-sqr
pow1 associate-*l*
flip3-- associate-*l/ associate-/r/ flip-- unpow2 sqr-pow
pow-to-exp sub-neg frac-2neg times-frac diff-log pow-exp clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 66
Calls
3 calls:
6.0ms
(- (* 4.0 (pow i 2)) 1.0)
5.0ms
(* 4.0 (pow i 2))
11.0ms
(/ (* i i) (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)))

series14.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- (* 4.0 (pow i 2)) 1.0)
3.0ms
(* 4.0 (pow i 2))
6.0ms
(/ (* i i) (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409514
11929402
25002402

prune80.0ms

Filtered
75 candidates to 44 candidates (41.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh022
Picked011
Done011
Total75479

Merged error: 0b

Counts
79 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
17.3b
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
22×prod-exp cbrt-unprod
12×associate-*l/
10×cbrt-undiv div-exp
frac-times associate-/r/
add-sqr-sqrt flip3-- flip3-+ flip-- flip-+
pow1 add-cube-cbrt *-un-lft-identity associate-*r/
associate-*r* associate-*l*
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 71
Calls
2 calls:
10.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
18.0ms
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

series25.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
12.0ms
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06281179
13646850
25001825

prune108.0ms

Filtered
77 candidates to 48 candidates (37.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New77077
Fresh011
Picked011
Done022
Total77481

Merged error: 0b

Counts
81 → 4

regimes36.0ms

Accuracy

100% (0.0b remaining)

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

bsearch17.0ms

Steps
ItersRangePoint
8
118.14696767862945
1467188.8038485302
213.33103315643075

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03515
13515

end0.0ms

sample662.0ms

Algorithm
intervals
Results
424.0ms8000×body80valid
89.0ms8000×pre80true

Profiling

Loading profile data...