Details

Time bar (total: 3.7s)

sample24.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
4.0ms256×pre80true

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.1b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
17.9b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
8.0ms
(+ (* x x) (* y y))
27.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series79.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (* x x) (* y y))
55.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0308388
11848330
25001322

prune195.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune6.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(- (pow y 2) (pow x 2))
17.9b
(/ (- (pow y 2) (pow x 2)) (- (+ (* x x) (* y y))))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
272×add-sqr-sqrt
210×times-frac
192×difference-of-squares
128×*-un-lft-identity
120×unpow-prod-down
96×unpow2 sqr-pow
80×add-cube-cbrt
66×distribute-lft-neg-in distribute-rgt-neg-in
24×distribute-lft-out--
22×neg-mul-1
21×associate-/l*
10×associate-/r*
add-log-exp
add-exp-log add-cbrt-cube
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 299
Calls
3 calls:
8.0ms
(+ (* x x) (* y y))
18.0ms
(- (pow y 2) (pow x 2))
66.0ms
(/ (- (pow y 2) (pow x 2)) (- (+ (* x x) (* y y))))

series106.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
26.0ms
(- (pow y 2) (pow x 2))
52.0ms
(/ (- (pow y 2) (pow x 2)) (- (+ (* x x) (* y y))))

simplify84.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
010474162
127433744
250013716

prune763.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (sqrt (pow y 2)) x) -1) (/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y))))
17.2b
(/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y)))
25.8b
(sqrt (pow y 2))
25.8b
(sqrt (pow y 2))

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
115×add-sqr-sqrt
70×times-frac
63×*-un-lft-identity
44×sqrt-prod
43×add-cube-cbrt
35×difference-of-squares
33×associate-*r*
18×add-exp-log add-cbrt-cube
16×associate-*l*
15×unpow-prod-down
11×unpow2 sqr-pow
associate-/l*
rem-sqrt-square
distribute-lft-out--
pow1
cbrt-undiv div-exp
prod-exp associate-/r/ cbrt-unprod add-log-exp unswap-sqr
associate-/r* div-inv distribute-lft-out
sqrt-pow1 flip3-+ pow1/2 flip-+ associate-/l/
frac-times flip3-- frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
4 → 171
Calls
4 calls:
130.0ms
(* (/ (+ (sqrt (pow y 2)) x) -1) (/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y))))
52.0ms
(/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y)))
3.0ms
(sqrt (pow y 2))
3.0ms
(sqrt (pow y 2))

series118.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (/ (+ (sqrt (pow y 2)) x) -1) (/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y))))
41.0ms
(/ (- (sqrt (pow y 2)) x) (+ (* x x) (* y y)))
10.0ms
(sqrt (pow y 2))
7.0ms
(sqrt (pow y 2))

simplify89.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06632005
133221810
250021791

prune983.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes71.0ms

Accuracy

73.8% (5.5b remaining)

Error of 6.0b against oracle of 0.5b and baseline of 21.5b

bsearch106.0ms

Steps
ItersRangePoint
5
4.4786855603940777e-166
1.3508283474281595e-165
1.3237968323568382e-165
7
-4.3826917193255007e-221
-2.0646789829926284e-222
-4.343895419297977e-221
7
-7.402514054576592e-178
-2.6829408652575496e-179
-1.4044951435372772e-178
7
-6.601498896219609e+155
-5.9312350862110166e+153
-1.1008293110008418e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13816
23816

end0.0ms

sample571.0ms

Algorithm
intervals
Results
319.0ms8000×body80valid
113.0ms8000×pre80true