Details

Time bar (total: 2.3s)

sample26.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
3.0ms256×pre80true

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
03212
117211
29749
350018

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.8b

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite23.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 expm1-log1p-u add-cube-cbrt flip3-- frac-2neg *-un-lft-identity times-frac clear-num associate-/r* flip-- log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 29
Calls
1 calls:
22.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series79.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0319406
11586285
25001285

prune56.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite84.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*
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 90
Calls
2 calls:
60.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
20.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

series154.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0549997
12561859
25001846

prune192.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.6b
(/ 1 (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i)))
18.3b
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
96×add-exp-log
52×add-cbrt-cube
38×div-exp
36×prod-exp
20×times-frac
19×cbrt-undiv
18×cbrt-unprod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
rec-exp 1-exp
associate-/r* div-inv
associate-/l*
pow1
expm1-log1p-u frac-2neg associate-*l/ clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- pow-flip associate-/r/ flip-- inv-pow
Counts
2 → 95
Calls
2 calls:
31.0ms
(/ 1 (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i)))
22.0ms
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i))

series199.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05161292
126521016
25001960

prune114.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 4.0 (/ 1 (pow i 2)))
0.6b
(/ 1 (pow i 2))
0.6b
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
65×times-frac
62×add-sqr-sqrt
48×*-un-lft-identity
44×add-cube-cbrt
36×add-exp-log
28×associate-*r*
23×unpow-prod-down
14×div-exp
12×add-cbrt-cube
11×associate-/r*
10×prod-exp
unpow2 unswap-sqr sqr-pow
rec-exp 1-exp
pow1 pow-to-exp pow-exp associate-/l*
cbrt-undiv expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg clear-num associate-/r/ cbrt-unprod inv-pow
flip3-- associate-*r/ pow-prod-down un-div-inv *-commutative flip--
Counts
3 → 159
Calls
3 calls:
15.0ms
(* 4.0 (/ 1 (pow i 2)))
4.0ms
(/ 1 (pow i 2))
5.0ms
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))

series94.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 4.0 (/ 1 (pow i 2)))
16.0ms
(/ 1 (pow i 2))
54.0ms
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0481897
12082750
25001643

prune243.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes10.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample649.0ms

Algorithm
intervals
Results
448.0ms8000×body80valid
93.0ms8000×pre80true