Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms346×body80valid

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

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series85.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (33.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))

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

series53.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0144117
155895
2317695
3500295

prune40.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (* (- x y) 2.0))
0.3b
(* (sqrt (* x (* (- x y) 2.0))) (sqrt (* x (* (- x y) 2.0))))
7.8b
(sqrt (* x (* (- x y) 2.0)))
7.8b
(sqrt (* x (* (- x y) 2.0)))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
20×associate-*r/ associate-*l/
17×pow-prod-up
16×sqrt-div
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt flip3-- *-un-lft-identity flip--
associate-*l*
sqrt-prod
associate-*r*
expm1-log1p-u frac-times swap-sqr prod-exp cbrt-unprod log1p-expm1-u add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 130
Calls
4 calls:
13.0ms
(* x (* (- x y) 2.0))
84.0ms
(* (sqrt (* x (* (- x y) 2.0))) (sqrt (* x (* (- x y) 2.0))))
12.0ms
(sqrt (* x (* (- x y) 2.0)))
12.0ms
(sqrt (* x (* (- x y) 2.0)))

series462.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* x (* (- x y) 2.0))
116.0ms
(* (sqrt (* x (* (- x y) 2.0))) (sqrt (* x (* (- x y) 2.0))))
152.0ms
(sqrt (* x (* (- x y) 2.0)))
149.0ms
(sqrt (* x (* (- x y) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328714
11460635
25001593

prune213.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
(sqrt (- x y))
0.0b
(sqrt (- x y))
0.1b
(* x (sqrt (- x y)))
0.2b
(* (* x (sqrt (- x y))) (sqrt (- x y)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×sqrt-prod
19×*-un-lft-identity
18×sqrt-div
16×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-- flip--
expm1-log1p-u frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 99
Calls
4 calls:
5.0ms
(sqrt (- x y))
5.0ms
(sqrt (- x y))
12.0ms
(* x (sqrt (- x y)))
26.0ms
(* (* x (sqrt (- x y))) (sqrt (- x y)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- x y))
63.0ms
(sqrt (- x y))
90.0ms
(* x (sqrt (- x y)))
40.0ms
(* (* x (sqrt (- x y))) (sqrt (- x y)))

simplify44.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0326632
11323552
25001528

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

sample387.0ms

Algorithm
intervals
Results
221.0ms11135×body80valid