Details

Time bar (total: 2.5s)

sample157.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 1.5625%

Guaranteed chance to sample good point: 98.084077%

Results
6.0ms185×body80valid
4.0ms39×body640valid
1.0ms13×body320valid
1.0msbody1280valid
1.0ms11×body160valid

simplify79.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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.7b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.0b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite23.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)))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series21.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (- 1.0 x) y)
11.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune108.0ms

Filtered
51 candidates to 72 candidates (-41.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.1b

Counts
73 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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))
2.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
15.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- 1.0 x) y)
3.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)))

simplify86.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0509735
12631634
25001597

prune119.0ms

Filtered
73 candidates to 130 candidates (-78.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh033
Picked011
Done000
Total1304134

Merged error: 0.1b

Counts
134 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
5.9b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite35.0ms

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

series68.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- 1.0 x) y)
15.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
37.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
12.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify100.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
05671027
13078900
25001900

prune143.0ms

Filtered
82 candidates to 117 candidates (-42.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1161117
Fresh112
Picked011
Done011
Total1174121

Merged error: 0.1b

Counts
121 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
5.4b
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
12×times-frac
11×add-cube-cbrt *-un-lft-identity
10×associate-*r*
associate-/r*
pow1 cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
difference-of-squares
associate-*l/ associate-/l/
associate-*l* div-inv
frac-2neg clear-num associate-/l*
sub-neg diff-log associate-*r/ pow-prod-down *-commutative unswap-sqr
Counts
4 → 96
Calls
4 calls:
11.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
3.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
9.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
13.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
12.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
13.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
04361007
12320858
25002858

prune175.0ms

Filtered
83 candidates to 108 candidates (-30.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1044108
Fresh011
Picked101
Done112
Total1066112

Merged error: 0.0b

Counts
112 → 6

regimes232.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 21.5b

bsearch45.0ms

Steps
ItersRangePoint
9
118777.94693781857
2039005953167.6309
107573633.8387101
10
-27813148094.658375
-0.0010674682702915101
-98382367.30542023

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04433
14833
25533
35933
45933

end0.0ms

sample754.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 1.5625%

Guaranteed chance to sample good point: 98.084077%

Results
203.0ms6064×body80valid
99.0ms784×body640valid
51.0ms346×body1280valid
50.0ms536×body320valid
16.0ms270×body160valid

Profiling

Loading profile data...