Details

Time bar (total: 2.2s)

sample22.0ms

Algorithm
intervals
Results
6.0ms183×body80valid
3.0ms27×body640valid
2.0ms21×body320valid
1.0msbody1280valid
1.0ms17×body160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150025

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.5b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.8b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.0b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
6.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series26.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (- 1.0 x) y)
14.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune115.0ms

Filtered
72 candidates to 51 candidates (29.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New67572
Fresh000
Picked101
Done000
Total68573

Merged error: 0.3b

Counts
73 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ y 1.0))
0.3b
(cbrt (+ y 1.0))
0.3b
(cbrt (+ y 1.0))
11.5b
(- 1.0 (* (/ (- 1.0 x) (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ y (cbrt (+ y 1.0)))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
3.0ms
(cbrt (+ y 1.0))
3.0ms
(cbrt (+ y 1.0))
3.0ms
(cbrt (+ y 1.0))
3.0ms
(- 1.0 (* (/ (- 1.0 x) (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ y (cbrt (+ y 1.0)))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ y 1.0))
6.0ms
(cbrt (+ y 1.0))
6.0ms
(cbrt (+ y 1.0))
12.0ms
(- 1.0 (* (/ (- 1.0 x) (* (cbrt (+ y 1.0)) (cbrt (+ y 1.0)))) (/ y (cbrt (+ y 1.0)))))

simplify118.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0275663
1870615
24506593
35001587

prune149.0ms

Filtered
66 candidates to 50 candidates (24.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done000
Total66571

Merged error: 0.3b

Counts
71 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.0b
(/ 1 (+ y 1.0))
5.2b
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
7.1b
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
32×add-exp-log
27×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
21×associate-*r*
20×add-cbrt-cube
13×prod-exp
12×pow1
associate-*l/
cbrt-unprod distribute-lft-out
div-exp associate-*l* add-log-exp
flip3-- pow-prod-down associate-/r* associate-/r/ flip--
cbrt-undiv rec-exp 1-exp associate-/l*
frac-times flip3-+ *-commutative flip-+ div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ clear-num un-div-inv distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (- 1.0 x) y)
5.0ms
(/ 1 (+ y 1.0))
5.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
13.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- 1.0 x) y)
2.0ms
(/ 1 (+ y 1.0))
11.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
6.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0509735
12631634
25001597

prune123.0ms

Filtered
130 candidates to 73 candidates (43.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh033
Picked011
Done011
Total1305135

Merged error: 0.3b

Counts
135 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×*-un-lft-identity
14×times-frac
add-log-exp difference-of-squares
div-inv distribute-lft-out--
add-cube-cbrt associate-+l+
sub-neg distribute-rgt-out--
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
+-commutative flip3-- flip3-+ diff-log sum-log frac-sub flip-- flip-+ sub-div
Counts
2 → 43
Calls
2 calls:
15.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
14.0ms
(- (/ 1 y) (/ x y))

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
4.0ms
(- (/ 1 y) (/ x y))

simplify81.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0224317
1627291
22875282
35001274

prune47.0ms

Filtered
49 candidates to 33 candidates (32.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New45449
Fresh022
Picked011
Done022
Total45954

Merged error: 0.3b

Counts
54 → 9

regimes440.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 14.6b

bsearch30.0ms

Steps
ItersRangePoint
9
7423.9342200737565
94425228992.39874
91603371.52539189
7
-249197998.3190651
-1163713.616925787
-88137346.91152322

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03111
13111

end0.0ms

sample616.0ms

Algorithm
intervals
Results
200.0ms6124×body80valid
86.0ms715×body640valid
55.0ms357×body1280valid
44.0ms505×body320valid
17.0ms299×body160valid

Profiling

Loading profile data...