Details

Time bar (total: 2.9s)

sample28.0ms

Algorithm
intervals
Results
4.0ms256×body80valid
4.0ms256×pre80false
4.0ms256×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.3b

localize4.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
7.5b
(- (/ x0 (- 1.0 x1)) x0)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
16×times-frac
12×add-cube-cbrt
difference-of-squares
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (/ x0 (- 1.0 x1)) x0)

series77.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ x0 (- 1.0 x1))
44.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify91.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune82.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.3b

localize9.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
6.7b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
45×times-frac
34×add-cube-cbrt
15×associate-/r*
13×difference-of-squares
12×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
sub-neg diff-log
Counts
4 → 124
Calls
4 calls:
6.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
15.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series174.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x0 (- 1.0 x1))
36.0ms
(/ x0 (- 1.0 x1))
33.0ms
(/ x0 (- 1.0 x1))
72.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify158.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0288828
11116773
24811759
35001759

prune237.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (/ x0 (- 1.0 x1)) x0)
1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
6.7b
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
10×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
+-commutative sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 98
Calls
4 calls:
11.0ms
(+ (/ x0 (- 1.0 x1)) x0)
6.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

series177.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (/ x0 (- 1.0 x1)) x0)
33.0ms
(/ x0 (- 1.0 x1))
35.0ms
(/ x0 (- 1.0 x1))
72.0ms
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify43.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0360705
11440666
25001648

prune203.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.7b

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
1.0b
(pow (* x0 x0) 3)
1.3b
(pow (/ x0 (- 1.0 x1)) 3)
6.1b
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
56×*-un-lft-identity
45×times-frac
34×add-cube-cbrt
24×unpow-prod-down cube-prod
18×difference-of-squares
13×pow1
12×add-exp-log add-cbrt-cube
11×distribute-lft-out--
sqr-pow
pow-pow
pow-unpow associate-/r/ add-log-exp
associate-/r*
flip3-- pow-exp flip-- rem-cube-cbrt
div-inv associate-/l*
cbrt-undiv cube-mult pow-to-exp unpow3 div-exp
difference-cubes cube-div pow2 sub-neg frac-2neg pow-plus diff-log pow-prod-down prod-exp clear-num pow-sqr pow-prod-up cbrt-unprod
Counts
4 → 147
Calls
4 calls:
6.0ms
(/ x0 (- 1.0 x1))
6.0ms
(pow (* x0 x0) 3)
8.0ms
(pow (/ x0 (- 1.0 x1)) 3)
9.0ms
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

series234.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ x0 (- 1.0 x1))
38.0ms
(pow (* x0 x0) 3)
56.0ms
(pow (/ x0 (- 1.0 x1)) 3)
105.0ms
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

simplify105.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07021128
134401027
250011016

prune441.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.3b

regimes55.0ms

Accuracy

0% (0.4b remaining)

Error of 5.7b against oracle of 5.3b and baseline of 5.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04650
14650

end0.0ms

sample608.0ms

Algorithm
intervals
Results
131.0ms8000×body80valid
122.0ms7973×pre80false
116.0ms8000×pre80true