Details

Time bar (total: 3.2s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2265
3295
4305
5305

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* x y) 2.0)
0.0b
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
6.1b
(/ y (+ 1.0 (/ (* x y) 2.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
62×add-sqr-sqrt
57×add-cube-cbrt
54×prod-diff
52×times-frac
13×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-/r/
associate-/r*
div-inv add-log-exp
flip3-+ flip-+ associate-/l*
pow1 cbrt-undiv expm1-log1p-u fma-neg div-exp log1p-expm1-u
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log prod-exp flip-- cbrt-unprod distribute-lft-out--
Counts
3 → 132
Calls
3 calls:
3.0ms
(/ (* x y) 2.0)
26.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
8.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series112.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(/ (* x y) 2.0)
32.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
61.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06662632
126251869
250021712

prune203.0ms

Filtered
141 candidates to 76 candidates (53.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* x y) 2.0)
0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.5b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
5.5b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
33×add-sqr-sqrt
29×times-frac
26×add-cube-cbrt
22×add-exp-log
18×associate-*r*
16×add-cbrt-cube
pow1 associate-/r* distribute-lft-out
div-exp add-log-exp
prod-exp
cbrt-undiv expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l*
fma-neg associate-*l* prod-diff cbrt-unprod div-inv unswap-sqr
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+
sub-neg flip3-- pow-flip diff-log associate-*r/ pow-prod-down un-div-inv *-commutative flip-- inv-pow
Counts
4 → 125
Calls
4 calls:
3.0ms
(/ (* x y) 2.0)
2.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
8.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
22.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

series165.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (* x y) 2.0)
33.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
51.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
59.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify69.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0528937
12575815
25002764

prune248.0ms

Filtered
137 candidates to 92 candidates (67.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* x y) 2.0)
0.0b
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
0.1b
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
6.0b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
369×times-frac
332×*-un-lft-identity
255×add-sqr-sqrt
241×add-cube-cbrt
159×prod-diff
43×distribute-lft-out
22×add-exp-log associate-/r*
20×div-inv
16×add-cbrt-cube
10×div-exp
associate-/l*
cbrt-undiv add-log-exp
pow1 difference-of-squares
expm1-log1p-u associate-/r/ log1p-expm1-u
frac-2neg fma-neg clear-num
rec-exp 1-exp associate-/l/ distribute-lft-out--
sub-neg flip3-- pow-flip flip3-+ diff-log prod-exp flip-- cbrt-unprod flip-+ inv-pow
Counts
4 → 331
Calls
4 calls:
3.0ms
(/ (* x y) 2.0)
37.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
14.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
14.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series159.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (* x y) 2.0)
32.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
60.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
48.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify93.0ms

Algorithm
egg-herbie
Counts
343 → 343
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
014439147
150016299

prune362.0ms

Filtered
343 candidates to 127 candidates (37.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))
0.4b
(/ x (sqrt 2.0))
0.5b
(/ y (sqrt 2.0))
6.1b
(/ y (+ 1.0 (* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
93×times-frac
68×add-cube-cbrt *-un-lft-identity
48×sqrt-prod
22×add-exp-log associate-*r* associate-*l* add-cbrt-cube
15×associate-/r*
associate-/l* unswap-sqr
cbrt-undiv div-exp
pow1
div-inv
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
associate-/r/
frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 188
Calls
4 calls:
22.0ms
(* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))
3.0ms
(/ x (sqrt 2.0))
3.0ms
(/ y (sqrt 2.0))
4.0ms
(/ y (+ 1.0 (* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))))

series559.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))
50.0ms
(/ x (sqrt 2.0))
58.0ms
(/ y (sqrt 2.0))
311.0ms
(/ y (+ 1.0 (* (/ x (sqrt 2.0)) (/ y (sqrt 2.0)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06261462
129141357
250011290

prune429.0ms

Filtered
200 candidates to 136 candidates (68.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01512
11512

end0.0ms

sample328.0ms

Algorithm
intervals
Results
207.0ms7999×body80valid
0.0msbody2560valid