Details

Time bar (total: 1.9s)

sample18.0ms

Algorithm
intervals
Results
4.0ms51×body640valid
4.0ms146×body80valid
2.0ms38×body320valid
1.0ms21×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune2.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: 14.5b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
3.5b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
362×*-un-lft-identity
358×times-frac
265×add-sqr-sqrt
253×add-cube-cbrt
234×prod-diff
49×distribute-lft-out
35×div-inv
30×associate-/r/
18×fma-neg
15×flip3-+ flip-+
distribute-lft-out--
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num frac-sub flip--
Counts
2 → 314
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series86.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ 1.0 (+ x 1.0))
61.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify115.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08736795
126454746
250013686

prune207.0ms

Filtered
320 candidates to 82 candidates (25.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3173320
Fresh000
Picked101
Done000
Total3183321

Merged error: 0.2b

Counts
321 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
2.4b
(- x (+ x 1.0))

rewrite32.0ms

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

series90.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ x 1.0) x)
35.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
7.0ms
(- x (+ x 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0402611
12289439
25001426

prune118.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh202
Picked101
Done000
Total93396

Merged error: 0.0b

Counts
96 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
0.1b
(* (/ 1.0 (+ x 1.0)) (/ (- 0 1.0) x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
46×add-sqr-sqrt
43×times-frac
28×add-cube-cbrt
19×associate-*r*
18×associate-*l*
16×add-exp-log add-cbrt-cube
distribute-lft-out
cbrt-undiv div-exp
pow1 prod-exp associate-/r* associate-/r/ cbrt-unprod unswap-sqr
div-inv associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
frac-times frac-2neg sub0-neg associate-*r/ distribute-frac-neg pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 99
Calls
2 calls:
6.0ms
(/ 1.0 (+ x 1.0))
17.0ms
(* (/ 1.0 (+ x 1.0)) (/ (- 0 1.0) x))

series66.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ 1.0 (+ x 1.0))
36.0ms
(* (/ 1.0 (+ x 1.0)) (/ (- 0 1.0) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0503681
12483611
25001609

prune160.0ms

Filtered
105 candidates to 76 candidates (72.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh022
Picked011
Done000
Total1035108

Merged error: 0.0b

Counts
108 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.2b
(/ (* 1.0 1.0) (- (* (+ x 1.0) x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt times-frac associate-/r*
pow1 associate-*l* associate-*l/
associate-*r*
cbrt-undiv distribute-lft-neg-in expm1-log1p-u neg-mul-1 distribute-rgt-neg-in flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ log1p-expm1-u distribute-neg-frac add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
6.0ms
(* (+ x 1.0) x)
6.0ms
(/ (* 1.0 1.0) (- (* (+ x 1.0) x)))

series84.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(* (+ x 1.0) x)
42.0ms
(/ (* 1.0 1.0) (- (* (+ x 1.0) x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0291326
11577286
25001285

prune84.0ms

Filtered
60 candidates to 45 candidates (75.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh123
Picked011
Done011
Total60565

Merged error: 0.0b

Counts
65 → 5

regimes15.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1135
2175
3205
4215
5215

end0.0ms

sample484.0ms

Algorithm
intervals
Results
178.0ms1950×body640valid
100.0ms4214×body80valid
84.0ms1218×body320valid
31.0ms620×body160valid