Details

Time bar (total: 4.2s)

sample27.0ms

Algorithm
intervals
Results
11.0ms355×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1547
2927
31427
41927
52387
62557
72867
83307
94277
104557
115187
125957
138037
148077
158077

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y)))
0.2b
(* (* z 3.0) y)
0.3b
(/ y (* z 3.0))
6.8b
(/ t (* (* z 3.0) y))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
25×add-sqr-sqrt
23×add-exp-log add-cube-cbrt associate-+l+ add-cbrt-cube
21×prod-diff
15×times-frac
pow1 add-log-exp
prod-exp cbrt-unprod
associate-/l*
cbrt-undiv fma-def div-exp div-inv
expm1-log1p-u log1p-expm1-u
associate-*r* pow-prod-down
frac-2neg frac-add clear-num associate-/r* sum-log distribute-lft-out distribute-lft-out--
+-commutative associate-+l- sub-neg flip3-- flip3-+ diff-log associate-*l* *-commutative flip-- flip-+ difference-of-squares
Counts
4 → 115
Calls
4 calls:
89.0ms
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y)))
17.0ms
(* (* z 3.0) y)
7.0ms
(/ y (* z 3.0))
17.0ms
(/ t (* (* z 3.0) y))

series147.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y)))
23.0ms
(* (* z 3.0) y)
19.0ms
(/ y (* z 3.0))
29.0ms
(/ t (* (* z 3.0) y))

simplify73.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0500905
12477746
25001698

prune342.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- x (/ y (* z 3.0))) (/ (/ t (* z 3.0)) y))
0.2b
(/ t (* z 3.0))
0.3b
(/ y (* z 3.0))
4.1b
(/ (/ t (* z 3.0)) y)

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
45×*-un-lft-identity
40×add-sqr-sqrt
38×add-cube-cbrt
23×add-exp-log associate-+l+ add-cbrt-cube
21×prod-diff
13×associate-/l*
10×div-inv
cbrt-undiv div-exp add-log-exp
fma-def associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg prod-exp clear-num cbrt-unprod
frac-add sum-log distribute-lft-out distribute-lft-out--
+-commutative associate-+l- sub-neg flip3-- flip3-+ diff-log flip-- flip-+ associate-/l/ difference-of-squares
Counts
4 → 143
Calls
4 calls:
92.0ms
(+ (- x (/ y (* z 3.0))) (/ (/ t (* z 3.0)) y))
8.0ms
(/ t (* z 3.0))
8.0ms
(/ y (* z 3.0))
14.0ms
(/ (/ t (* z 3.0)) y)

series146.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (- x (/ y (* z 3.0))) (/ (/ t (* z 3.0)) y))
18.0ms
(/ t (* z 3.0))
19.0ms
(/ y (* z 3.0))
30.0ms
(/ (/ t (* z 3.0)) y)

simplify67.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05771093
12337935
25001887

prune414.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (fma 1 x (- (* (/ y 3.0) (/ 1 z)))) (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)))
0.2b
(/ t (* z 3.0))
0.3b
(* (/ y 3.0) (/ 1 z))
4.1b
(/ (/ t (* z 3.0)) y)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
54×add-sqr-sqrt
41×*-un-lft-identity
40×add-exp-log
37×add-cube-cbrt
30×add-cbrt-cube
15×div-exp
13×associate-*r* associate-*l*
11×cbrt-undiv
10×prod-exp associate-/l*
div-inv
pow1 cbrt-unprod add-log-exp unswap-sqr
expm1-log1p-u associate-/r* log1p-expm1-u
fma-def
rec-exp frac-2neg 1-exp clear-num fma-udef
+-commutative frac-times associate-+l+ associate-+r+ flip3-+ associate-*r/ pow-prod-down associate-*l/ sum-log un-div-inv *-commutative flip-+ associate-/l/ distribute-lft-out
Counts
4 → 151
Calls
4 calls:
6.0ms
(+ (fma 1 x (- (* (/ y 3.0) (/ 1 z)))) (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)))
8.0ms
(/ t (* z 3.0))
25.0ms
(* (/ y 3.0) (/ 1 z))
15.0ms
(/ (/ t (* z 3.0)) y)

series172.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(+ (fma 1 x (- (* (/ y 3.0) (/ 1 z)))) (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)))
20.0ms
(/ t (* z 3.0))
22.0ms
(* (/ y 3.0) (/ 1 z))
30.0ms
(/ (/ t (* z 3.0)) y)

simplify74.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07131089
13194948
25001928

prune538.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1 x (- (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)) (/ (/ y 3.0) z)))
0.2b
(/ t (* z 3.0))
0.2b
(/ (/ y 3.0) z)
4.1b
(/ (/ t (* z 3.0)) y)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
111×times-frac
64×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
23×add-exp-log add-cbrt-cube associate-/l*
11×div-inv
10×cbrt-undiv div-exp
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
prod-exp cbrt-unprod associate-/l/
fma-udef
Counts
4 → 155
Calls
4 calls:
0.0ms
(fma 1 x (- (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)) (/ (/ y 3.0) z)))
8.0ms
(/ t (* z 3.0))
11.0ms
(/ (/ y 3.0) z)
15.0ms
(/ (/ t (* z 3.0)) y)

series175.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma 1 x (- (fma (/ 1 z) (+ (- (/ y 3.0)) (/ y 3.0)) (/ (/ t (* z 3.0)) y)) (/ (/ y 3.0) z)))
19.0ms
(/ t (* z 3.0))
18.0ms
(/ (/ y 3.0) z)
33.0ms
(/ (/ t (* z 3.0)) y)

simplify60.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06271056
12513965
25001965

prune578.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes113.0ms

Accuracy

71.5% (0.5b remaining)

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

bsearch101.0ms

Steps
ItersRangePoint
9
1.3907014942898241e-56
1.3706120812682457e-50
1.6373854397720207e-52
8
-4.2234171386325174e-57
-1.628969886429466e-60
-2.9828083705846457e-59

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04422
14622
24622

end0.0ms

sample745.0ms

Algorithm
intervals
Results
353.0ms11153×body80valid