Details

Time bar (total: 3.0s)

sample30.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
6.0ms256×pre80true

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
03212
117211
29749
350018

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

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

series10.0ms

Counts
2 → 6
Calls
2 calls:
4.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)))

simplify51.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0390550
11886402
25001398

prune278.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
15.1b
(/ (* i i) (* (* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

rewrite44.0ms

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

series23.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05671169
13025833
25002820

prune407.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
15.1b
(/ (* i i) (* (+ (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* (fma 2.0 i (sqrt 1.0)) (fma (- (sqrt 1.0)) 1 (* (sqrt 1.0) 1)))) (* 2.0 2.0)))

rewrite62.0ms

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

series17.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0444947
12243675
25001670

prune450.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
0.2b
(fma 0.015625 (/ 1 (pow i 2)) 0.0625)
0.3b
(/ 1 (pow i 4))
0.6b
(/ 1 (pow i 2))

rewrite14.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
add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 expm1-log1p-u log1p-expm1-u unpow2 add-log-exp
cbrt-undiv pow-flip frac-2neg clear-num fma-udef div-inv inv-pow
Counts
4 → 134
Calls
4 calls:
0.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
0.0ms
(fma 0.015625 (/ 1 (pow i 2)) 0.0625)
4.0ms
(/ 1 (pow i 4))
6.0ms
(/ 1 (pow i 2))

series13.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
4.0ms
(fma 0.015625 (/ 1 (pow i 2)) 0.0625)
2.0ms
(/ 1 (pow i 4))
2.0ms
(/ 1 (pow i 2))

simplify37.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0310683
11198587
25002511

prune530.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch11.0ms

Steps
ItersRangePoint
4
1895.1935248159823
3532.9415190508507
1923.1709384006522

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample714.0ms

Algorithm
intervals
Results
442.0ms8000×body80valid
165.0ms8000×pre80true