Details

Time bar (total: 3.1s)

sample13.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

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: 0.0b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
35×times-frac
30×add-sqr-sqrt
22×add-cube-cbrt
11×distribute-lft-out
associate-/r*
add-exp-log add-cbrt-cube
associate-/l* distribute-lft-out--
add-log-exp
associate-/r/ difference-of-squares
pow1
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
+-commutative flip3-- frac-add sum-log flip--
Counts
3 → 87
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
25.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))

series189.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
30.0ms
(/ 1.0 (- x 1.0))
123.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0379534
11365507
25001502

prune149.0ms

Filtered
96 candidates to 70 candidates (72.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New93396
Fresh000
Picked101
Done000
Total94397

Merged error: 0b

Counts
97 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
0.8b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
14.6b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
37×times-frac
36×add-sqr-sqrt
31×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube
associate-/r*
difference-of-squares
pow1 flip3-+ associate-/r/ flip-+ associate-/l* add-log-exp
frac-add distribute-lft-out
frac-times associate-*r/ associate-*r*
cbrt-undiv div-exp div-inv
distribute-rgt-in associate-+l+ flip3-- frac-2neg distribute-lft-in associate-*l/ prod-exp clear-num flip-- cbrt-unprod unswap-sqr
+-commutative pow-prod-down sum-log *-commutative
Counts
4 → 128
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
14.0ms
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
11.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

series304.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ x (+ x 1.0))
168.0ms
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
52.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
49.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07761139
139351063
250021061

prune233.0ms

Filtered
140 candidates to 112 candidates (80.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done000
Total1403143

Merged error: 0b

Counts
143 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
183×*-un-lft-identity
155×times-frac
154×add-sqr-sqrt
89×add-cube-cbrt
39×unpow-prod-down cube-prod associate-*l*
33×associate-*r*
31×distribute-lft-out--
27×add-exp-log swap-sqr add-cbrt-cube
22×difference-of-squares
18×associate-/r/
15×pow1
11×distribute-lft-out
div-inv
flip3-- flip--
cbrt-undiv div-exp
pow-unpow prod-exp cbrt-unprod unswap-sqr
frac-times associate-*r/ pow-exp add-log-exp rem-cube-cbrt
flip3-+ flip-+
cube-div distribute-rgt-in cube-mult pow-to-exp sub-neg pow-pow distribute-lft-in unpow3 pow-prod-down associate-*l/ *-commutative frac-sub sqr-pow
pow2 pow-plus pow-sqr pow-prod-up
Counts
4 → 271
Calls
4 calls:
37.0ms
(* (/ x (+ x 1.0)) (- (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))))
7.0ms
(pow (/ x (+ x 1.0)) 3)
7.0ms
(pow (/ 1.0 (- x 1.0)) 3)
19.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (/ x (+ x 1.0)) (- (/ x (+ x 1.0)) (/ 1.0 (- x 1.0))))
60.0ms
(pow (/ x (+ x 1.0)) 3)
54.0ms
(pow (/ 1.0 (- x 1.0)) 3)
39.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
283 → 283
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013192229
150011978

prune520.0ms

Filtered
283 candidates to 160 candidates (56.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2830283
Fresh011
Picked011
Done011
Total2833286

Merged error: 0b

Counts
286 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(+ (log (exp (/ 1.0 (- x 1.0)))) (/ x (+ x 1.0)))
0.0b
(exp (/ 1.0 (- x 1.0)))
6.3b
(log (exp (/ 1.0 (- x 1.0))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
54×add-sqr-sqrt
45×times-frac
42×exp-prod
34×add-cube-cbrt
23×log-pow
10×distribute-lft-out-- difference-of-squares
pow1 add-exp-log log-prod associate-/r/ add-cbrt-cube add-log-exp
associate-/r*
associate-+l+ flip3-- flip-- div-inv associate-/l*
distribute-lft-out
cbrt-undiv +-commutative frac-2neg flip3-+ div-exp rem-log-exp clear-num sum-log flip-+ rem-exp-log
Counts
4 → 115
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
30.0ms
(+ (log (exp (/ 1.0 (- x 1.0)))) (/ x (+ x 1.0)))
6.0ms
(exp (/ 1.0 (- x 1.0)))
7.0ms
(log (exp (/ 1.0 (- x 1.0))))

series232.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (- x 1.0))
123.0ms
(+ (log (exp (/ 1.0 (- x 1.0)))) (/ x (+ x 1.0)))
47.0ms
(exp (/ 1.0 (- x 1.0)))
30.0ms
(log (exp (/ 1.0 (- x 1.0))))

simplify182.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0368712
11121660
24761647
35002647

prune248.0ms

Filtered
127 candidates to 100 candidates (78.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh000
Picked011
Done022
Total1273130

Merged error: 0b

Counts
130 → 3

regimes14.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample312.0ms

Algorithm
intervals
Results
220.0ms8000×body80valid

Profiling

Loading profile data...