Details

Time bar (total: 4.3s)

sample38.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
6.0ms256×pre80true

simplify68.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: 19.3b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
18.5b
(/ (fma x x (* y y)) (+ x y))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub flip-- fma-udef
Counts
3 → 178
Calls
3 calls:
0.0ms
(fma x x (* y y))
17.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
6.0ms
(/ (fma x x (* y y)) (+ x y))

series172.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(fma x x (* y y))
71.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
67.0ms
(/ (fma x x (* y y)) (+ x y))

simplify85.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06522043
129391866
250011860

prune368.0ms

Pruning

6 alts after pruning (6 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) (+ x y))
0.0b
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
0.0b
(* (hypot x y) (/ (hypot x y) (+ x y)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
33×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
pow1 cbrt-undiv div-exp
associate-/r* associate-/r/
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* div-inv
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
hypot-udef flip3-- div-sub pow-prod-down *-commutative flip--
Counts
4 → 117
Calls
4 calls:
0.0ms
(hypot x y)
5.0ms
(/ (hypot x y) (+ x y))
13.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(hypot x y)
89.0ms
(/ (hypot x y) (+ x y))
89.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
89.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0378858
11715740
25001733

prune259.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
54×associate-*r*
53×*-un-lft-identity
50×add-sqr-sqrt
44×times-frac
33×add-cube-cbrt
19×add-exp-log add-cbrt-cube
10×pow1 cbrt-prod
associate-*l* distribute-lft-out
associate-/r/
prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u associate-*r/ log1p-expm1-u div-inv add-log-exp
cbrt-undiv flip3-+ div-exp pow-prod-down *-commutative flip-+
cbrt-div pow1/3 distribute-lft-out-- difference-of-squares
Counts
4 → 138
Calls
4 calls:
7.0ms
(cbrt (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(cbrt (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))
87.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
85.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
87.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

simplify99.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02851108
11122966
24707949
35001949

prune422.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log
44×*-un-lft-identity
36×add-sqr-sqrt
34×add-cbrt-cube
31×times-frac
25×add-cube-cbrt
22×prod-exp
19×associate-*r*
14×div-exp
12×pow1 cbrt-unprod
cbrt-undiv associate-/l*
associate-*r/ distribute-lft-out
associate-*l* associate-/r/
associate-/r*
expm1-log1p-u rec-exp 1-exp pow-prod-down log1p-expm1-u add-log-exp
un-div-inv div-inv unswap-sqr
frac-2neg flip3-+ clear-num *-commutative flip-+ associate-/l/ distribute-lft-out-- difference-of-squares
flip3-- pow-flip div-sub flip-- inv-pow
Counts
4 → 146
Calls
4 calls:
6.0ms
(/ 1 (+ x y))
29.0ms
(/ (- x y) (* (hypot x y) (* (hypot x y) (/ 1 (+ x y)))))
19.0ms
(* (hypot x y) (* (hypot x y) (/ 1 (+ x y))))
17.0ms
(* (hypot x y) (/ 1 (+ x y)))

series298.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (+ x y))
91.0ms
(/ (- x y) (* (hypot x y) (* (hypot x y) (/ 1 (+ x y)))))
88.0ms
(* (hypot x y) (* (hypot x y) (/ 1 (+ x y))))
87.0ms
(* (hypot x y) (/ 1 (+ x y)))

simplify61.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04731060
12188840
25001796

prune253.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes41.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
01426
11426

end0.0ms

sample1.0s

Algorithm
intervals
Results
703.0ms8000×body80valid
186.0ms8000×pre80true