Details

Time bar (total: 2.5s)

sample24.0ms

Algorithm
intervals
Results
6.0ms184×body80valid
4.0ms30×body640valid
2.0ms16×body1280valid
2.0ms20×body320valid
0.0msbody160valid

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
0508011

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.3b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x 1.0) (+ 1.0 y))
0.1b
(* y (/ (- x 1.0) (+ 1.0 y)))
5.1b
(+ 1.0 (* y (/ (- x 1.0) (+ 1.0 y))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
48×add-sqr-sqrt
41×times-frac
26×associate-*r*
25×add-cube-cbrt
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
associate-/r* associate-/r/
flip3-+ associate-*l* flip-+
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative flip--
Counts
3 → 102
Calls
3 calls:
8.0ms
(/ (- x 1.0) (+ 1.0 y))
14.0ms
(* y (/ (- x 1.0) (+ 1.0 y)))
3.0ms
(+ 1.0 (* y (/ (- x 1.0) (+ 1.0 y))))

series26.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
053411270

prune192.0ms

Filtered
76 candidates to 111 candidates (-46.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10110111
Fresh101
Picked101
Done000
Total10310113

Merged error: 8.4b

Counts
113 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod *-un-lft-identity
22×add-sqr-sqrt
16×cbrt-div
14×add-cube-cbrt
11×pow1
flip3-+ swap-sqr flip-+
pow1/3 distribute-lft-out
associate-*r* associate-*l*
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
+-commutative pow2 pow-plus prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 92
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 y))
3.0ms
(cbrt (+ 1.0 y))
11.0ms
(* (cbrt (+ 1.0 y)) (cbrt (+ 1.0 y)))
4.0ms
(+ 1.0 (* y (/ (/ (- x 1.0) (* (cbrt (+ 1.0 y)) (cbrt (+ 1.0 y)))) (cbrt (+ 1.0 y)))))

series36.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049161137
149161137

prune216.0ms

Filtered
68 candidates to 104 candidates (-52.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1022104
Fresh279
Picked101
Done000
Total1059114

Merged error: 8.3b

Counts
114 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ (- x 1.0) (+ 1.0 y)))
0.5b
(cbrt (/ (- x 1.0) (+ 1.0 y)))
0.5b
(cbrt (/ (- x 1.0) (+ 1.0 y)))
12.8b
(+ 1.0 (* (* y (* (cbrt (/ (- x 1.0) (+ 1.0 y))) (cbrt (/ (- x 1.0) (+ 1.0 y))))) (cbrt (/ (- x 1.0) (+ 1.0 y)))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity
78×cbrt-prod
60×times-frac
58×add-sqr-sqrt
34×add-cube-cbrt
15×distribute-lft-out
12×distribute-lft-out-- difference-of-squares
associate-/r/ add-log-exp
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
cbrt-div pow1/3 div-inv
+-commutative sum-log
Counts
4 → 116
Calls
4 calls:
7.0ms
(cbrt (/ (- x 1.0) (+ 1.0 y)))
8.0ms
(cbrt (/ (- x 1.0) (+ 1.0 y)))
9.0ms
(cbrt (/ (- x 1.0) (+ 1.0 y)))
3.0ms
(+ 1.0 (* (* y (* (cbrt (/ (- x 1.0) (+ 1.0 y))) (cbrt (/ (- x 1.0) (+ 1.0 y))))) (cbrt (/ (- x 1.0) (+ 1.0 y)))))

series66.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
057722034

prune345.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1262128
Fresh088
Picked101
Done000
Total12710137

Merged error: 8.3b

Counts
137 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (cbrt (+ 1.0 y)))
0.3b
(cbrt (cbrt (+ 1.0 y)))
0.6b
(pow (cbrt (cbrt (+ 1.0 y))) 4)
14.5b
(+ 1.0 (* y (/ (/ (- x 1.0) (* (pow (cbrt (cbrt (+ 1.0 y))) 4) (* (cbrt (cbrt (+ 1.0 y))) (cbrt (cbrt (+ 1.0 y)))))) (cbrt (+ 1.0 y)))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-prod
18×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt
10×unpow-prod-down
cbrt-div
add-log-exp
pow1 add-exp-log
add-cbrt-cube
pow-unpow flip3-+ pow1/3 flip-+ distribute-lft-out
pow-pow
+-commutative pow-to-exp pow-exp sum-log sqr-pow
Counts
4 → 70
Calls
4 calls:
4.0ms
(cbrt (cbrt (+ 1.0 y)))
4.0ms
(cbrt (cbrt (+ 1.0 y)))
7.0ms
(pow (cbrt (cbrt (+ 1.0 y))) 4)
4.0ms
(+ 1.0 (* y (/ (/ (- x 1.0) (* (pow (cbrt (cbrt (+ 1.0 y))) 4) (* (cbrt (cbrt (+ 1.0 y))) (cbrt (cbrt (+ 1.0 y)))))) (cbrt (+ 1.0 y)))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(cbrt (cbrt (+ 1.0 y)))
7.0ms
(cbrt (cbrt (+ 1.0 y)))
14.0ms
(pow (cbrt (cbrt (+ 1.0 y))) 4)
14.0ms
(+ 1.0 (* y (/ (/ (- x 1.0) (* (pow (cbrt (cbrt (+ 1.0 y))) 4) (* (cbrt (cbrt (+ 1.0 y))) (cbrt (cbrt (+ 1.0 y)))))) (cbrt (+ 1.0 y)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05370963

prune232.0ms

Filtered
60 candidates to 82 candidates (-36.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh099
Picked011
Done000
Total821092

Merged error: 8.3b

Counts
92 → 10

regimes167.0ms

Accuracy

96.3% (0.3b remaining)

Error of 7.7b against oracle of 7.4b and baseline of 15.1b

bsearch37.0ms

Steps
ItersRangePoint
8
3.2546548068664846e+34
1.8171784245322648e+37
9.605022045704014e+34
8
-1.446720947063474e+35
-5.322052552197638e+32
-2.510914301605207e+33

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03240
13240

end0.0ms

sample652.0ms

Algorithm
intervals
Results
209.0ms6095×body80valid
84.0ms709×body640valid
58.0ms391×body1280valid
48.0ms499×body320valid
19.0ms306×body160valid

Profiling

Loading profile data...