Details

Time bar (total: 5.8s)

sample48.0ms

Algorithm
intervals
Results
24.0ms255×body80valid
0.0msbody320valid

simplify131.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.9b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.5b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.8b
(+ (* (+ x y) z) (* (+ t y) a))
22.4b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
1050×*-un-lft-identity
500×distribute-lft-out
450×associate-*l*
153×add-sqr-sqrt
144×prod-diff
140×distribute-lft-out--
125×times-frac
90×add-cube-cbrt
42×associate-*r*
25×associate-/l*
21×unswap-sqr
14×*-commutative difference-of-squares
13×fma-def
12×fma-neg
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u frac-add log1p-expm1-u
+-commutative flip3-- diff-log associate--l+ sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num cbrt-unprod div-inv
Counts
4 → 431
Calls
4 calls:
6.0ms
(* (+ x y) z)
38.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
19.0ms
(+ (* (+ x y) z) (* (+ t y) a))
55.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series867.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (+ x y) z)
109.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
58.0ms
(+ (* (+ x y) z) (* (+ t y) a))
671.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify172.0ms

Algorithm
egg-herbie
Counts
443 → 443
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
07846001
133794672
250014666

prune405.0ms

Filtered
443 candidates to 117 candidates (26.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4358443
Fresh000
Picked101
Done000
Total4368444

Merged error: 7.1b

Counts
444 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.5b
(fma (+ x y) z (* (+ t y) a))
7.9b
(/ (* y b) (+ (+ x t) y))
20.7b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
232×*-un-lft-identity
179×times-frac
109×add-sqr-sqrt
95×add-cube-cbrt
82×distribute-lft-out
28×associate-/l*
22×associate-*l*
21×associate-*r*
18×add-exp-log
16×add-cbrt-cube
13×associate-/r*
associate-/l/
div-inv
div-exp *-commutative unswap-sqr
pow1
cbrt-undiv
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
frac-2neg flip3-+ clear-num flip-+
associate-*l/ prod-exp cbrt-unprod
1-exp pow-prod-down fma-udef
Counts
4 → 239
Calls
4 calls:
6.0ms
(* (+ t y) a)
1.0ms
(fma (+ x y) z (* (+ t y) a))
11.0ms
(/ (* y b) (+ (+ x t) y))
12.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series401.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ t y) a)
57.0ms
(fma (+ x y) z (* (+ t y) a))
83.0ms
(/ (* y b) (+ (+ x t) y))
239.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify119.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07492431
134662256
250012153

prune438.0ms

Filtered
251 candidates to 135 candidates (53.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2483251
Fresh347
Picked101
Done000
Total2527259

Merged error: 4.7b

Counts
259 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ (+ x t) y))
1.5b
(fma (+ x y) z (* (+ t y) a))
4.3b
(* b (/ y (+ (+ x t) y)))
20.7b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
195×*-un-lft-identity
150×times-frac
89×add-sqr-sqrt
84×add-cube-cbrt
66×distribute-lft-out
23×associate-/l*
21×associate-*r*
18×add-exp-log associate-/r*
16×add-cbrt-cube
11×associate-*r/
div-inv associate-/l/
div-exp
pow1 associate-/r/
cbrt-undiv clear-num
expm1-log1p-u frac-2neg log1p-expm1-u add-log-exp
flip3-+ associate-*l* flip-+
prod-exp un-div-inv cbrt-unprod unswap-sqr
1-exp pow-prod-down *-commutative fma-udef
Counts
4 → 214
Calls
4 calls:
7.0ms
(/ y (+ (+ x t) y))
1.0ms
(fma (+ x y) z (* (+ t y) a))
13.0ms
(* b (/ y (+ (+ x t) y)))
11.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series406.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ y (+ (+ x t) y))
56.0ms
(fma (+ x y) z (* (+ t y) a))
52.0ms
(* b (/ y (+ (+ x t) y)))
236.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify93.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06032115
126411937
250031834

prune383.0ms

Filtered
226 candidates to 120 candidates (53.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2251226
Fresh156
Picked101
Done000
Total2276233

Merged error: 2.4b

Counts
233 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.5b
(fma (+ x y) z (* (+ t y) a))
7.9b
(/ (* y b) (+ (+ x t) y))
20.7b
(* (fma (+ x y) z (* (+ t y) a)) (/ 1 (+ (+ x t) y)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
164×*-un-lft-identity
92×times-frac
76×add-sqr-sqrt
63×distribute-lft-out
57×add-cube-cbrt
39×associate-*r*
22×add-exp-log
21×associate-*l*
19×associate-/l*
16×add-cbrt-cube
15×associate-/r*
11×associate-*r/
unswap-sqr
pow1 *-commutative
div-exp associate-/r/
prod-exp
cbrt-undiv expm1-log1p-u clear-num log1p-expm1-u add-log-exp
frac-2neg flip3-+ un-div-inv cbrt-unprod flip-+ div-inv
rec-exp 1-exp
pow-flip pow-prod-down fma-udef inv-pow
Counts
4 → 206
Calls
4 calls:
13.0ms
(/ 1 (+ (+ x t) y))
1.0ms
(fma (+ x y) z (* (+ t y) a))
10.0ms
(/ (* y b) (+ (+ x t) y))
14.0ms
(* (fma (+ x y) z (* (+ t y) a)) (/ 1 (+ (+ x t) y)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ 1 (+ (+ x t) y))
49.0ms
(fma (+ x y) z (* (+ t y) a))
79.0ms
(/ (* y b) (+ (+ x t) y))
239.0ms
(* (fma (+ x y) z (* (+ t y) a)) (/ 1 (+ (+ x t) y)))

simplify86.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05251537
124571406
250031360

prune391.0ms

Filtered
218 candidates to 125 candidates (57.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2180218
Fresh055
Picked011
Done000
Total2186224

Merged error: 2.4b

Counts
224 → 6

regimes363.0ms

Accuracy

28.4% (16.3b remaining)

Error of 19.5b against oracle of 3.2b and baseline of 25.9b

bsearch121.0ms

Steps
ItersRangePoint
8
4.3655482825599396e+57
4.8632694329972866e+61
3.7107450165740636e+61
10
-2.1855943307498512e+100
-2.086836314435331e+89
-1.9288964540011012e+93

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04018
14018

end0.0ms

sample631.0ms

Algorithm
intervals
Results
365.0ms7996×body80valid
0.0msbody160valid
0.0msbody640valid
0.0msbody320valid