Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
9.0ms366×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0215
1655
21795
35125
413575
550015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 x) (- 3.0 x))
5.9b
(/ (* (- 1.0 x) (- 3.0 x)) (* y 3.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×prod-diff
16×add-exp-log add-cube-cbrt add-cbrt-cube
12×flip3-- flip--
11×distribute-rgt-in distribute-lft-in
frac-times associate-/l/
associate-*r* associate-*l* prod-exp cbrt-unprod
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/
expm1-log1p-u sub-neg log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 85
Calls
2 calls:
21.0ms
(* (- 1.0 x) (- 3.0 x))
16.0ms
(/ (* (- 1.0 x) (- 3.0 x)) (* y 3.0))

series70.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* (- 1.0 x) (- 3.0 x))
46.0ms
(/ (* (- 1.0 x) (- 3.0 x)) (* y 3.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0497758
12837559
25002559

prune174.0ms

Filtered
91 candidates to 53 candidates (58.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 3.0 x) 3.0)
0.0b
(/ (- 1.0 x) y)
0.1b
(* (/ (- 1.0 x) y) (/ (- 3.0 x) 3.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt
69×*-un-lft-identity
64×times-frac
41×add-cube-cbrt
19×add-exp-log associate-*r* associate-*l* add-cbrt-cube
14×distribute-lft-out-- difference-of-squares
10×associate-/l*
cbrt-undiv div-exp associate-/r*
pow1
prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- frac-2neg div-sub clear-num flip--
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 144
Calls
3 calls:
9.0ms
(/ (- 3.0 x) 3.0)
9.0ms
(/ (- 1.0 x) y)
31.0ms
(* (/ (- 1.0 x) y) (/ (- 3.0 x) 3.0))

series125.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ (- 3.0 x) 3.0)
34.0ms
(/ (- 1.0 x) y)
50.0ms
(* (/ (- 1.0 x) y) (/ (- 3.0 x) 3.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0571920
12402835
25001834

prune334.0ms

Filtered
153 candidates to 110 candidates (71.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 3.0 x) 3.0)
0.1b
(* (- 1.0 x) (/ (/ (- 3.0 x) 3.0) y))
0.1b
(/ (/ (- 3.0 x) 3.0) y)

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
237×times-frac
178×add-sqr-sqrt
169×*-un-lft-identity
117×add-cube-cbrt
61×associate-*r*
26×distribute-lft-out-- difference-of-squares
24×associate-/l*
19×add-exp-log add-cbrt-cube
10×div-inv
cbrt-undiv div-exp
associate-/r*
pow1 associate-*l*
expm1-log1p-u flip3-- div-sub prod-exp flip-- cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp unswap-sqr
frac-times frac-2neg associate-*l/ clear-num
associate-*r/ pow-prod-down *-commutative
Counts
3 → 228
Calls
3 calls:
13.0ms
(/ (- 3.0 x) 3.0)
43.0ms
(* (- 1.0 x) (/ (/ (- 3.0 x) 3.0) y))
13.0ms
(/ (/ (- 3.0 x) 3.0) y)

series131.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (- 3.0 x) 3.0)
52.0ms
(* (- 1.0 x) (/ (/ (- 3.0 x) 3.0) y))
40.0ms
(/ (/ (- 3.0 x) 3.0) y)

simplify125.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
08071746
140311652
250011649

prune548.0ms

Filtered
237 candidates to 176 candidates (74.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (- 1.0 x) (fma (- 0.3333333333333333) (/ x y) (/ 1.0 y)))
0.1b
(fma (- 0.3333333333333333) (/ x y) (/ 1.0 y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* fma-udef
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
distribute-rgt-in flip3-- distribute-lft-in pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 36
Calls
2 calls:
11.0ms
(* (- 1.0 x) (fma (- 0.3333333333333333) (/ x y) (/ 1.0 y)))
0.0ms
(fma (- 0.3333333333333333) (/ x y) (/ 1.0 y))

series111.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(* (- 1.0 x) (fma (- 0.3333333333333333) (/ x y) (/ 1.0 y)))
59.0ms
(fma (- 0.3333333333333333) (/ x y) (/ 1.0 y))

simplify104.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0160325
1657284
24522284
35001284

prune97.0ms

Filtered
42 candidates to 30 candidates (71.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes74.0ms

Accuracy

0% (0.1b 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
0105
1105

end0.0ms

sample446.0ms

Algorithm
intervals
Results
268.0ms10602×body80valid