Details

Time bar (total: 2.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms361×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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
13.0ms
(* (* x (- x y)) 2.0)
11.0ms
(* x (- x y))

series84.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(* (* x (- x y)) 2.0)
36.0ms
(* x (- x y))

simplify39.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268469
11243316
25001310

prune86.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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:
12.0ms
(* x (* (- x y) 2.0))

series48.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0144117
155895
2317695
3500295

prune42.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*l* prod-diff
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out--
fma-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
10.0ms
(* 2.0 (- (* x x) (* x y)))
3.0ms
(- (* x x) (* x y))

series83.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0182265
1836234
24713230
35001230

prune95.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (* (* x y) (* x y)) (* (* x x) (* x y)))
1.5b
(* (* x x) (* x y))
2.6b
(- (pow (* x x) 3) (pow (* x y) 3))
37.1b
(/ (* 2.0 (- (pow (* x x) 3) (pow (* x y) 3))) (+ (* (* x x) (* x x)) (+ (* (* x y) (* x y)) (* (* x x) (* x y)))))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
64×prod-diff
29×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt unpow-prod-down cube-prod sqr-pow
21×add-exp-log add-cbrt-cube
17×cube-mult unpow3
16×pow1
prod-exp cbrt-unprod
fma-neg pow-prod-down add-log-exp difference-of-squares
distribute-lft-out--
expm1-log1p-u log1p-expm1-u
times-frac associate-/r*
cbrt-undiv flip3-- flip3-+ associate-*r/ div-exp associate-/r/ flip-- flip-+ associate-/l/
difference-cubes +-commutative sub-neg distribute-rgt-out fma-def frac-2neg diff-log associate-*r* associate-*l* clear-num sum-log *-commutative div-inv associate-/l*
Counts
4 → 166
Calls
4 calls:
9.0ms
(+ (* (* x y) (* x y)) (* (* x x) (* x y)))
10.0ms
(* (* x x) (* x y))
12.0ms
(- (pow (* x x) 3) (pow (* x y) 3))
99.0ms
(/ (* 2.0 (- (pow (* x x) 3) (pow (* x y) 3))) (+ (* (* x x) (* x x)) (+ (* (* x y) (* x y)) (* (* x x) (* x y)))))

series278.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(+ (* (* x y) (* x y)) (* (* x x) (* x y)))
25.0ms
(* (* x x) (* x y))
75.0ms
(- (pow (* x x) 3) (pow (* x y) 3))
122.0ms
(/ (* 2.0 (- (pow (* x x) 3) (pow (* x y) 3))) (+ (* (* x x) (* x x)) (+ (* (* x y) (* x y)) (* (* x x) (* x y)))))

simplify155.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (132.0ms)

IterNodesCost
06762006
134741557
250011544

prune312.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes57.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample403.0ms

Algorithm
intervals
Results
236.0ms11080×body80valid