Details

Time bar (total: 2.6s)

sample16.0ms

Algorithm
intervals
Results
6.0ms256×body80valid
2.0ms256×pre80true

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
03112
116811
29659
350018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.3b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
11.9b
(/ (* 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)))

series147.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
85.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

prune80.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.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)) (/ i (* 2.0 2.0)))
11.6b
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
31×times-frac
26×add-exp-log add-cbrt-cube
22×add-cube-cbrt *-un-lft-identity
18×associate-*l*
cbrt-undiv div-exp prod-exp cbrt-unprod difference-of-squares
associate-*r*
pow1 add-log-exp
associate-/r* associate-/r/ unswap-sqr
flip3-- flip-- div-inv associate-/l*
frac-times sub-neg frac-2neg diff-log associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 99
Calls
3 calls:
6.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
21.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))

series235.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
88.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
87.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05401082
12522934
25002925

prune394.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
11.9b
(/ (* 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:
11.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
17.0ms
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

series381.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06281179
13646850
25001825

prune145.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
37×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
15×associate-/r*
12×div-exp
11×add-log-exp
add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 flip3-+ frac-add sum-log flip-+ unpow2
cbrt-undiv +-commutative pow-flip frac-2neg associate-*r/ clear-num un-div-inv div-inv inv-pow
associate-+r+
Counts
4 → 138
Calls
4 calls:
7.0ms
(+ (* 0.015625 (/ 1 (pow i 2))) 0.0625)
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))

series125.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ (* 0.015625 (/ 1 (pow i 2))) 0.0625)
31.0ms
(+ (* 0.00390625 (/ 1 (pow i 4))) (+ (* 0.015625 (/ 1 (pow i 2))) 0.0625))
32.0ms
(/ 1 (pow i 4))
17.0ms
(/ 1 (pow i 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0484911
12090816
25002740

prune215.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes17.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
7
69.979237422269
3396.5660583078065
248.47326712178204

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03919
13919

end0.0ms

sample364.0ms

Algorithm
intervals
Results
212.0ms8000×body80valid
60.0ms8000×pre80true