Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
add-exp-log add-cbrt-cube
frac-times associate-/l/
flip3-+ flip-+
add-cube-cbrt flip3-- flip--
associate-*l*
pow1 associate-*r/ associate-*r* associate-*l/
times-frac associate-/r*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 62
Calls
2 calls:
16.0ms
(* (- x y) (+ x y))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series106.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0392500
12302438
25002431

prune149.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune4.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- x y) (+ x y))
0.0b
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
21.1b
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
41×associate-/r/
35×add-sqr-sqrt *-un-lft-identity
31×add-exp-log add-cube-cbrt
24×frac-times
19×flip3-+ add-cbrt-cube flip-+
18×flip3-- flip--
16×associate-/r*
14×div-exp
12×associate-*r/ associate-*l/
cbrt-undiv
pow1 div-inv associate-/l*
associate-*l* prod-exp
associate-*r*
rec-exp 1-exp cbrt-unprod add-log-exp
frac-2neg clear-num associate-/l/
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down *-commutative distribute-lft-out distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
3 → 150
Calls
3 calls:
16.0ms
(* (- x y) (+ x y))
19.0ms
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
17.0ms
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

series174.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (- x y) (+ x y))
66.0ms
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
67.0ms
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

simplify95.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06271753
138031557
250021476

prune272.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (/ (+ (* x x) (* y y)) (+ x y)))
0.2b
(* (- x y) (/ 1 (/ (+ (* x x) (* y y)) (+ x y))))
20.7b
(/ (+ (* x x) (* y y)) (+ x y))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
210×times-frac
161×*-un-lft-identity
123×add-sqr-sqrt
107×add-cube-cbrt
59×associate-*r*
35×add-exp-log
25×distribute-lft-out
22×associate-/r*
19×add-cbrt-cube
18×associate-/r/
15×div-exp
10×div-inv
flip3-+ flip-+
cbrt-undiv prod-exp
pow1 associate-/l*
associate-*l* unswap-sqr
rec-exp 1-exp
cbrt-unprod add-log-exp
frac-times flip3-- frac-2neg associate-*l/ clear-num flip-- associate-/l/
pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative distribute-lft-out-- inv-pow difference-of-squares
Counts
3 → 225
Calls
3 calls:
12.0ms
(/ 1 (/ (+ (* x x) (* y y)) (+ x y)))
48.0ms
(* (- x y) (/ 1 (/ (+ (* x x) (* y y)) (+ x y))))
11.0ms
(/ (+ (* x x) (* y y)) (+ x y))

series180.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ 1 (/ (+ (* x x) (* y y)) (+ x y)))
67.0ms
(* (- x y) (/ 1 (/ (+ (* x x) (* y y)) (+ x y))))
65.0ms
(/ (+ (* x x) (* y y)) (+ x y))

simplify98.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06982478
139402227
250012059

prune361.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.3b

regimes63.0ms

Accuracy

78.3% (4.5b remaining)

Error of 5.0b against oracle of 0.5b and baseline of 21.4b

bsearch82.0ms

Steps
ItersRangePoint
6
3.4015986104447535e-172
3.288929345092639e-171
3.235976480555956e-171
9
-9.30186565551967e-162
-7.297363866789588e-167
-1.8998575324277394e-162
8
-3.7610221637517924e+157
-2.8314860341645623e+153
-9.561120846059961e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03017
13117
23117

end0.0ms

sample464.0ms

Algorithm
intervals
Results
217.0ms8000×body80valid
109.0ms8000×pre80true