Details

Time bar (total: 2.3s)

sample16.0ms

Algorithm
intervals
Results
8.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

Filtered
1 candidates to 1 candidates (100.0%)
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))

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

series84.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0268469
11243316
25001310

prune85.0ms

Filtered
74 candidates to 36 candidates (48.6%)
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:
13.0ms
(* x (* (- x y) 2.0))

series50.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0144117
155895
2317695
3500295

prune41.0ms

Filtered
25 candidates to 18 candidates (72.0%)
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))) 2.0)
0.0b
(+ (pow x 2) (* x (- y)))

rewrite27.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:
19.0ms
(* (+ (pow x 2) (* x (- y))) 2.0)
7.0ms
(+ (pow x 2) (* x (- y)))

series84.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0168276
1771220
24864204
35001204

prune107.0ms

Filtered
53 candidates to 43 candidates (81.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log fma-def
21×unpow-prod-down
15×*-un-lft-identity
14×add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt
12×cube-prod
10×prod-exp
associate-*l* add-log-exp
unpow2
distribute-lft-out
pow1 expm1-log1p-u distribute-rgt-neg-out cbrt-unprod log1p-expm1-u sqr-pow
flip3-+ times-frac associate-/r* flip-+
cbrt-undiv pow-to-exp div-exp cube-neg associate-*l/ pow-exp associate-/r/ associate-/l/
+-commutative cube-mult sub-neg flip3-- distribute-rgt-out-- frac-2neg fma-neg diff-log unpow3 associate-*r* unsub-neg prod-diff clear-num sum-log sum-cubes *-commutative flip-- div-inv associate-/l*
Counts
4 → 115
Calls
4 calls:
17.0ms
(- (* (* x (- y)) (* x (- y))) (* (pow x 2) (* x (- y))))
10.0ms
(* (pow x 2) (* x (- y)))
27.0ms
(+ (pow (pow x 2) 3) (pow (* x (- y)) 3))
102.0ms
(/ (* (+ (pow (pow x 2) 3) (pow (* x (- y)) 3)) 2.0) (+ (* (pow x 2) (pow x 2)) (- (* (* x (- y)) (* x (- y))) (* (pow x 2) (* x (- y))))))

series290.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* (* x (- y)) (* x (- y))) (* (pow x 2) (* x (- y))))
26.0ms
(* (pow x 2) (* x (- y)))
77.0ms
(+ (pow (pow x 2) 3) (pow (* x (- y)) 3))
127.0ms
(/ (* (+ (pow (pow x 2) 3) (pow (* x (- y)) 3)) 2.0) (+ (* (pow x 2) (pow x 2)) (- (* (* x (- y)) (* x (- y))) (* (pow x 2) (* x (- y))))))

simplify114.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
05151343
128321101
250011037

prune387.0ms

Filtered
127 candidates to 92 candidates (72.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.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

sample462.0ms

Algorithm
intervals
Results
265.0ms11080×body80valid