Details

Time bar (total: 6.6s)

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 18.436034%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
9.0ms38×body1280valid
8.0ms175×body80valid
5.0ms27×body640valid
4.0ms24×body1280nan
2.0ms18×body640nan
2.0ms13×body320valid
1.0ms12×body320nan
1.0msbody160nan
0.0ms10×body80nan
0.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.5b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.2b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.3b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
27×times-frac
16×add-cube-cbrt difference-of-squares
14×distribute-lft-out--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow div-inv associate--r-
Counts
3 → 85
Calls
3 calls:
7.0ms
(/ (- x y) (- 1.0 y))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
17.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series28.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ (- x y) (- 1.0 y))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify41.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0404711
11152666
25001659

prune161.0ms

Filtered
69 candidates to 94 candidates (-36.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh000
Picked101
Done000
Total91495

Merged error: 0.0b

Counts
95 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.4b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
5.3b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×times-frac
25×add-cube-cbrt
21×associate-*r*
18×add-exp-log
11×add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
flip3-- flip-- add-log-exp
associate-*l* associate-/r*
div-exp prod-exp associate-/r/
log-prod associate-/l* unswap-sqr
cbrt-undiv frac-times log-div rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num log-pow un-div-inv *-commutative inv-pow
Counts
4 → 117
Calls
4 calls:
5.0ms
(/ 1 (- 1.0 y))
12.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series29.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (- 1.0 y))
6.0ms
(* (- x y) (/ 1 (- 1.0 y)))
9.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
12.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0487838
12073735
25001686

prune153.0ms

Filtered
82 candidates to 129 candidates (-57.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 0.0b

Counts
133 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (pow y 2)) (/ 1 y))
2.4b
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
3.5b
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
9.7b
(/ x (pow y 2))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
48×times-frac
34×*-un-lft-identity
22×add-cube-cbrt
15×unpow-prod-down difference-of-squares
10×add-exp-log
associate-/r* add-log-exp
unpow2 sqr-pow
associate-*r/ frac-add add-cbrt-cube
pow1 log-div
associate-+l+
sub-neg log-prod flip3-- div-exp frac-sub flip-- associate-/l* distribute-lft-out--
distribute-rgt-in distribute-lft-in flip3-+ flip-+ div-inv
cbrt-undiv +-commutative pow-to-exp frac-2neg diff-log rem-log-exp pow-exp clear-num sum-log log-pow
Counts
4 → 115
Calls
4 calls:
20.0ms
(- (/ x (pow y 2)) (/ 1 y))
24.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
27.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
5.0ms
(/ x (pow y 2))

series31.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (/ x (pow y 2)) (/ 1 y))
12.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
8.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
5.0ms
(/ x (pow y 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05261123
119331013
250011004

prune182.0ms

Filtered
82 candidates to 127 candidates (-54.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh022
Picked011
Done011
Total1274131

Merged error: 0.0b

Counts
131 → 4

localize212.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
1.2b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
2.4b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
5.4b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
240×*-un-lft-identity
166×add-sqr-sqrt
152×times-frac
76×distribute-lft-out--
58×add-cube-cbrt
55×swap-sqr
50×difference-of-squares
31×associate-*r* associate-*l*
18×add-exp-log
16×add-cbrt-cube
13×pow1
log-prod associate-/r/
flip3-- flip-- add-log-exp
cbrt-undiv log-div div-exp prod-exp cbrt-unprod div-inv unswap-sqr
rem-log-exp log-pow
pow2 frac-times sub-neg flip3-+ pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ distribute-lft-out
Counts
4 → 188
Calls
4 calls:
28.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
3.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
3.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
11.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series95.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
25.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
41.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
16.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify108.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
09022342
140912154
250032099

prune322.0ms

Filtered
116 candidates to 200 candidates (-72.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1991200
Fresh011
Picked101
Done022
Total2004204

Merged error: 0.0b

Counts
204 → 4

regimes195.0ms

Accuracy

97.7% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 17.6b

bsearch103.0ms

Steps
ItersRangePoint
11
2.0081774965400134e-05
2056216811318328.0
65972997.63194346
8
-2.003189631329489e+27
-1.0443659578001168e+23
-1.065374522029206e+23

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03516
13516

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 18.436034%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
280.0ms5717×body80valid
198.0ms818×body1280valid
141.0ms796×body640valid
131.0ms689×body1280nan
119.0ms813×body640nan
60.0ms428×body320valid
49.0ms472×body320nan
21.0ms241×body160valid
17.0ms247×body160nan
12.0ms318×body80nan

Profiling

Loading profile data...