Details

Time bar (total: 4.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1144
2144

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.6b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (/ y z))
7.7b
(/ (+ x y) (- 1.0 (/ y z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
75×*-un-lft-identity
57×times-frac
49×add-cube-cbrt
39×prod-diff
12×difference-of-squares
distribute-lft-out
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube div-inv associate-/l* add-log-exp
fma-neg
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+
Counts
2 → 111
Calls
2 calls:
8.0ms
(- 1.0 (/ y z))
10.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series74.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(- 1.0 (/ y z))
57.0ms
(/ (+ x y) (- 1.0 (/ y z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05041403
116141048
25001967

prune196.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (/ y z))
0.9b
(/ 1 (- 1.0 (/ y z)))
6.6b
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
107×add-sqr-sqrt
79×*-un-lft-identity
73×times-frac
60×add-cube-cbrt
39×prod-diff
24×associate-*r*
16×add-exp-log difference-of-squares
10×add-cbrt-cube
distribute-lft-out--
pow1 associate-/r*
div-inv add-log-exp
div-exp associate-*l* prod-exp associate-/r/
expm1-log1p-u flip3-- fma-neg flip-- log1p-expm1-u associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp flip3-+ 1-exp associate-*l/ cbrt-unprod flip-+
sub-neg pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv *-commutative distribute-lft-out inv-pow
Counts
3 → 160
Calls
3 calls:
8.0ms
(- 1.0 (/ y z))
9.0ms
(/ 1 (- 1.0 (/ y z)))
16.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

series121.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(- 1.0 (/ y z))
45.0ms
(/ 1 (- 1.0 (/ y z)))
56.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

simplify77.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06461655
126011241
250011110

prune277.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (/ y z))
0.2b
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
7.7b
(/ (- 1.0 (/ y z)) (+ x y))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
259×times-frac
235×add-sqr-sqrt
231×*-un-lft-identity
125×add-cube-cbrt
44×difference-of-squares
39×prod-diff
34×associate-/r*
31×distribute-lft-out
22×distribute-lft-out--
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-inv associate-/l*
div-exp
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv
expm1-log1p-u fma-neg log1p-expm1-u
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/
sub-neg pow-flip diff-log div-sub inv-pow
Counts
3 → 258
Calls
3 calls:
8.0ms
(- 1.0 (/ y z))
15.0ms
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
14.0ms
(/ (- 1.0 (/ y z)) (+ x y))

series191.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(- 1.0 (/ y z))
130.0ms
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
44.0ms
(/ (- 1.0 (/ y z)) (+ x y))

simplify105.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08983034
137342513
250012273

prune344.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 5.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
3.1b
(* (+ x y) (/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z)))))
3.8b
(sqrt (- 1.0 (/ y z)))
3.8b
(sqrt (- 1.0 (/ y z)))

rewrite221.0ms

Algorithm
rewrite-expression-head
Rules
1251×times-frac
1115×add-sqr-sqrt
765×sqrt-prod
704×*-un-lft-identity
446×add-cube-cbrt
303×associate-*r*
252×difference-of-squares
126×distribute-lft-out--
46×sqrt-div
42×associate-/r/
33×associate-/l*
28×add-exp-log
23×flip3-- flip--
22×div-inv
18×add-cbrt-cube
15×pow1
12×div-exp unswap-sqr
associate-/r*
cbrt-undiv sqrt-pow1 pow1/2 pow-div
pow-flip prod-exp
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
cbrt-unprod
frac-times rem-sqrt-square rec-exp flip3-+ 1-exp associate-*l/ flip-+
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative associate-/l/ distribute-lft-out inv-pow
Counts
4 → 749
Calls
4 calls:
26.0ms
(/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
88.0ms
(* (+ x y) (/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z)))))
9.0ms
(sqrt (- 1.0 (/ y z)))
12.0ms
(sqrt (- 1.0 (/ y z)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
52.0ms
(* (+ x y) (/ (/ 1 (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z)))))
84.0ms
(sqrt (- 1.0 (/ y z)))
89.0ms
(sqrt (- 1.0 (/ y z)))

simplify144.0ms

Algorithm
egg-herbie
Counts
761 → 761
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
0181111226
1500110030

prune1.5s

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 5.5b

regimes157.0ms

Accuracy

69.5% (0.6b remaining)

Error of 6.2b against oracle of 5.6b and baseline of 7.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03126
13126

end0.0ms

sample365.0ms

Algorithm
intervals
Results
202.0ms8000×body80valid