Details

Time bar (total: 1.7s)

sample16.0ms

Algorithm
intervals
Results
7.0ms362×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1333
2733
31123
41293
51313
61313

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- x y))
0.0b
(* (* x (- x y)) 2.0)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity
18×prod-diff
17×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- associate-*l/ *-commutative flip-- log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 68
Calls
2 calls:
7.0ms
(* x (- x y))
7.0ms
(* (* x (- x y)) 2.0)

series86.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* x (- x y))
51.0ms
(* (* x (- x y)) 2.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0268469
11243316
25001310

prune86.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (* (- x y) 2.0))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r/ associate-*l/
expm1-log1p-u flip3-- associate-*r* *-commutative flip-- log1p-expm1-u add-log-exp
Counts
1 → 22
Calls
1 calls:
7.0ms
(* x (* (- x y) 2.0))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(* x (* (- x y) 2.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0144117
155895
2317695
3500295

prune41.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* x (- y)))
0.0b
(* (+ (pow x 2) (* x (- y))) 2.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt fma-def
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log associate-*l* add-cbrt-cube add-log-exp
unpow-prod-down associate-*r* unpow2
expm1-log1p-u flip3-+ associate-*l/ distribute-rgt-neg-out flip-+ log1p-expm1-u distribute-lft-out
+-commutative unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
2 → 47
Calls
2 calls:
5.0ms
(+ (pow x 2) (* x (- y)))
7.0ms
(* (+ (pow x 2) (* x (- y))) 2.0)

series81.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (pow x 2) (* x (- y)))
49.0ms
(* (+ (pow x 2) (* x (- y))) 2.0)

simplify136.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0168276
1771220
24864204
35001204

prune104.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)) 2.0)
5.7b
(* x (* (- (* x x) (* y y)) 2.0))
15.3b
(/ (* x (* (- (* x x) (* y y)) 2.0)) (+ x y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
12×*-un-lft-identity
10×pow1 add-sqr-sqrt
add-cube-cbrt
associate-*l* prod-exp cbrt-unprod
associate-*l/
times-frac associate-*r/ associate-*r* pow-prod-down associate-/r*
cbrt-undiv expm1-log1p-u flip3-- div-exp flip-- log1p-expm1-u add-log-exp
associate-/r/ *-commutative associate-/l/ distribute-lft-out
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 76
Calls
3 calls:
6.0ms
(* (- (* x x) (* y y)) 2.0)
7.0ms
(* x (* (- (* x x) (* y y)) 2.0))
13.0ms
(/ (* x (* (- (* x x) (* y y)) 2.0)) (+ x y))

series194.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (- (* x x) (* y y)) 2.0)
56.0ms
(* x (* (- (* x x) (* y y)) 2.0))
90.0ms
(/ (* x (* (- (* x x) (* y y)) 2.0)) (+ x y))

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0381647
12142537
25001534

prune145.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.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
083
183

end0.0ms

sample410.0ms

Algorithm
intervals
Results
233.0ms11177×body80valid