Details

Time bar (total: 1.8s)

sample22.0ms

Algorithm
intervals
Results
13.0ms449×body80valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ x y) (+ x y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in expm1-log1p-u distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 42
Calls
1 calls:
17.0ms
(* (+ x y) (+ x y))

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(* (+ x y) (+ x y))

simplify43.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0194221
1953194
25002180

prune60.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (+ x y))
0.0b
(+ (* x (+ x y)) (* y (+ x y)))
0.0b
(* x (+ x y))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
expm1-log1p-u log1p-expm1-u
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out fma-def sum-log
Counts
3 → 73
Calls
3 calls:
10.0ms
(* y (+ x y))
8.0ms
(+ (* x (+ x y)) (* y (+ x y)))
10.0ms
(* x (+ x y))

series85.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* y (+ x y))
24.0ms
(+ (* x (+ x y)) (* y (+ x y)))
29.0ms
(* x (+ x y))

simplify70.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0371403
12121342
25001336

prune157.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x x (fma (* 2 x) y (pow y 2)))
0.0b
(fma (* 2 x) y (pow y 2))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma x x (fma (* 2 x) y (pow y 2)))
0.0ms
(fma (* 2 x) y (pow y 2))

series78.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(fma x x (fma (* 2 x) y (pow y 2)))
45.0ms
(fma (* 2 x) y (pow y 2))

simplify38.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
050132
1154116
2888112
35001107

prune74.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* y y))
0.2b
(* (- (* x x) (* y y)) (+ x y))
19.8b
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-- flip-- associate-/l/
add-cube-cbrt
flip3-+ flip-+
pow1 times-frac associate-/r* add-log-exp
associate-*r/ associate-*r* associate-*l* associate-*l/ difference-of-squares
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 86
Calls
3 calls:
3.0ms
(- (* x x) (* y y))
16.0ms
(* (- (* x x) (* y y)) (+ x y))
12.0ms
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

series119.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- (* x x) (* y y))
38.0ms
(* (- (* x x) (* y y)) (+ x y))
46.0ms
(/ (* (- (* x x) (* y y)) (+ x y)) (- x y))

simplify83.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0454766
12673672
25003661

prune215.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes30.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample566.0ms

Algorithm
intervals
Results
346.0ms14347×body80valid