Details

Time bar (total: 3.1s)

sample19.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
3.0ms256×pre80true

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
03112
116811
29659
350018

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
6.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
14.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series136.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0342496
11633364
25001364

prune70.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43346
Fresh000
Picked011
Done000
Total43447

Merged error: 0b

Counts
47 → 4

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.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)
12.0ms
(/ i (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i))
22.0ms
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i)

series474.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04831066
12407906
25001899

prune138.0ms

Filtered
97 candidates to 71 candidates (73.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh202
Picked101
Done011
Total983101

Merged error: 0b

Counts
101 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 16.0 i) (* 4.0 (/ 1 i)))
0.1b
(/ i (- (* 16.0 i) (* 4.0 (/ 1 i))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 41
Calls
2 calls:
3.0ms
(- (* 16.0 i) (* 4.0 (/ 1 i)))
5.0ms
(/ i (- (* 16.0 i) (* 4.0 (/ 1 i))))

series148.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(- (* 16.0 i) (* 4.0 (/ 1 i)))
84.0ms
(/ i (- (* 16.0 i) (* 4.0 (/ 1 i))))

simplify198.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0223402
1845369
24348365
35001365

prune70.0ms

Filtered
47 candidates to 36 candidates (76.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New47047
Fresh011
Picked011
Done011
Total47350

Merged error: 0b

Counts
50 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log add-cbrt-cube
36×times-frac
25×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
17×prod-exp cbrt-unprod
16×cbrt-undiv div-exp
12×associate-*l/
10×associate-/r*
frac-times associate-/l/
flip3-- flip3-+ flip-- flip-+ div-inv
pow1
associate-*r/ associate-/l*
associate-*r* associate-*l* add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num
pow-prod-down associate-/r/ *-commutative unswap-sqr
Counts
3 → 119
Calls
3 calls:
19.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
17.0ms
(/ i (/ (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)) i))
16.0ms
(/ (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)) i)

series664.0ms

Counts
3 → 9
Calls
3 calls:
214.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
195.0ms
(/ i (/ (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)) i))
255.0ms
(/ (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)) i)

simplify131.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
06961880
139891461
250011429

prune201.0ms

Filtered
128 candidates to 93 candidates (72.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh000
Picked011
Done022
Total1283131

Merged error: 0b

Counts
131 → 3

regimes12.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample463.0ms

Algorithm
intervals
Results
283.0ms8000×body80valid
80.0ms8000×pre80true

Profiling

Loading profile data...