Details

Time bar (total: 3.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 22.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

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

series134.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (- x y) (+ x y))
31.0ms
(+ (* x x) (* y y))
61.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify67.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0435575
12499504
25001494

prune204.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot x y)
0.0b
(hypot x y)
0.0b
(* (hypot x y) (hypot x y))
22.1b
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
11×pow1
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-/l/
hypot-udef
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u frac-times div-exp log1p-expm1-u add-log-exp
flip3-- flip3-+ swap-sqr associate-*r* associate-*l* flip-- flip-+
associate-*r/ associate-*l/
pow2 frac-2neg times-frac pow-plus sqrt-unprod pow-prod-down clear-num associate-/r* rem-square-sqrt pow-sqr *-commutative pow-prod-up div-inv associate-/l* unswap-sqr
Counts
4 → 80
Calls
4 calls:
0.0ms
(hypot x y)
0.0ms
(hypot x y)
5.0ms
(* (hypot x y) (hypot x y))
11.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot x y)
50.0ms
(hypot x y)
67.0ms
(* (hypot x y) (hypot x y))
93.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

simplify53.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0323491
11937386
25002382

prune381.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
66×add-sqr-sqrt
58×times-frac
40×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv div-exp associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg clear-num
frac-times hypot-udef flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 146
Calls
4 calls:
0.0ms
(hypot x y)
11.0ms
(/ (- x y) (hypot x y))
8.0ms
(/ (+ x y) (hypot x y))
29.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot x y)
91.0ms
(/ (- x y) (hypot x y))
90.0ms
(/ (+ x y) (hypot x y))
92.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04911105
12109999
25003997

prune322.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3))
0.0b
(/ (+ x y) (hypot x y))
0.0b
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
0.0b
(pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
50×add-sqr-sqrt
43×times-frac
32×add-cube-cbrt
31×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
pow1 cbrt-undiv div-exp
cbrt-prod prod-exp cbrt-unprod
distribute-lft-out
cube-div
pow-exp rem-cube-cbrt
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
frac-times pow-unpow cbrt-div associate-*r/ associate-*l/ associate-/r* div-inv distribute-lft-out-- difference-of-squares
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down associate-/l/ sqr-pow
pow-to-exp frac-2neg flip3-+ pow1/3 clear-num *-commutative rem-cbrt-cube flip-+
Counts
4 → 151
Calls
4 calls:
1.0ms
(cbrt (pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3))
8.0ms
(/ (+ x y) (hypot x y))
31.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
10.0ms
(pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3)

series389.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3))
89.0ms
(/ (+ x y) (hypot x y))
90.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
103.0ms
(pow (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) 3)

simplify71.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05381246
127001191
250021183

prune381.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample462.0ms

Algorithm
intervals
Results
226.0ms8000×body80valid
103.0ms8000×pre80true