Details

Time bar (total: 5.1s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
11.0ms
(/ (- x y) (- 2.0 (+ x y)))

series56.0ms

Counts
1 → 3
Calls
1 calls:
56.0ms
(/ (- x y) (- 2.0 (+ x y)))

simplify138.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune117.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (- 2.0 (+ x y)))
0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
1352×*-un-lft-identity
946×times-frac
843×add-sqr-sqrt
576×prod-diff
517×add-cube-cbrt
335×distribute-lft-out--
161×distribute-lft-out difference-of-squares
106×associate-/r/
54×flip3-- flip--
53×div-inv
24×fma-neg
12×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 722
Calls
3 calls:
7.0ms
(/ x (- 2.0 (+ x y)))
7.0ms
(/ y (- 2.0 (+ x y)))
56.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series177.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(/ x (- 2.0 (+ x y)))
51.0ms
(/ y (- 2.0 (+ x y)))
76.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

simplify266.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune1.0s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
0.1b
(* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y))))
0.1b
(* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
3.8b
(/ (- (* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y)))) (* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))) (+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y)))))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
794×*-un-lft-identity
462×times-frac
257×add-sqr-sqrt
174×distribute-lft-out--
165×distribute-lft-out
155×add-cube-cbrt
84×swap-sqr
59×difference-of-squares
48×associate-*r* associate-*l*
45×associate-/r/
30×add-exp-log add-cbrt-cube
24×fma-def
22×flip3-- flip-- div-inv
19×associate-/r*
18×pow1 distribute-rgt-out
16×associate-/l/
12×associate-*r/ associate-*l/
10×frac-times
cbrt-undiv div-exp frac-sub
prod-exp cbrt-unprod unswap-sqr
add-log-exp
sub-div
expm1-log1p-u log1p-expm1-u associate-/l*
pow2 flip3-+ pow-plus pow-prod-down frac-add pow-sqr *-commutative pow-prod-up flip-+
+-commutative frac-2neg div-sub clear-num sum-log
Counts
4 → 427
Calls
4 calls:
41.0ms
(+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
26.0ms
(* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y))))
29.0ms
(* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
58.0ms
(/ (- (* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y)))) (* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))) (+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y)))))

series370.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
64.0ms
(* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y))))
69.0ms
(* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
173.0ms
(/ (- (* (/ x (- 2.0 (+ x y))) (/ x (- 2.0 (+ x y)))) (* (/ y (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))) (+ (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
439 → 439
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
013956988
150016736

prune1.0s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 2.0 2.0) (* (+ x y) (+ x y)))
0.0b
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
7.2b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
16.2b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
43×add-sqr-sqrt times-frac
32×add-cube-cbrt
25×prod-diff
18×associate-*l*
11×add-exp-log add-cbrt-cube difference-of-squares
add-log-exp
associate-/r/
pow1 flip-- distribute-lft-out distribute-lft-out--
flip3-- associate-*r/ associate-*r* frac-sub flip-+
expm1-log1p-u frac-times flip3-+ associate-/r* log1p-expm1-u
distribute-rgt-in distribute-lft-in div-inv associate-/l*
cbrt-undiv sub-neg fma-neg diff-log div-exp associate-*l/ prod-exp associate--l+ cbrt-unprod associate--r+ unswap-sqr
distribute-rgt-out-- frac-2neg pow-prod-down clear-num *-commutative sub-div
Counts
4 → 149
Calls
4 calls:
4.0ms
(- (* 2.0 2.0) (* (+ x y) (+ x y)))
22.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
14.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
5.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series381.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* 2.0 2.0) (* (+ x y) (+ x y)))
173.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
92.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
83.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify148.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (123.0ms)

IterNodesCost
010692510
147592132
250012131

prune418.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes43.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch66.0ms

Steps
ItersRangePoint
8
3.627277507727334e-106
3.719001317748321e-103
8.480069669833023e-105
4
-2.076284895701021
-1.0806682141483241
-1.8286949592281574

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03236
13236

end0.0ms

sample302.0ms

Algorithm
intervals
Results
175.0ms8000×body80valid