Details

Time bar (total: 4.9s)

sample18.0ms

Algorithm
intervals
Results
5.0ms63×body640valid
3.0ms137×body80valid
3.0ms37×body320valid
1.0ms19×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.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))
23.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series87.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08736795
126454746
250013686

prune202.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.4b

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.7b
(- x (+ x 1.0))

rewrite29.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))
6.0ms
(- x (+ x 1.0))

series90.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0402611
12289439
25001426

prune120.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 1.0)))
0.1b
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
959×times-frac
669×*-un-lft-identity
509×add-sqr-sqrt
381×add-cube-cbrt
86×associate-/l*
80×distribute-lft-out
64×distribute-lft-out-- difference-of-squares
37×associate-/r/
29×associate-/r*
22×div-inv
16×add-exp-log flip3-- add-cbrt-cube flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 478
Calls
2 calls:
12.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
29.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series69.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
015965690
150025510

prune764.0ms

Filtered
484 candidates to 321 candidates (66.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4813484
Fresh112
Picked011
Done000
Total4825487

Merged error: 0.0b

Counts
487 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
0.3b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
0.3b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
0.3b
(* (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))) (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))))

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
1254×times-frac
1135×*-un-lft-identity
737×cbrt-prod
723×add-sqr-sqrt
475×add-cube-cbrt
159×distribute-lft-out
152×swap-sqr
132×distribute-lft-out--
96×difference-of-squares
86×associate-*r* associate-*l*
49×associate-/r/
28×div-inv
21×flip3-- flip--
16×unswap-sqr
11×pow1
pow1/3
cbrt-div
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 645
Calls
4 calls:
13.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
12.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
15.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
123.0ms
(* (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))) (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))))

series682.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
162.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
159.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
194.0ms
(* (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))) (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))))

simplify225.0ms

Algorithm
egg-herbie
Counts
657 → 657
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
0111511051
1488210939
2500110939

prune1.4s

Filtered
657 candidates to 404 candidates (61.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New6570657
Fresh033
Picked011
Done011
Total6575662

Merged error: 0.0b

Counts
662 → 5

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample491.0ms

Algorithm
intervals
Results
174.0ms1920×body640valid
105.0ms4129×body80valid
90.0ms1288×body320valid
30.0ms666×body160valid