Details

Time bar (total: 1.7s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1364
2734
31274
41674
51854
61874
71874

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.4b

localize5.0ms

Local error

Found 1 expressions with local error:

13.9b
(/ (* (* x 2.0) y) (- x y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
times-frac associate-/r*
cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/r/ distribute-lft-out-- difference-of-squares
pow1 flip3-- frac-2neg clear-num flip-- div-inv associate-/l* add-log-exp
Counts
1 → 29
Calls
1 calls:
10.0ms
(/ (* (* x 2.0) y) (- x y))

series63.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0211184
11144151
25002151

prune47.0ms

Filtered
32 candidates to 21 candidates (65.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt associate-*r*
16×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
associate-/r*
associate-/r/
cbrt-undiv div-exp pow-prod-down associate-/l*
flip3-- flip-- div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 78
Calls
2 calls:
5.0ms
(/ y (- x y))
16.0ms
(* (* x 2.0) (/ y (- x y)))

series106.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ y (- x y))
63.0ms
(* (* x 2.0) (/ y (- x y)))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0310435
11657385
25001385

prune124.0ms

Filtered
84 candidates to 55 candidates (65.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- x y))
0.2b
(* y (/ 1 (- x y)))
6.2b
(* (* x 2.0) (* y (/ 1 (- x y))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
51×add-exp-log
44×add-sqr-sqrt
38×*-un-lft-identity
32×times-frac
31×add-cbrt-cube
27×prod-exp
23×add-cube-cbrt
22×associate-*r*
18×pow1
15×cbrt-unprod
pow-prod-down
div-exp
distribute-lft-out-- difference-of-squares
associate-/r*
cbrt-undiv rec-exp 1-exp associate-*r/ associate-*l* associate-/r/
associate-/l* add-log-exp unswap-sqr
flip3-- un-div-inv *-commutative flip-- div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 117
Calls
3 calls:
5.0ms
(/ 1 (- x y))
18.0ms
(* y (/ 1 (- x y)))
22.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

series139.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ 1 (- x y))
43.0ms
(* y (/ 1 (- x y)))
62.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0379634
11779506
25001464

prune143.0ms

Filtered
126 candidates to 63 candidates (50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
64×times-frac
50×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
22×associate-/r*
16×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp
associate-/l*
div-inv
pow1 frac-2neg prod-exp clear-num cbrt-unprod associate-/l/ add-log-exp
flip3-- div-sub associate-/r/ flip--
Counts
2 → 96
Calls
2 calls:
7.0ms
(/ (- x y) y)
9.0ms
(/ (* x 2.0) (/ (- x y) y))

series88.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ (- x y) y)
64.0ms
(/ (* x 2.0) (/ (- x y) y))

simplify117.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0386605
11911548
25001547

prune173.0ms

Filtered
102 candidates to 72 candidates (70.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes47.0ms

Accuracy

97% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 6.9b

bsearch65.0ms

Steps
ItersRangePoint
9
1.0432488494598607e-32
4.900262919832497e-26
7.099850683800167e-27
9
-4.93380508095946e-45
-1.872116450736006e-53
-1.390909119607474e-45

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0269
1269

end0.0ms

sample287.0ms

Algorithm
intervals
Results
170.0ms8000×body80valid